diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2004-11-02 05:44:34 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2004-11-02 05:44:34 +0000 |
commit | e6857c0cd5d1862c4b25b996fb844a0ffff87f78 (patch) | |
tree | 9d5d6ebb54ecd2f9f1279e1449a5ab173631c01e | |
parent | ca7d30d9caa3a1ebf5cf52887251cbaf69f8cf2b (diff) | |
download | gdb-e6857c0cd5d1862c4b25b996fb844a0ffff87f78.zip gdb-e6857c0cd5d1862c4b25b996fb844a0ffff87f78.tar.gz gdb-e6857c0cd5d1862c4b25b996fb844a0ffff87f78.tar.bz2 |
* elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_SYMBOL.
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/elflink.c | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b680829..76c7e68 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/elflink.c b/bfd/elflink.c index 3fc2ddd..e5c9d9f 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -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)) |