diff options
author | 1999-01-06 05:36:17 +0000 | |
---|---|---|
committer | 1999-01-06 05:36:17 +0000 | |
commit | b79b6be449f0d61df66ffe424183eb6eec803703 (patch) | |
tree | 83b7091366c6971df60f8c37238f93676c2f5a51 /lib/libpthread/sys | |
parent | ident (diff) | |
download | wireguard-openbsd-b79b6be449f0d61df66ffe424183eb6eec803703.tar.xz wireguard-openbsd-b79b6be449f0d61df66ffe424183eb6eec803703.zip |
use indr_reference instead of PASSTHRU
Diffstat (limited to 'lib/libpthread/sys')
-rw-r--r-- | lib/libpthread/sys/Makefile.inc | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/libpthread/sys/Makefile.inc b/lib/libpthread/sys/Makefile.inc index be55ff3747b..2c4ee0df2fd 100644 --- a/lib/libpthread/sys/Makefile.inc +++ b/lib/libpthread/sys/Makefile.inc @@ -1,16 +1,17 @@ -# $Id: Makefile.inc,v 1.2 1998/11/20 11:15:38 d Exp $ -# $OpenBSD: Makefile.inc,v 1.2 1998/11/20 11:15:38 d Exp $ +# $Id: Makefile.inc,v 1.3 1999/01/06 05:36:18 d Exp $ +# $OpenBSD: Makefile.inc,v 1.3 1999/01/06 05:36:18 d Exp $ .PATH: ${.CURDIR}/sys ${.CURDIR}/arch/${MACHINE_ARCH} -SRCS+= uthread_error.c _atomic_lock.c _sys_aliases.S slow_atomic_lock.c +SRCS+= uthread_error.c _atomic_lock.c slow_atomic_lock.c -_sys_aliases.S: ${.CURDIR}/Makefile ${LIBCSRCDIR}/sys/Makefile.inc - (echo '#include "SYS.h"'; \ +SRCS+= _sys_aliases.c +CLEANFILES += _sys_aliases.c +_sys_aliases.c: ${.CURDIR}/Makefile ${LIBCSRCDIR}/sys/Makefile.inc + (echo '#include <sys/cdefs.h>'; \ for fn in ${ASM:R} ${PSEUDO:R} ""; do \ case $$fn in ${HIDDEN_SYSCALLS:.o=|}"") : stays hidden ;; \ - *) echo "PASSTHRU($$fn)";; \ + *) echo "__indr_reference(_thread_sys_$$fn,$$fn);";; \ esac; \ done ) > ${.TARGET} -CLEANFILES += _sys_aliases.S |