diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1996-03-04 18:39:47 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1996-03-04 18:39:47 -0500 |
commit | e1c2b28d21df8ef0efd37ac36bffad5b9dab316a (patch) | |
tree | b5710c590a9bcee517ce568fecbe2c7f9f3a7f6a | |
parent | 522170ca630f2b0b22fad049ab50a11f43c6a447 (diff) | |
download | gcc-e1c2b28d21df8ef0efd37ac36bffad5b9dab316a.zip gcc-e1c2b28d21df8ef0efd37ac36bffad5b9dab316a.tar.gz gcc-e1c2b28d21df8ef0efd37ac36bffad5b9dab316a.tar.bz2 |
(main): Check new define DEFAULT_A_OUT_NAME.
From-SVN: r11426
-rw-r--r-- | gcc/collect2.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index b0018a2..e351dbc 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -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); |