bfd/
commite20d9d95d9d79df3761e4f0d160bc5b8953db5e4
authorAlan Modra <amodra@bigpond.net.au>
Tue, 10 Aug 2004 11:23:03 +0000 (10 11:23 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 10 Aug 2004 11:23:03 +0000 (10 11:23 +0000)
tree278360e3fa0dc1f5a0c7ca57564baef6059bc9fd
parenta8bfd7ca0b283f96aa9554735056702a334b01ec
bfd/
* elf64-ppc.c (struct ppc_link_hash_entry): Add was_undefined.
(struct ppc_link_hash_table): Remove no_multi_toc, multi_toc_needed.
Make emit_stub_syms, stub_error and has_14bit_branch bit-fields.
Add twiddled_syms.
(link_hash_newfunc): Init was_undefined.
(add_symbol_adjust): Don't set undefined dot symbols to defweak;
Use undefweak instead.
(ppc64_elf_check_directives): Fix undefs chain.
(ppc64_elf_next_toc_section): Remove no_multi_toc and multi_toc_needed
references.
(ppc64_elf_size_stubs): Adjust for add_symbol_adjust change.
(undo_symbol_twiddle, ppc64_elf_restore_symbols): New functions.
* elf64-ppc.h (ppc64_elf_restore_symbols): Declare.
ld/
* emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call
ppc64_elf_restore_symbols.
bfd/ChangeLog
bfd/elf64-ppc.c
bfd/elf64-ppc.h
ld/ChangeLog
ld/emultempl/ppc64elf.em