OSDN Git Service

bfd/
authorAlan Modra <amodra@bigpond.net.au>
Fri, 18 Sep 2009 03:30:34 +0000 (03:30 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Fri, 18 Sep 2009 03:30:34 +0000 (03:30 +0000)
commitda2430250a6e552c6019abff0f432a12730e5270
tree0fbc6255d2513b0cb1d2c765f66d594f177d0d50
parent1ff1d615adbcc4068d93bb571119a07f820fd790
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