* elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_SYMBOL.
authorHans-Peter Nilsson <hp@axis.com>
Tue, 2 Nov 2004 05:44:34 +0000 (05:44 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 2 Nov 2004 05:44:34 +0000 (05:44 +0000)
bfd/ChangeLog
bfd/elflink.c

index b680829d910a526f5d80b331a42d25ae882205ba..76c7e68c9febf5d9e9732c88498555a3cdb548d0 100644 (file)
@@ -1,3 +1,7 @@
+2004-11-02  Hans-Peter Nilsson  <hp@axis.com>
+
+       * elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_SYMBOL.
+
 2004-10-28  H.J. Lu  <hongjiu.lu@intel.com>
 
        * elfxx-ia64.c (elfNN_ia64_relocate_section): Handle weak
index 3fc2ddd16891dba7a9c61caf293f3c6f37249ae3..e5c9d9f13af96f0221fa45592ab32316a917fc51 100644 (file)
@@ -88,6 +88,7 @@ _bfd_elf_create_got_section (bfd *abfd, struct bfd_link_info *info)
       h = (struct elf_link_hash_entry *) bh;
       h->def_regular = 1;
       h->type = STT_OBJECT;
+      h->other = STV_HIDDEN;
 
       if (! info->executable
          && ! bfd_elf_link_record_dynamic_symbol (info, h))