aboutsummaryrefslogtreecommitdiff
path: root/ld/ld.texinfo
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-10-07 14:45:24 +0000
committerNick Clifton <nickc@redhat.com>2004-10-07 14:45:24 +0000
commit8fdd7217a7e29f1ffac4abb2bffbf5a6555b85b7 (patch)
tree7db6d7732dbeb347e63289055f6daa1a8789a974 /ld/ld.texinfo
parent48c9f030c98a3b53b9cb962857ffc16c435a63db (diff)
downloadbinutils-8fdd7217a7e29f1ffac4abb2bffbf5a6555b85b7.zip
binutils-8fdd7217a7e29f1ffac4abb2bffbf5a6555b85b7.tar.gz
binutils-8fdd7217a7e29f1ffac4abb2bffbf5a6555b85b7.tar.bz2
Add linker option: --warn-shared-textrel to produce warnings when adding a
DT_TEXTREL to a shared object.
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r--ld/ld.texinfo4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo
index d6f9c25..420065b 100644
--- a/ld/ld.texinfo
+++ b/ld/ld.texinfo
@@ -1690,6 +1690,10 @@ The address will only be changed if it not explicitly specified; that
is, if the @code{SECTIONS} command does not specify a start address for
the section (@pxref{SECTIONS}).
+@kindex --warn-shared-textrel
+@item --warn-shared-textrel
+Warn if the linker adds a DT_TEXTREL to a shared object.
+
@kindex --warn-unresolved-symbols
@item --warn-unresolved-symbols
If the linker is going to report an unresolved symbol (see the option