* elf-bfd.h (struct elf_backend_data): Add action_discarded.
authorAlan Modra <amodra@gmail.com>
Fri, 29 Jul 2005 02:46:04 +0000 (02:46 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 29 Jul 2005 02:46:04 +0000 (02:46 +0000)
commit8a69675106de19439ba277ce987a9535e5a6fce4
tree9befa7bd097c8015aef9be13d009c5844b8a31a8
parent8655b342bf234ed946924bccd87288163022996b
* elf-bfd.h (struct elf_backend_data): Add action_discarded.
(enum action_discarded): Move from..
* elflink.c (enum action_discarded): ..here.
(_bfd_elf_default_action_discarded): Rename from elf_action_discarded.
Remove target specific section checks.
(elf_link_input_bfd): Adjust.
* elfxx-target.h (elf_backend_action_discarded): Define.
(elfNN_bed): Init new field.
* bfd-in.h (_bfd_elf_default_action_discarded): Declare.
* bfd-in2.h: Regenerate.
* elf-hppa.h (elf_hppa_action_discarded): New function.
* elf32-hppa.c (elf_backend_action_discarded): Define.
* elf64-hppa.c (elf_backend_action_discarded): Define.
* elf32-ppc.c (ppc_elf_action_discarded): New function.
(elf_backend_action_discarded): Define.
bfd/ChangeLog
bfd/bfd-in.h
bfd/bfd-in2.h
bfd/elf-bfd.h
bfd/elf-hppa.h
bfd/elf32-hppa.c
bfd/elf32-ppc.c
bfd/elf64-hppa.c
bfd/elflink.c
bfd/elfxx-target.h