OSDN Git Service

(main): Check new define DEFAULT_A_OUT_NAME.
authorkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Mar 1996 23:39:47 +0000 (23:39 +0000)
committerkenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 4 Mar 1996 23:39:47 +0000 (23:39 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@11426 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/collect2.c

index b0018a2..e351dbc 100644 (file)
@@ -2,7 +2,7 @@
    that can be traversed by C++ initialization and finalization
    routines.
 
-   Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1993, 1994, 1995, 1996 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).
@@ -955,7 +955,11 @@ main (argc, argv)
   vflag = 1;
 #endif
 
+#ifndef DEFAULT_A_OUT_NAME
   output_file = "a.out";
+#else
+  output_file = DEFAULT_A_OUT_NAME;
+#endif
 
   obstack_begin (&temporary_obstack, 0);
   obstack_begin (&permanent_obstack, 0);