summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorespie <espie@openbsd.org>1999-01-18 10:20:53 +0000
committerespie <espie@openbsd.org>1999-01-18 10:20:53 +0000
commit59f677d8fb8664f99275cfac66127e18f1aea034 (patch)
tree08f699a261cf8a7c381835fe197f4d4dedd73a1f
parentNetBSD merge with additional fixes from jsm28@cam.ac.uk. This game still (diff)
downloadwireguard-openbsd-59f677d8fb8664f99275cfac66127e18f1aea034.tar.xz
wireguard-openbsd-59f677d8fb8664f99275cfac66127e18f1aea034.zip
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