diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2016-09-28 11:50:41 +0100 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2016-09-28 11:50:41 +0100 |
commit | 9eaff8613893f063400fdae95bc382ab33685e3b (patch) | |
tree | 707a22d63ab5811257bfa8b97ab498952d1b2915 /gdb | |
parent | de7fb42b57b132ca65746ca4a9ff17c902d9cc62 (diff) | |
download | gdb-9eaff8613893f063400fdae95bc382ab33685e3b.zip gdb-9eaff8613893f063400fdae95bc382ab33685e3b.tar.gz gdb-9eaff8613893f063400fdae95bc382ab33685e3b.tar.bz2 |
Fix seg-fault in the linker introduced by the previous delta.
PR ld/20636
* elf-bfd.h (struct elf_backend_data): Delete
elf_backend_count_output_relocs callback and add
elf_backend_update_relocs.
* elf32-arm.c (elf32_arm_count_output_relocs): Deleted.
(emit_relocs): Deleted.
(elf32_arm_emit_relocs): Deleted.
(elf_backend_emit_relocs): Updated not to use the old functions.
(elf32_arm_update_relocs): New function.
(elf_backend_update_relocs): New define.
* elflink.c (bfd_elf_final_link): Add additional_reloc_count to the
relocation count. Call elf_backend_emit_relocs.
(_bfd_elf_size_reloc_section): Do not call
elf_backend_count_output_relocs.
* elfxx-target.h (elf_backend_count_output_relocs): Deleted.
(elf_backend_update_relocs): New define.
Diffstat (limited to 'gdb')
0 files changed, 0 insertions, 0 deletions