aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
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/ldmain.c
parent48c9f030c98a3b53b9cb962857ffc16c435a63db (diff)
downloadgdb-8fdd7217a7e29f1ffac4abb2bffbf5a6555b85b7.zip
gdb-8fdd7217a7e29f1ffac4abb2bffbf5a6555b85b7.tar.gz
gdb-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/ldmain.c')
-rw-r--r--ld/ldmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 8274d36..dc2efa2 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -336,6 +336,7 @@ main (int argc, char **argv)
link_info.flags = 0;
link_info.flags_1 = 0;
link_info.need_relax_finalize = FALSE;
+ link_info.warn_shared_textrel = FALSE;
ldfile_add_arch ("");