OSDN Git Service

oops
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Feb 1998 12:30:20 +0000 (12:30 +0000)
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 20 Feb 1998 12:30:20 +0000 (12:30 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@18140 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/collect2.c

index 79e59b5..fac696e 100644 (file)
@@ -1534,7 +1534,7 @@ main (argc, argv)
      undefined symbols from repository information.  */
 
   /* On AIX we do this later.  */
-#ifndef COLLECT_EXPORT_LIST
+#ifdef COLLECT_EXPORT_LIST
   do_tlink (ld1_argv, object_lst); 
 #endif
 
@@ -1542,11 +1542,13 @@ main (argc, argv)
      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;
     }