aboutsummaryrefslogtreecommitdiff
path: root/ld/lexsup.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/lexsup.c')
-rw-r--r--ld/lexsup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ld/lexsup.c b/ld/lexsup.c
index 69b1af2..bfb0fea 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -796,8 +796,6 @@ parse_args (argc, argv)
link_info.optimize = strtoul (optarg, NULL, 0) ? true : false;
break;
case 'o':
- if (lang_file_exists (optarg))
- einfo ("%P%F: output file %s is also an input file!\n", optarg);
lang_add_output (optarg, 0);
break;
case OPTION_OFORMAT: