+1998-02-20 Jason Merrill <jason@yorick.cygnus.com>
+
+ * collect2.c (main): Still handle !do_collecting for non-AIX targets.
+
Thu Feb 19 22:36:53 1998 Andrey Slepuhin <pooh@msu.net>
David Edelsohn <edelsohn@mhpcc.edu>
/* On AIX we do this later. */
#ifndef COLLECT_EXPORT_LIST
do_tlink (ld1_argv, object_lst);
-#else
+#endif
/* 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)
{
+#ifdef COLLECT_EXPORT_LIST
/* But make sure we delete the export file we may have created. */
if (export_file != 0 && export_file[0])
maybe_unlink (export_file);
if (import_file != 0 && import_file[0])
maybe_unlink (import_file);
+#endif
return 0;
}
-#endif
/* Examine the namelist with nm and search it for static constructors
and destructors to call.