* elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
authorJakub Jelinek <jakub@redhat.com>
Sat, 23 Dec 2006 09:57:38 +0000 (09:57 +0000)
committerJakub Jelinek <jakub@redhat.com>
Sat, 23 Dec 2006 09:57:38 +0000 (09:57 +0000)
commit97fed1c92ead4c79dd3de20c4888f28f3049ef56
tree36012cc9a714bfb63a734327cbc4be512d5dd978
parent9f996475689885295c2be6aa484dc14f753cc3ec
* elf-bfd.h (struct elf_backend_data): Add as_needed_cleanup hook.
* elfxx-target.h (elf_backend_as_needed_cleanup): Define.
(elfNN_bed): Add as_needed_cleanup hook.
* elflink.c (elf_link_add_object_symbols): Call it when reverting
hash table changes for unneeded --as-needed input.
* elf64-ppc64.c (elf_backend_as_needed_cleanup): Define.
(ppc64_elf_as_needed_cleanup): New function.
bfd/ChangeLog
bfd/elf-bfd.h
bfd/elf64-ppc.c
bfd/elflink.c
bfd/elfxx-target.h