OSDN Git Service

* messages.c (as_fatal): Apply 2001-01-15 change and followup
authoramodra <amodra>
Mon, 2 Nov 2009 11:01:14 +0000 (11:01 +0000)
committeramodra <amodra>
Mon, 2 Nov 2009 11:01:14 +0000 (11:01 +0000)
to second copy of function.

gas/ChangeLog
gas/messages.c

index 459697b..ae6ceb8 100644 (file)
@@ -1,3 +1,8 @@
+2009-11-02  Alan Modra  <amodra@bigpond.net.au>
+
+       * messages.c (as_fatal): Apply 2001-01-15 change and followup
+       to second copy of function.
+
 2009-10-30  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
 
        * config/tc-hppa.c (pa_build_unwind_subspace): Replace start symbol
index 69fcf78..396d364 100644 (file)
@@ -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 */