diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-22 01:24:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1996-08-22 01:24:22 +0000 |
commit | 762810152dc851b99852ec5ac87a49f5fd390b2a (patch) | |
tree | 972adf9e7b344a753c5b8488050edc2653b1cddd | |
parent | f75d5892cbe731a6e97177c5a83692c1080d6d45 (diff) |
__OpenBSD__
-rw-r--r-- | gnu/usr.bin/ld/sparc/md.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/ld/sparc/md.c b/gnu/usr.bin/ld/sparc/md.c index 77ed9905236..c5b200ded67 100644 --- a/gnu/usr.bin/ld/sparc/md.c +++ b/gnu/usr.bin/ld/sparc/md.c @@ -27,7 +27,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: md.c,v 1.3 1995/12/30 08:13:58 deraadt Exp $ + * $Id: md.c,v 1.4 1996/08/22 01:24:21 deraadt Exp $ */ #include <sys/param.h> @@ -312,7 +312,7 @@ md_init_header(hp, magic, flags) struct exec *hp; int magic, flags; { -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__OpenBSD__) N_SETMAGIC((*hp), magic, MID_MACHINE, flags); /* TEXT_START depends on the value of outheader.a_entry. */ @@ -337,7 +337,7 @@ int md_midcompat(hp) struct exec *hp; { -#ifdef __NetBSD__ +#if defined(__NetBSD__) || defined(__OpenBSD__) #define SUN_M_SPARC 3 return (((md_swap_long(hp->a_midmag)&0x00ff0000) >> 16) == SUN_M_SPARC); #else |