aboutsummaryrefslogtreecommitdiff
path: root/gas/messages.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/messages.c')
-rw-r--r--gas/messages.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/messages.c b/gas/messages.c
index 866565d..39842e9 100644
--- a/gas/messages.c
+++ b/gas/messages.c
@@ -412,7 +412,7 @@ as_fatal (const char *format, ...)
/* Delete the output file, if it exists. This will prevent make from
thinking that a file was created and hence does not need rebuilding. */
if (out_file_name != NULL)
- unlink (out_file_name);
+ unlink_if_ordinary (out_file_name);
xexit (EXIT_FAILURE);
}
#else