diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-20 19:54:12 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2002-09-20 19:54:12 +0000 |
commit | 8d92c183f58578ce544a783dce83056a48a0ee0b (patch) | |
tree | d32df1770ba2ed714ed99221f5a0832d07125ca2 /gnu/usr.bin/ld | |
parent | a395250fa529e4646cf4f4a884a92a97edec28cf (diff) |
UNDO MORE FUCKING TREE BREAKING. WHY THE FUCK ARE YOU GUYS NOT EVEN DOING
TEST COMPILES?!
Diffstat (limited to 'gnu/usr.bin/ld')
-rw-r--r-- | gnu/usr.bin/ld/m68k/md.h | 14 |
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)) |