bfd/
authorAlan Modra <amodra@gmail.com>
Fri, 18 Sep 2009 03:30:34 +0000 (03:30 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 18 Sep 2009 03:30:34 +0000 (03:30 +0000)
commitb31867b61af05a84ae1faabfd602ebe69b689cc3
tree093180d0d1d9fac2abc3eac987dd7038b2956fbe
parent20e6d0d602ee8907dd3b97bc1ffdeb9441a2314a
bfd/
* elf64-ppc.c (follow_link, elf_follow_link, ppc_follow_link): New
functions.  Use throughout.
(ppc64_elf_copy_indirect_symbol): Set direct symbol "oh" field
from indirect symbol.
(lookup_fdh): Rename from get_fdh.  Follow indirect sym links.
(add_symbol_adjust): Simplify.
(defined_code_entry, defined_func_desc): New functions.
(ppc64_elf_gc_keep): Follow indirect sym links.  Use defined_code_entry.
(ppc64_elf_gc_mark_dynamic_ref): Use defined_func_desc and
defined_code_entry to follow indirect sym links.
(ppc64_elf_gc_mark_hook, func_desc_adjust): Likewise.
(ppc_type_of_stub): Follow indirect sym links.
(toc_adjusting_stub_needed): Likewise.
(ppc_build_one_stub): Likewise.  Make undefined dot-symbols weak
rather than defining them at stub.
(ppc64_elf_relocate_section): Rewrite call test to avoid multiple
assignments in test.
ld/testsuite/
* ld-powerpc/tlsso.d: Update.
* ld-powerpc/tlsso.r: Update.
* ld-powerpc/tlstocso.d: Update.
* ld-powerpc/tlstocso.r: Update.
bfd/ChangeLog
bfd/elf64-ppc.c
ld/testsuite/ChangeLog
ld/testsuite/ld-powerpc/tlsso.d
ld/testsuite/ld-powerpc/tlsso.r
ld/testsuite/ld-powerpc/tlstocso.d
ld/testsuite/ld-powerpc/tlstocso.r