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

2020-10-14 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26734 Bug ID: 26734 Summary: ELF saving fails for an AARCH64 binary built with -mbranch-protection=standard Product: elfutils Version: unspecified Status: UNCONFIRMED

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

2020-10-14 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26734 --- Comment #1 from Martin Liska --- Fails here: ./libelf/elf32_updatenull.c: if (unlikely (sh_size % shdr->sh_entsize != 0)) { __libelf_seterrno (ELF_E_INVALID_SHENTSIZE);

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

2020-10-14 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26734 --- Comment #2 from Martin Liska --- And there's the problematic .plt entry: $ objdump -D -j .plt /tmp/authvar /tmp/authvar: file format elf64-littleaarch64 Disassembly of section .plt: 00402b00 <.plt>: 402b00: d503245f

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

2020-10-14 Thread mliska at suse dot cz via Elfutils-devel
https://sourceware.org/bugzilla/show_bug.cgi?id=26734 Martin Liska changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---