diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2012-11-20 22:16:03 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2012-11-20 22:16:03 +0000 |
commit | fc06ddc33b2732dbca1355e0864aa32723b0ed9c (patch) | |
tree | 513cf58b94b397f260e2be15328ca1d83973c925 /ld/ld.texinfo | |
parent | 16f3d6daa3eb8ee9653d8d75d34c24583f608d16 (diff) | |
download | binutils-redhat-fc06ddc33b2732dbca1355e0864aa32723b0ed9c.tar.gz |
Implement ELF linker -z global option
ld/
* ld.texinfo: Document "-z global".
* emultempl/elf32.em (gld${EMULATION_NAME}_handle_option): Support
"-z global".
(gld${EMULATION_NAME}_list_options): Likewise.
ld/testsuite/
* ld-elf/global1.d: New file.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 4a8118ff87..7670e96983 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -1024,6 +1024,11 @@ shared libraries are still allowed. @item execstack Marks the object as requiring executable stack. +@item global +This option is only meaningful when building a shared object. It makes +the symbols defined by this shared object available for symbol resolution +of subsequently loaded libraries. + @item initfirst This option is only meaningful when building a shared object. It marks the object so that its runtime initialization will occur |