summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/collect2.c6
2 files changed, 8 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0d1de09fdcc..cccf79ffdbe 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 6fb2efd76b1..26548b4ddb7 100644
--- a/gcc/collect2.c
+++ b/gcc/collect2.c
@@ -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 */
/*