https://sourceware.org/bugzilla/show_bug.cgi?id=33593
Bug ID: 33593
Summary: Misplaced synthetic plt symbols in aarch64 disassembly
of PIE binaries
Product: binutils
Version: 2.45
Status: NEW
Severity: normal
Priority: P2
Component: binutils
Assignee: unassigned at sourceware dot org
Reporter: [email protected]
Target Milestone: ---
Target: aarch64-*-*
Created attachment 16447
--> https://sourceware.org/bugzilla/attachment.cgi?id=16447&action=edit
Testcase
A PIE binary using 24 byte PLT entries is disassembled with misplaced synthetic
PLT symbols:
$ objdump -d test | head -n 50
test: file format elf64-littleaarch64
Disassembly of section .init:
0000000000001480 <.init>:
1480: d503233f paciasp
1484: a9bf7bfd stp x29, x30, [sp, #-16]!
1488: 910003fd mov x29, sp
148c: 940002da bl 1ff4 <error_at_line@@Base+0x388>
1490: a8c17bfd ldp x29, x30, [sp], #16
1494: d50323bf autiasp
1498: d65f03c0 ret
Disassembly of section .plt:
00000000000014a0 <memcpy@plt-0x20>:
14a0: d503245f bti c
14a4: a9bf7bf0 stp x16, x30, [sp, #-16]!
14a8: d00000f0 adrp x16, 1f000 <error_at_line@@Base+0x1d394>
14ac: f9471e11 ldr x17, [x16, #3640]
14b0: 9138e210 add x16, x16, #0xe38
14b4: d61f0220 br x17
14b8: d503201f nop
14bc: d503201f nop
00000000000014c0 <memcpy@plt>:
14c0: d503245f bti c
14c4: d00000f0 adrp x16, 1f000 <error_at_line@@Base+0x1d394>
14c8: f9472211 ldr x17, [x16, #3648]
14cc: 91390210 add x16, x16, #0xe40
00000000000014d0 <_exit@plt>:
14d0: d61f0220 br x17
14d4: d503201f nop
14d8: d503245f bti c
14dc: d00000f0 adrp x16, 1f000 <error_at_line@@Base+0x1d394>
00000000000014e0 <strlen@plt>:
14e0: f9472611 ldr x17, [x16, #3656]
14e4: 91392210 add x16, x16, #0xe48
14e8: d61f0220 br x17
14ec: d503201f nop
00000000000014f0 <exit@plt>:
14f0: d503245f bti c
14f4: d00000f0 adrp x16, 1f000 <error_at_line@@Base+0x1d394>
14f8: f9472a11 ldr x17, [x16, #3664]
14fc: 91394210 add x16, x16, #0xe50
--
You are receiving this mail because:
You are on the CC list for the bug.