From e6857c0cd5d1862c4b25b996fb844a0ffff87f78 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 2 Nov 2004 05:44:34 +0000 Subject: [PATCH] * elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_SYMBOL. --- bfd/ChangeLog | 4 ++++ bfd/elflink.c | 1 + 2 files changed, 5 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index b680829d910..76c7e68c9fe 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2004-11-02 Hans-Peter Nilsson + + * elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_SYMBOL. + 2004-10-28 H.J. Lu * elfxx-ia64.c (elfNN_ia64_relocate_section): Handle weak diff --git a/bfd/elflink.c b/bfd/elflink.c index 3fc2ddd1689..e5c9d9f13af 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)) -- 2.30.2