Commit b706d7f2 by Jim Wilson Committed by Jim Wilson

Fix aix --with-gnu-ld build failure reported by Brendan.

	* collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.

From-SVN: r19704
parent 4117a96b
Tue May 12 20:05:57 1998 Jim Wilson <wilson@cygnus.com>
* collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
Wed May 13 03:23:45 1998 J"orn Rennecke <amylaar@cygnus.co.uk>
* reload1.c (gen_reload): Create REG_EQUIV notes.
......
......@@ -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. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment