diff options
author | Nick Clifton <nickc@redhat.com> | 2005-07-29 13:32:45 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2005-07-29 13:32:45 +0000 |
commit | e9156f741ab144279ff8cd831d33f2dd7f6232cd (patch) | |
tree | 34d8bc003066255b9e99edd44f177afabfc60052 /ld/ldmain.c | |
parent | 8a69675106de19439ba277ce987a9535e5a6fce4 (diff) | |
download | gdb-e9156f741ab144279ff8cd831d33f2dd7f6232cd.zip gdb-e9156f741ab144279ff8cd831d33f2dd7f6232cd.tar.gz gdb-e9156f741ab144279ff8cd831d33f2dd7f6232cd.tar.bz2 |
* ldmain.c (main): Allow -shared and -static to be used together.
* ld.texinfo (-static): Mention that it is allowed with -shared.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r-- | ld/ldmain.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c index 047cc6b..b5bf2cb 100644 --- a/ld/ldmain.c +++ b/ld/ldmain.c @@ -345,9 +345,6 @@ main (int argc, char **argv) einfo (_("%P%F: -r and -shared may not be used together\n")); } - if (!config.dynamic_link && link_info.shared) - einfo (_("%P%F: -static and -shared may not be used together\n")); - if (! link_info.shared) { if (command_line.filter_shlib) |