diff options
author | Alan Modra <amodra@gmail.com> | 2004-08-10 11:23:03 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-08-10 11:23:03 +0000 |
commit | 99877b66add640cf4034b264219d5d8f511a5f72 (patch) | |
tree | 9c3e0c3dbe70df5652538385dd20149fa3bf29c8 /ld | |
parent | 1f011ce276fd4fb33c485e25354eaa4bb96e6662 (diff) | |
download | binutils-gdb-99877b66add640cf4034b264219d5d8f511a5f72.tar.gz |
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.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/emultempl/ppc64elf.em | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 658ea4afb06..374d8ceba5b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2004-08-10 Alan Modra <amodra@bigpond.net.au> + + * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Call + ppc64_elf_restore_symbols. + 2004-08-09 Alan Modra <amodra@bigpond.net.au> * emultempl/ppc64elf.em (gld${EMULATION_NAME}_finish): Error if diff --git a/ld/emultempl/ppc64elf.em b/ld/emultempl/ppc64elf.em index ffd6a2bcf08..f2d5e6ebfbb 100644 --- a/ld/emultempl/ppc64elf.em +++ b/ld/emultempl/ppc64elf.em @@ -379,6 +379,8 @@ gld${EMULATION_NAME}_finish (void) if (msg != NULL) free (msg); } + + ppc64_elf_restore_symbols (&link_info); } |