summaryrefslogtreecommitdiff
path: root/gcc/collect2.c
diff options
context:
space:
mode:
authortrix <trix@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-12 19:07:06 +0000
committertrix <trix@138bc75d-0d04-0410-961f-82ee72b054a4>2002-03-12 19:07:06 +0000
commit02159c3fb74a7ffb418c7dae7717b965905b94d0 (patch)
treefce23a4a395ead5e3799c79f4cc0aaa6c9c38a53 /gcc/collect2.c
parent2da4cb5f26a0b54af5f0d6eb4b33e2e91ad5f4aa (diff)
downloadgcc-02159c3fb74a7ffb418c7dae7717b965905b94d0.tar.gz
A fix for cross building aix.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50672 138bc75d-0d04-0410-961f-82ee72b054a4
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 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 */
/*