https://sourceware.org/bugzilla/show_bug.cgi?id=20636
--- Comment #1 from Szabolcs Nagy <nszabolcs at gmail dot com> ---
during bfd_elf_final_link:
bfd/elflink.c:11409 bfd_elf_final_link
first sets reldata->count to 2
bfd/elf32-arm.c:19031 elf32_arm_count_output_relocs
counts 3 output relocs
bfd/elflink.c:2468 _bfd_elf_link_size_reloc_section
allocates 3 entry for reldata->hdr.contents
allocates 2 entry for reldata->hash
bfd/elf32-arm.c:19336 emit_relocs
sets reldata->count to 3
bfd/elflink.c:8406 elf_link_adjust_relocs
assumes reldata->count (3) is the size of reldata->hashes
so either the hash allocation is incorrect in
_bfd_elf_link_size_reloc_section or the relocation
counting is wrong.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-binutils