diff options
author | Marc Espie <espie@cvs.openbsd.org> | 1999-05-10 16:20:48 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 1999-05-10 16:20:48 +0000 |
commit | 034edbd8249fc02865bf945465ebe50f02ea9e0d (patch) | |
tree | fb8464fb0410f6ce069c1d189a2b9fb394cbbfec /gnu/usr.bin/ld/sparc/md.h | |
parent | 4b5deb0f770235920cbdb04b47fdcbdf2d88df6c (diff) |
cross-ld for sparc: iflush as nop, since it won't compile on non-sparc,
and is only needed for rtld anyway.
and missing md_swap routines as well.
Diffstat (limited to 'gnu/usr.bin/ld/sparc/md.h')
-rw-r--r-- | gnu/usr.bin/ld/sparc/md.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gnu/usr.bin/ld/sparc/md.h b/gnu/usr.bin/ld/sparc/md.h index 7147c5731fa..5753033876a 100644 --- a/gnu/usr.bin/ld/sparc/md.h +++ b/gnu/usr.bin/ld/sparc/md.h @@ -1,4 +1,4 @@ -/* * $OpenBSD: md.h,v 1.3 1998/03/26 19:47:35 niklas Exp $*/ +/* * $OpenBSD: md.h,v 1.4 1999/05/10 16:20:47 espie Exp $*/ /* * Copyright (c) 1993 Paul Kranenburg * All rights reserved. @@ -34,6 +34,9 @@ * SPARC machine dependent definitions */ +#if defined(CROSS_LINKER) && defined(XHOST) && XHOST==i386 +#define NEED_SWAP +#endif #define MAX_ALIGNMENT (sizeof (double)) |