summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2002-09-17 16:20:47 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2002-09-17 16:20:47 +0000
commitecb18d4e2cd521d4db9d41f7989b812a46c26198 (patch)
treec6525d33457ca228c0ca173a6b43af8963240a3c
parent7accf5696aba051be493294f871ea5e585e254d8 (diff)
Repair m68k cross-ld - the cross building environment makes some magic
unnecessary now.
-rw-r--r--gnu/usr.bin/ld/m68k/md.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/gnu/usr.bin/ld/m68k/md.h b/gnu/usr.bin/ld/m68k/md.h
index 66274ee6bd6..61016b2ebdf 100644
--- a/gnu/usr.bin/ld/m68k/md.h
+++ b/gnu/usr.bin/ld/m68k/md.h
@@ -1,24 +1,16 @@
-/* * $OpenBSD: md.h,v 1.5 2002/07/17 20:33:29 marc Exp $*/
+/* * $OpenBSD: md.h,v 1.6 2002/09/17 16:20:46 miod Exp $*/
/*
* - m68k dependent definitions
*/
#if defined(CROSS_LINKER)
#include <sys/endian.h>
-
#if BYTE_ORDER != BIG_ENDIAN
#define NEED_SWAP
#endif
-#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
-
+/* Remove definitions from the host exec.h */
+#include <machine/exec.h>
#define MAX_ALIGNMENT (sizeof (long))