diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1997-04-13 14:19:48 -0400 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1997-04-13 14:19:48 -0400 |
commit | c7063b9a371df4010a5fcabdf9f6fba19a4626c5 (patch) | |
tree | 4280f01bd5addc4a5da4bd4aaccb4d4cc6490d03 /gcc | |
parent | 1f0fcca5beb211386c526184fdcce4b072a2881c (diff) | |
download | gcc-c7063b9a371df4010a5fcabdf9f6fba19a4626c5.zip gcc-c7063b9a371df4010a5fcabdf9f6fba19a4626c5.tar.gz gcc-c7063b9a371df4010a5fcabdf9f6fba19a4626c5.tar.bz2 |
(fatal_perror, fatal, collect_wait): Use FATAL_EXIT_CODE.
From-SVN: r13885
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/collect2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index 341c70e..e5f404f2 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1,6 +1,6 @@ /* Collect static initialization info into data structures that can be traversed by C++ initialization and finalization routines. - Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc. + Copyright (C) 1992, 93, 94, 95, 96, 1997 Free Software Foundation, Inc. Contributed by Chris Smith (csmith@convex.com). Heavily modified by Michael Meissner (meissner@cygnus.com), Per Bothner (bothner@cygnus.com), and John Gilmore (gnu@cygnus.com). @@ -382,7 +382,7 @@ fatal_perror (string, arg1, arg2, arg3) fprintf (stderr, "collect2: "); fprintf (stderr, string, arg1, arg2, arg3); fprintf (stderr, ": %s\n", my_strerror (e)); - collect_exit (1); + collect_exit (FATAL_EXIT_CODE); } /* Just die. */ @@ -394,7 +394,7 @@ fatal (string, arg1, arg2, arg3) fprintf (stderr, "collect2: "); fprintf (stderr, string, arg1, arg2, arg3); fprintf (stderr, "\n"); - collect_exit (1); + collect_exit (FATAL_EXIT_CODE); } /* Write error message. */ @@ -1488,7 +1488,7 @@ collect_wait (prog) (status & 0200) ? ", core dumped" : ""); #endif - collect_exit (127); + collect_exit (FATAL_EXIT_CODE); } if (WIFEXITED (status)) |