diff options
author | 1999-06-01 17:54:31 +0000 | |
---|---|---|
committer | 1999-06-01 17:54:31 +0000 | |
commit | 5fd8ce1fd69c96eb12ef4b9998d07165bf1bec06 (patch) | |
tree | b2d588e36a07aced828a977d443e3d188014d969 /sys/kern/exec_elf.c | |
parent | fixes for boot are in, kernel is more in sync now (diff) | |
download | wireguard-openbsd-5fd8ce1fd69c96eb12ef4b9998d07165bf1bec06.tar.xz wireguard-openbsd-5fd8ce1fd69c96eb12ef4b9998d07165bf1bec06.zip |
Fix some mips -> __mips__ stuff.
Diffstat (limited to 'sys/kern/exec_elf.c')
-rw-r--r-- | sys/kern/exec_elf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c index 9045261c8e5..37b683b6bb0 100644 --- a/sys/kern/exec_elf.c +++ b/sys/kern/exec_elf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: exec_elf.c,v 1.24 1999/02/10 08:07:20 deraadt Exp $ */ +/* $OpenBSD: exec_elf.c,v 1.25 1999/06/01 17:54:31 pefo Exp $ */ /* * Copyright (c) 1996 Per Fogelstrom @@ -402,7 +402,7 @@ elf_load_file(p, path, epp, ap, last) for (i = 0; i < eh.e_phnum; i++) { u_long size = 0; int prot = 0; -#ifdef mips +#if defined(__mips__) if (*last == ELF32_NO_ADDR) addr = ELF32_NO_ADDR; /* GRRRRR!!!!! */ #endif @@ -598,7 +598,7 @@ exec_elf_makecmds(p, epp) } } -#if !defined(mips) +#if !defined(__mips__) /* * If no position to load the interpreter was set by a probe * function, pick the same address that a non-fixed mmap(0, ..) |