bfd/
commitb6a851ef92781b07eaf5b8177cf38ce06aaa3018
authorRichard Sandiford <rsandifo@nildram.co.uk>
Wed, 28 Mar 2007 14:39:10 +0000 (28 14:39 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Wed, 28 Mar 2007 14:39:10 +0000 (28 14:39 +0000)
treef120ed374aa33db82f2318fe73867a6e0bed8ecf
parent339c9e852d8d1603422048eeb1bbc728ff574b29
bfd/
* elfxx-sparc.h (_bfd_sparc_elf_link_hash_table): Remove append_rela.
* elfxx-sparc.c (sparc_elf_append_rela_64, sparc_elf_append_rela_32):
Merge into...
(sparc_elf_append_rela): ...this new function.
(SPARC_ELF_APPEND_RELA): Delete.
(_bfd_sparc_elf_link_hash_table_create): Don't initialize
the deleted append_rela field.
(_bfd_sparc_elf_relocate_section): Use sparc_elf_append_rela
instead of SPARC_ELF_APPEND_RELA.
(_bfd_sparc_elf_finish_dynamic_symbol): Likewise.  Use the
elf_size_info structure to find the size of a RELA entry and
the associated swap-out function.
(sparc64_finish_dyn, sparc64_finish_dyn): Merge into...
(sparc_finish_dyn): ...this new function.
(_bfd_sparc_elf_finish_dynamic_sections): Update calls accordingly.
bfd/ChangeLog
bfd/elfxx-sparc.c
bfd/elfxx-sparc.h