summaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index ec9dcff4ff..1b84835407 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -491,7 +491,7 @@ main (int argc, char **argv)
einfo (_("%P: link errors found, deleting executable `%s'\n"),
output_filename);
- /* The file will be removed by remove_output. */
+ /* The file will be removed by ld_cleanup. */
xexit (1);
}
else
@@ -564,7 +564,7 @@ main (int argc, char **argv)
fflush (stderr);
}
- /* Prevent remove_output from doing anything, after a successful link. */
+ /* Prevent ld_cleanup from doing anything, after a successful link. */
output_filename = NULL;
xexit (0);