diff options
author | Alan Modra <amodra@gmail.com> | 2012-05-17 02:43:36 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2012-05-17 02:43:36 +0000 |
commit | ab6dce23364e9c7a29d06da1bb26a5923fdb84f9 (patch) | |
tree | 4b42161ebb0694a186041d7078a96b07ed552808 /bfd/elf32-ppc.c | |
parent | e1dad58d73dcf0ab1cabb92b2e2a79106486b1b0 (diff) | |
download | fsf-binutils-gdb-ab6dce23364e9c7a29d06da1bb26a5923fdb84f9.zip fsf-binutils-gdb-ab6dce23364e9c7a29d06da1bb26a5923fdb84f9.tar.gz fsf-binutils-gdb-ab6dce23364e9c7a29d06da1bb26a5923fdb84f9.tar.bz2 |
bfd/
* elf32-ppc.c (ppc_elf_finish_dynamic_symbol): Don't make _DYNAMIC,
_GLOBAL_OFFSET_TABLE_ or _PROCEDURE_LINKAGE_TABLE_ absolute.
* elf64-ppc.c (ppc64_elf_finish_dynamic_symbol): Don't make _DYNAMIC
absolute.
ld/testsuite/
* ld-powerpc/tlsso.r: Update for dynamic sym changes.
* ld-powerpc/tlsso32.d: Likewise.
* ld-powerpc/tlsso32.r: Likewise.
* ld-powerpc/tlstocso.r: Likewise.
Diffstat (limited to 'bfd/elf32-ppc.c')
-rw-r--r-- | bfd/elf32-ppc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/bfd/elf32-ppc.c b/bfd/elf32-ppc.c index 0835a91..63d77d2 100644 --- a/bfd/elf32-ppc.c +++ b/bfd/elf32-ppc.c @@ -9139,14 +9139,6 @@ ppc_elf_finish_dynamic_symbol (bfd *output_bfd, fprintf (stderr, "\n"); #endif - /* Mark some specially defined symbols as absolute. */ - if (strcmp (h->root.root.string, "_DYNAMIC") == 0 - || (!htab->is_vxworks - && (h == htab->elf.hgot - || strcmp (h->root.root.string, - "_PROCEDURE_LINKAGE_TABLE_") == 0))) - sym->st_shndx = SHN_ABS; - return TRUE; } |