diff options
author | Alan Modra <amodra@gmail.com> | 2013-08-27 01:06:43 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2013-08-27 01:06:43 +0000 |
commit | e5034e59e04c90d3a0b6c78af0cbfd3f73eb7809 (patch) | |
tree | b251a82e4ee092ebf1bf38a0cf2eb2a28ae98fe4 /bfd/elfxx-target.h | |
parent | ce4ea2bb179312d14090f190dd0d974a65d64536 (diff) | |
download | gdb-e5034e59e04c90d3a0b6c78af0cbfd3f73eb7809.zip gdb-e5034e59e04c90d3a0b6c78af0cbfd3f73eb7809.tar.gz gdb-e5034e59e04c90d3a0b6c78af0cbfd3f73eb7809.tar.bz2 |
* elf-bfd.h (struct elf_backend_data): Remove as_needed_cleanup.
Add notice_as_needed.
* elf64-ppc.c (elf_backend_as_needed_cleanup): Don't define.
(elf_backend_notice_as_needed): Define.
(ppc64_elf_as_needed_cleanup): Rename and adjust..
(ppc64_elf_notice_as_needed): ..to this.
* elflink.c (_bfd_elf_notice_as_needed): New function, extracted..
(elf_link_add_object_symbols): ..from here.
* elfxx-target.h (elf_backend_as_needed_cleanup): Don't define.
(elf_backend_notice_as_needed): Define..
(elfNN_bed): ..and use here.
Diffstat (limited to 'bfd/elfxx-target.h')
-rw-r--r-- | bfd/elfxx-target.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h index 86c9b1b..d42ce26 100644 --- a/bfd/elfxx-target.h +++ b/bfd/elfxx-target.h @@ -424,8 +424,8 @@ #ifndef elf_backend_check_directives #define elf_backend_check_directives 0 #endif -#ifndef elf_backend_as_needed_cleanup -#define elf_backend_as_needed_cleanup 0 +#ifndef elf_backend_notice_as_needed +#define elf_backend_notice_as_needed _bfd_elf_notice_as_needed #endif #ifndef elf_backend_adjust_dynamic_symbol #define elf_backend_adjust_dynamic_symbol 0 @@ -705,7 +705,7 @@ static struct elf_backend_data elfNN_bed = elf_backend_relocs_compatible, elf_backend_check_relocs, elf_backend_check_directives, - elf_backend_as_needed_cleanup, + elf_backend_notice_as_needed, elf_backend_adjust_dynamic_symbol, elf_backend_always_size_sections, elf_backend_size_dynamic_sections, |