From: Jim Wilson Date: Tue, 12 May 1998 20:07:09 +0000 (+0000) Subject: Fix aix --with-gnu-ld build failure reported by Brendan. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b706d7f20d438d0cda4790a798d98d5cb74290f9;p=gcc.git Fix aix --with-gnu-ld build failure reported by Brendan. * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST. From-SVN: r19704 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5b4027319ab..21e0b8998a6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Tue May 12 20:05:57 1998 Jim Wilson + + * collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST. + Wed May 13 03:23:45 1998 J"orn Rennecke * reload1.c (gen_reload): Create REG_EQUIV notes. diff --git a/gcc/collect2.c b/gcc/collect2.c index 0cba7ef144b..d51a4572b55 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -1428,7 +1428,11 @@ main (argc, argv) /* If -r or they will be run via some other method, do not build the constructor or destructor list, just return now. */ - if (rflag || ! do_collecting) + if (rflag +#ifndef COLLECT_EXPORT_LIST + || ! do_collecting +#endif + ) { #ifdef COLLECT_EXPORT_LIST /* But make sure we delete the export file we may have created. */