* elf64-ppc.c (ppc64_elf_func_desc_adjust): Hide ".TOC.".
authorAlan Modra <amodra@gmail.com>
Wed, 3 Jul 2013 00:45:50 +0000 (00:45 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 3 Jul 2013 00:45:50 +0000 (00:45 +0000)
bfd/ChangeLog
bfd/elf64-ppc.c

index cf111ae1a30eb2a6f033a5558aab42ef840dba6b..71d6148be7216f3827d32190052603a1f295bcc9 100644 (file)
@@ -1,3 +1,7 @@
+2013-07-03  Alan Modra  <amodra@gmail.com>
+
+       * elf64-ppc.c (ppc64_elf_func_desc_adjust): Hide ".TOC.".
+
 2013-07-02  Tristan Gingold  <gingold@adacore.com>
 
        * coff-rs6000.c (xcoff_find_nearest_line_discriminator): Add missing
@@ -9,7 +13,7 @@
        (_bfd_vms_find_nearest_line_discriminator): New function.
 
 2013-07-02  Tristan Gingold  <gingold@adacore.com>
-       
+
        * coff-rs6000.c (xcoff_create_csect_from_smclas): Handle more smclas.
 
 2013-07-02  Tristan Gingold  <gingold@adacore.com>
index 7829520a7f2667704c4cf550ac9e84868f82026d..5a4bcfd566daafa1ea7a9087492324f219f3ffde 100644 (file)
@@ -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;
This page took 0.03178 seconds and 4 git commands to generate.