bfd/
commit39822dfd1af8fe3b53addfb8ffcdfee087f8150d
authorRichard Sandiford <rsandifo@nildram.co.uk>
Thu, 7 Aug 2008 20:04:32 +0000 (7 20:04 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Thu, 7 Aug 2008 20:04:32 +0000 (7 20:04 +0000)
tree1599475c2fac5e8efbeb4de45823ab547ec503cc
parentee450e60a39ba55908a19d0890cbf3ea8569f058
bfd/
* elf-bfd.h (elf_backend_data): Add a "rela_plts_and_copies_p" field.
* elfxx-target.h (elf_backend_rela_plts_and_copies_p): New macro.
(elfNN_bed): Use it.
* elf.c (_bfd_elf_get_synthetic_symtab): Use rela_plts_and_copies_p
instead of default_use_rela_p to choose between ".rel.plt" and
".rela.plt".
* elflink.c (_bfd_elf_create_dynamic_sections): Use
rela_plts_and_copies_p instead of default_use_rela_p to choose
between ".rel.plt" and ".rela.plt", and between ".rel.bss" and
".rela.bss".
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf.c
bfd/elflink.c
bfd/elfxx-target.h