aboutsummaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2002-03-12 19:07:06 +0000
committerTom Rix <trix@gcc.gnu.org>2002-03-12 19:07:06 +0000
commit5b8619f82e166e28b538b2e0ddbdfebbc2221145 (patch)
treefce23a4a395ead5e3799c79f4cc0aaa6c9c38a53 /gcc/collect2.c
parent916c46b5ab32a7cc6deb435c8f2a9451edd39208 (diff)
downloadgcc-5b8619f82e166e28b538b2e0ddbdfebbc2221145.zip
gcc-5b8619f82e166e28b538b2e0ddbdfebbc2221145.tar.gz
gcc-5b8619f82e166e28b538b2e0ddbdfebbc2221145.tar.bz2
A fix for cross building aix.
From-SVN: r50672
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r--gcc/collect2.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c
index 6fb2efd7..26548b4 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 */
/*