diff options
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index e7be7ac..18d7fb8 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1569,12 +1569,9 @@ collect_wait (prog) if (WIFSIGNALED (status)) { int sig = WTERMSIG (status); - error ((status & 0200 - ? "%s terminated with signal %d [%s]" - : "%s terminated with signal %d [%s], core dumped"), - prog, - sig, - strsignal(sig)); + error ("%s terminated with signal %d [%s]%s", + prog, sig, strsignal(sig), + status & 0200 ? "" : ", core dumped"); collect_exit (FATAL_EXIT_CODE); } |