OSDN Git Service

A fix for cross building aix.
authortrix <trix@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Mar 2002 19:07:06 +0000 (19:07 +0000)
committertrix <trix@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 12 Mar 2002 19:07:06 +0000 (19:07 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50672 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/collect2.c

index 0d1de09..cccf79f 100644 (file)
@@ -1,3 +1,9 @@
+2002-03-12  Tom Rix  <trix@redhat.com>
+
+       * collect2.c (resolve_lib_name): Move outside of
+       OBJECT_FORMAT_COFF ifdef. 
+       (ignore_library): Same.
+
 2002-03-12  Bob Wilson  <bob.wilson@acm.org>
 
        * config/xtensa/t-xtensa (CRTSTUFF_T_CFLAGS_S): Define.
index 6fb2efd..26548b4 100644 (file)
@@ -2861,7 +2861,7 @@ scan_prog_file (prog_name, which_pass)
   (void) ldclose(ldptr);
 #endif
 }
-
+#endif /* OBJECT_FORMAT_COFF */
 
 #ifdef COLLECT_EXPORT_LIST
 /* Given a library name without "lib" prefix, this function
@@ -2941,9 +2941,7 @@ ignore_library (name)
     if (! strcmp (name, *p)) return 1;
   return 0;
 }
-#endif
-
-#endif /* OBJECT_FORMAT_COFF */
+#endif /* COLLECT_EXPORT_LIST */
 
 \f
 /*