This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] ARM: Update the hash table for relocations associated with exidx entries
- From: Nick Clifton <nickc at redhat dot com>
- To: Akihiko Odaki <akihiko dot odaki dot 4i at stu dot hosei dot ac dot jp>, binutils at sourceware dot org
- Cc: Szabolcs Nagy <szabolcs dot nagy at arm dot com>, nd at arm dot com, Andreas Schwab <schwab at suse dot de>, Paul Brook <paul at codesourcery dot com>, Yury Usishchev <y dot usishchev at samsung dot com>
- Date: Wed, 28 Sep 2016 11:54:08 +0100
- Subject: Re: [PATCH] ARM: Update the hash table for relocations associated with exidx entries
- Authentication-results: sourceware.org; auth=none
- References: <20160928040220.32166-1-akihiko.odaki.4i@stu.hosei.ac.jp>
Hi Akihiko-san,
> PR ld/20636
> bfd * 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.
Thanks - patch approved and applied.
Cheers
Nick