[Bug libelf/26734] ELF saving fails for an AARCH64 binary built with -mbranch-protection=standard

mliska at suse dot cz sourceware-bugzilla@sourceware.org
Wed Oct 14 08:41:09 GMT 2020


--- Comment #2 from Martin Liska <mliska at suse dot cz> ---
And there's the problematic .plt entry:

$ objdump -D -j .plt /tmp/authvar

/tmp/authvar:     file format elf64-littleaarch64

Disassembly of section .plt:

0000000000402b00 <.plt>:
  402b00:       d503245f        bti     c
  402b04:       a9bf7bf0        stp     x16, x30, [sp, #-16]!
  402b08:       b00000f0        adrp    x16, 41f000 <__FRAME_END__+0x174cc>
  402b0c:       f9462611        ldr     x17, [x16, #3144]
  402b10:       91312210        add     x16, x16, #0xc48
  402b14:       d61f0220        br      x17
  402b18:       d503201f        nop
  402b1c:       d503201f        nop

0000000000402b20 <memcpy@plt>:
  402b20:       d503245f        bti     c
  402b24:       b00000f0        adrp    x16, 41f000 <__FRAME_END__+0x174cc>
  402b28:       f9462a11        ldr     x17, [x16, #3152]
  402b2c:       91314210        add     x16, x16, #0xc50
  402b30:       d61f0220        br      x17
  402b34:       d503201f        nop

The first .plt is longer (size == 0x20).

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Elfutils-devel mailing list