From 8c16928a3ece8ac17bf117ce69e250d0faecf1fa Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 2 Nov 2009 02:01:15 +0000 Subject: [PATCH] * messages.c (as_fatal): Apply 2001-01-15 change and followup to second copy of function. --- gas/ChangeLog | 5 +++++ gas/messages.c | 2 ++ 2 files changed, 7 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 459697b90f2..ae6ceb8800c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2009-11-02 Alan Modra + + * messages.c (as_fatal): Apply 2001-01-15 change and followup + to second copy of function. + 2009-10-30 John David Anglin * config/tc-hppa.c (pa_build_unwind_subspace): Replace start symbol diff --git a/gas/messages.c b/gas/messages.c index 69fcf78743f..396d3644ddb 100644 --- a/gas/messages.c +++ b/gas/messages.c @@ -383,6 +383,8 @@ as_fatal (format, va_alist) vfprintf (stderr, format, args); (void) putc ('\n', stderr); va_end (args); + if (out_file_name != NULL) + unlink_if_ordinary (out_file_name); xexit (EXIT_FAILURE); } #endif /* not NO_STDARG */ -- 2.30.2