summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2003-05-09 19:31:15 +0000
committermillert <millert@openbsd.org>2003-05-09 19:31:15 +0000
commit5f4590f53833d2a6903d49ad44ac7311a44fa28f (patch)
treecf0ce57c60bad32e63873b4de929e016e784aa0f /lib/libc/stdlib
parentinsque and remque are VAX instructions, no need for C functions; From 4.4BSD (diff)
downloadwireguard-openbsd-5f4590f53833d2a6903d49ad44ac7311a44fa28f.tar.xz
wireguard-openbsd-5f4590f53833d2a6903d49ad44ac7311a44fa28f.zip
assembler versions of insque and remque for m68k, also from 4.4BSD
Diffstat (limited to 'lib/libc/stdlib')
-rw-r--r--lib/libc/stdlib/Makefile.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/stdlib/Makefile.inc b/lib/libc/stdlib/Makefile.inc
index 4ed97c5b660..bfbbdcb7f43 100644
--- a/lib/libc/stdlib/Makefile.inc
+++ b/lib/libc/stdlib/Makefile.inc
@@ -32,7 +32,7 @@ SRCS+= abs.c div.c labs.c ldiv.c
SRCS+= abs.c div.c labs.c ldiv.c
.endif
-.if (${MACHINE_ARCH} == "vax")
+.if (${MACHINE_ARCH} == "vax") || (${MACHINE_ARCH} == "m68k")
SRCS+= insque.S remque.S
.else
SRCS+= insque.c remque.c