diff options
author | Alan Modra <amodra@bigpond.net.au> | 2013-07-03 00:45:50 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2013-07-03 00:45:50 +0000 |
commit | 4034d2b4e4418477a769d78fd24a5ff05d9a2f17 (patch) | |
tree | a6655365383055aac107a6d0df0fb9217ba64223 /bfd/elf64-ppc.c | |
parent | 0ee0922789e2f5b7fea7e599e0e005560fc68159 (diff) | |
download | binutils-redhat-4034d2b4e4418477a769d78fd24a5ff05d9a2f17.tar.gz |
* elf64-ppc.c (ppc64_elf_func_desc_adjust): Hide ".TOC.".
Diffstat (limited to 'bfd/elf64-ppc.c')
-rw-r--r-- | bfd/elf64-ppc.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/bfd/elf64-ppc.c b/bfd/elf64-ppc.c index 7829520a7f..5a4bcfd566 100644 --- a/bfd/elf64-ppc.c +++ b/bfd/elf64-ppc.c @@ -6550,6 +6550,13 @@ ppc64_elf_func_desc_adjust (bfd *obfd ATTRIBUTE_UNUSED, if (htab == NULL) return FALSE; + if (htab->elf.hgot != NULL) + { + htab->elf.hgot->root.type = bfd_link_hash_new; + htab->elf.hgot->type = STT_OBJECT; + _bfd_elf_link_hash_hide_symbol (info, htab->elf.hgot, TRUE); + } + if (htab->sfpr == NULL) /* We don't have any relocs. */ return TRUE; |