summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorniklas <niklas@openbsd.org>1999-08-12 20:37:16 +0000
committerniklas <niklas@openbsd.org>1999-08-12 20:37:16 +0000
commit929a88b5a6a172e457a7a7fabe4ea8699f89214a (patch)
treee974dc935182bfcab76376dc58120eb279275aea
parentUse -Os, not -O2 (diff)
downloadwireguard-openbsd-929a88b5a6a172e457a7a7fabe4ea8699f89214a.tar.xz
wireguard-openbsd-929a88b5a6a172e457a7a7fabe4ea8699f89214a.zip
Probe svr4 before linux
-rw-r--r--sys/kern/exec_elf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/kern/exec_elf.c b/sys/kern/exec_elf.c
index 9820081534d..70ee101b4a0 100644
--- a/sys/kern/exec_elf.c
+++ b/sys/kern/exec_elf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: exec_elf.c,v 1.26 1999/07/20 12:14:34 deraadt Exp $ */
+/* $OpenBSD: exec_elf.c,v 1.27 1999/08/12 20:37:16 niklas Exp $ */
/*
* Copyright (c) 1996 Per Fogelstrom
@@ -79,14 +79,14 @@ struct elf_probe_entry {
#ifdef COMPAT_FREEBSD
{ freebsd_elf_probe, 1 << OOS_FREEBSD },
#endif
-#ifdef COMPAT_LINUX
- { linux_elf_probe, 1 << OOS_LINUX },
-#endif
#ifdef COMPAT_SVR4
{ svr4_elf_probe,
1 << OOS_SVR4 | 1 << OOS_ESIX | 1 << OOS_SOLARIS | 1 << OOS_SCO |
1 << OOS_DELL | 1 << OOS_NCR },
#endif
+#ifdef COMPAT_LINUX
+ { linux_elf_probe, 1 << OOS_LINUX },
+#endif
{ 0, 1 << OOS_OPENBSD }
};