* elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_SYMBOL.

This commit is contained in:
Hans-Peter Nilsson 2004-11-02 05:44:34 +00:00
parent ca7d30d9ca
commit e6857c0cd5
2 changed files with 5 additions and 0 deletions

View 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

View 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))