summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-20 19:54:12 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-09-20 19:54:12 +0000
commit8d92c183f58578ce544a783dce83056a48a0ee0b (patch)
treed32df1770ba2ed714ed99221f5a0832d07125ca2 /gnu
parenta395250fa529e4646cf4f4a884a92a97edec28cf (diff)
UNDO MORE FUCKING TREE BREAKING. WHY THE FUCK ARE YOU GUYS NOT EVEN DOING
TEST COMPILES?!
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/ld/m68k/md.h14
1 files changed, 11 insertions, 3 deletions
diff --git a/gnu/usr.bin/ld/m68k/md.h b/gnu/usr.bin/ld/m68k/md.h
index 61016b2ebdf..911e525b113 100644
--- a/gnu/usr.bin/ld/m68k/md.h
+++ b/gnu/usr.bin/ld/m68k/md.h
@@ -1,16 +1,24 @@
-/* * $OpenBSD: md.h,v 1.6 2002/09/17 16:20:46 miod Exp $*/
+/* * $OpenBSD: md.h,v 1.7 2002/09/20 19:54:11 deraadt Exp $*/
/*
* - m68k dependent definitions
*/
#if defined(CROSS_LINKER)
#include <sys/endian.h>
+
#if BYTE_ORDER != BIG_ENDIAN
#define NEED_SWAP
#endif
-/* Remove definitions from the host exec.h */
-#include <machine/exec.h>
+#undef __LDPGSZ
+#undef ELF_TARG_DATA
+#undef ELF_TARG_MACH
+#undef relocation_info
+#undef MID_MACHINE
+#define MID_MACHINE MID_M68K
+#include <m68k/exec.h>
+#endif
+
#define MAX_ALIGNMENT (sizeof (long))