summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>1999-01-18 10:20:54 +0000
committerMarc Espie <espie@cvs.openbsd.org>1999-01-18 10:20:54 +0000
commit178a508d88c743de98ff2a2df4b26b581d3dde06 (patch)
treeb1e065407c2f4e0d9dcdc099e8e489865eae2de1
parent5134b02ec45c91ead7868a5b9f0cea921d296a7c (diff)
OBJECT_FORMAT_COFF is only a hint for collect2, and is badly named:
it tests for a capability of bypassing nm by using mld, which we don't have.
-rw-r--r--gnu/usr.bin/gcc/config/alpha/openbsd.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/usr.bin/gcc/config/alpha/openbsd.h b/gnu/usr.bin/gcc/config/alpha/openbsd.h
index e97fb2d87f7..1bcc47d5f71 100644
--- a/gnu/usr.bin/gcc/config/alpha/openbsd.h
+++ b/gnu/usr.bin/gcc/config/alpha/openbsd.h
@@ -83,6 +83,12 @@ Boston, MA 02111-1307, USA. */
#include "alpha/alpha.h"
+/* Don't tell collect2 we use COFF as we don't have (yet ?) a dynamic ld
+ library with the proper functions to handle this -> collect2 will
+ default to using nm. */
+#undef OBJECT_FORMAT_COFF
+#undef EXTENDED_COFF
+
/* Since gas and gld are standard on OpenBSD, we don't need this */
#undef ASM_FINAL_SPEC