OSDN Git Service

(fatal_perror, fatal, collect_wait): Use FATAL_EXIT_CODE.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Apr 1997 18:19:48 +0000 (18:19 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 13 Apr 1997 18:19:48 +0000 (18:19 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13885 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/collect2.c

index 341c70e..e5f404f 100644 (file)
@@ -1,6 +1,6 @@
 /* Collect static initialization info into data structures that can be
    traversed by C++ initialization and finalization routines.
 /* 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).
    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));
   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.  */
 }
 
 /* Just die.  */
@@ -394,7 +394,7 @@ fatal (string, arg1, arg2, arg3)
   fprintf (stderr, "collect2: ");
   fprintf (stderr, string, arg1, arg2, arg3);
   fprintf (stderr, "\n");
   fprintf (stderr, "collect2: ");
   fprintf (stderr, string, arg1, arg2, arg3);
   fprintf (stderr, "\n");
-  collect_exit (1);
+  collect_exit (FATAL_EXIT_CODE);
 }
 
 /* Write error message.  */
 }
 
 /* Write error message.  */
@@ -1488,7 +1488,7 @@ collect_wait (prog)
                 (status & 0200) ? ", core dumped" : "");
 #endif
 
                 (status & 0200) ? ", core dumped" : "");
 #endif
 
-         collect_exit (127);
+         collect_exit (FATAL_EXIT_CODE);
        }
 
       if (WIFEXITED (status))
        }
 
       if (WIFEXITED (status))