* collect2.c (main): Ignore do_collecting when COLLECT_EXPORT_LIST.
From-SVN: r19704
+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.
/* 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. */