projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca7d30d
)
* elflink.c (_bfd_elf_create_got_section): Hide _GLOBAL_OFFSET_SYMBOL.
author
Hans-Peter Nilsson
<hp@axis.com>
Tue, 2 Nov 2004 05:44:34 +0000
(
05:44
+0000)
committer
Hans-Peter Nilsson
<hp@axis.com>
Tue, 2 Nov 2004 05:44:34 +0000
(
05:44
+0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/elflink.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index b680829d910a526f5d80b331a42d25ae882205ba..76c7e68c9febf5d9e9732c88498555a3cdb548d0 100644
(file)
--- 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 3fc2ddd16891dba7a9c61caf293f3c6f37249ae3..e5c9d9f13af96f0221fa45592ab32316a917fc51 100644
(file)
--- 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))