aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2015-08-18 02:58:35 -0700
committerH.J. Lu <hjl.tools@gmail.com>2015-08-18 02:58:35 -0700
commit2602c7d9f916b4dbebfe67dc71b7802f0d60d695 (patch)
treee1391540f2a3ea4fd948a09d15065e6e5873b8f9 /ld/lexsup.c
parent516221dd8ef93fb476f12d2add22eadcc706dcc5 (diff)
downloadgdb-users/hjl/output.zip
gdb-users/hjl/output.tar.gz
gdb-users/hjl/output.tar.bz2
Remove type_unknownusers/hjl/output
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r--ld/lexsup.c3
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. */