diff options
author | Alan Modra <amodra@gmail.com> | 2005-07-29 02:46:04 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-07-29 02:46:04 +0000 |
commit | 8a69675106de19439ba277ce987a9535e5a6fce4 (patch) | |
tree | 9befa7bd097c8015aef9be13d009c5844b8a31a8 /bfd/elf32-hppa.c | |
parent | 8655b342bf234ed946924bccd87288163022996b (diff) | |
download | gdb-8a69675106de19439ba277ce987a9535e5a6fce4.zip gdb-8a69675106de19439ba277ce987a9535e5a6fce4.tar.gz gdb-8a69675106de19439ba277ce987a9535e5a6fce4.tar.bz2 |
* 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.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r-- | bfd/elf32-hppa.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c index 9318e6a..e3c45ec 100644 --- a/bfd/elf32-hppa.c +++ b/bfd/elf32-hppa.c @@ -4251,6 +4251,7 @@ elf32_hppa_elf_get_symbol_type (Elf_Internal_Sym *elf_sym, int type) #define elf_backend_post_process_headers elf32_hppa_post_process_headers #define elf_backend_get_symbol_type elf32_hppa_elf_get_symbol_type #define elf_backend_reloc_type_class elf32_hppa_reloc_type_class +#define elf_backend_action_discarded elf_hppa_action_discarded #define elf_backend_can_gc_sections 1 #define elf_backend_can_refcount 1 |