* elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
authorAlan Modra <amodra@gmail.com>
Thu, 3 Feb 2005 14:48:53 +0000 (14:48 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 3 Feb 2005 14:48:53 +0000 (14:48 +0000)
commit908b32fcc92e7117901d65cd2ad0dac90202f1ed
tree7009c671a4d17bcefa97156b0dced8ca4268aa83
parent4ea42fb74f7eeda2968163eaa74a10139c4a04b2
* elf64-ppc.c (struct ppc_link_hash_entry): Add "fake".
(link_hash_newfunc): Clear all locals using memset.
(make_fdh): Remove flags param.  Always create fake func desc
weak.  Link the descriptor with the code entry sym.
(ppc64_elf_archive_symbol_lookup): Don't return fake syms.
(add_symbol_adjust): Adjust make_fdh call.
(func_desc_adjust): Likewise.  Twiddle any pre-existing fake
descriptor to strong undefined if code entry is strong.
bfd/ChangeLog
bfd/elf64-ppc.c