diff options
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r-- | ld/lexsup.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c index 1d17c0d..1fa05de 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -1595,9 +1595,6 @@ parse_args (unsigned argc, char **argv) einfo (_("%P%F: -f may not be used without -shared\n")); } - if (link_info.type == type_unknown) - link_info.type = type_executable; - /* Treat ld -r -s as ld -r -S -x (i.e., strip all local symbols). I don't see how else this can be handled, since in this case we must preserve all externally visible symbols. */ |