From e1c2b28d21df8ef0efd37ac36bffad5b9dab316a Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Mon, 4 Mar 1996 18:39:47 -0500 Subject: [PATCH] (main): Check new define DEFAULT_A_OUT_NAME. From-SVN: r11426 --- gcc/collect2.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/gcc/collect2.c b/gcc/collect2.c index b0018a29b6c..e351dbc453a 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); -- 2.30.2