* elf-bfd.h (struct elf_backend_data): Remove as_needed_cleanup.
authorAlan Modra <amodra@gmail.com>
Tue, 27 Aug 2013 01:06:43 +0000 (01:06 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 27 Aug 2013 01:06:43 +0000 (01:06 +0000)
commite5034e59e04c90d3a0b6c78af0cbfd3f73eb7809
treeb251a82e4ee092ebf1bf38a0cf2eb2a28ae98fe4
parentce4ea2bb179312d14090f190dd0d974a65d64536
* 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.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf64-ppc.c
bfd/elflink.c
bfd/elfxx-target.h