aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-02-17 18:24:40 +0000
committerNick Clifton <nickc@redhat.com>2003-02-17 18:24:40 +0000
commitae9a127f867f404d20b8010b401ca9aaae9018d9 (patch)
tree94d0a4d7d0df63c27d7405fca51c7b572890e0d7 /ld/ldmain.c
parentb5f852ea83a8b30b97837afa7b1cf2c87c013998 (diff)
downloadfsf-binutils-gdb-ae9a127f867f404d20b8010b401ca9aaae9018d9.zip
fsf-binutils-gdb-ae9a127f867f404d20b8010b401ca9aaae9018d9.tar.gz
fsf-binutils-gdb-ae9a127f867f404d20b8010b401ca9aaae9018d9.tar.bz2
Fix the behaviour of --allow-shlib-undefined, so that it does what it claims
to do. Add an inverse switch. Update the documentation.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 9be3711..3aaef5d 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -265,7 +265,7 @@ main (argc, argv)
link_info.traditional_format = FALSE;
link_info.optimize = FALSE;
link_info.no_undefined = FALSE;
- link_info.allow_shlib_undefined = FALSE;
+ link_info.allow_shlib_undefined = TRUE;
link_info.allow_multiple_definition = FALSE;
link_info.allow_undefined_version = TRUE;
link_info.keep_memory = TRUE;