Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/sys Emit SA syscalls using SYS_compat_60_*
details: https://anonhg.NetBSD.org/src/rev/1579b136d5cf
branches: trunk
changeset: 777467:1579b136d5cf
user: matt <matt%NetBSD.org@localhost>
date: Sun Feb 19 19:18:40 2012 +0000
description:
Emit SA syscalls using SYS_compat_60_*
diffstat:
lib/libc/sys/Makefile.inc | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (41 lines):
diff -r 6bb966f3959b -r 1579b136d5cf lib/libc/sys/Makefile.inc
--- a/lib/libc/sys/Makefile.inc Sun Feb 19 18:52:06 2012 +0000
+++ b/lib/libc/sys/Makefile.inc Sun Feb 19 19:18:40 2012 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.inc,v 1.212 2012/02/13 01:24:03 dholland Exp $
+# $NetBSD: Makefile.inc,v 1.213 2012/02/19 19:18:40 matt Exp $
# @(#)Makefile.inc 8.3 (Berkeley) 10/24/94
# sys sources
@@ -119,8 +119,7 @@
__quotactl.S \
rasctl.S readlinkat.S reboot.S recvfrom.S recvmsg.S rename.S \
renameat.S revoke.S rmdir.S \
- sa_register.S sa_stacks.S sa_enable.S sa_setconcurrency.S sa_yield.S \
- sa_preempt.S semconfig.S semget.S semop.S \
+ semconfig.S semget.S semop.S \
sendmsg.S sendto.S setegid.S setcontext.S seteuid.S setgid.S \
setgroups.S __setitimer50.S __setlogin.S setpgid.S \
setpriority.S \
@@ -135,6 +134,10 @@
umask.S undelete.S unlink.S unlinkat.S unmount.S __utimes50.S \
utimensat.S utrace.S uuidgen.S vadvise.S
+# sa compat syscalls
+SAASM+= sa_register.S sa_stacks.S sa_enable.S sa_setconcurrency.S sa_yield.S \
+ sa_preempt.S
+
# modules with potentially non default implementations
ASM_MD= _lwp_getprivate.S mremap.S
@@ -181,6 +184,10 @@
${_MKTARGET_CREATE}
printf '#include "SYS.h"\nWSYSCALL(${.PREFIX},_sys_${.PREFIX})\nWEAK_ALIAS(_${.PREFIX},_sys_${.PREFIX})\n' >${.TARGET}
+${SAASM}: ${ASMDEPS}
+ ${_MKTARGET_CREATE}
+ printf '#include "SYS.h"\n_SYSCALL(${.PREFIX:S/tmp_//},${.PREFIX:S/tmp_//:S/sa_/compat_60_sa_/})\n' >${.TARGET}
+
${NOERR}: ${ASMDEPS}
${_MKTARGET_CREATE}
printf '#include "SYS.h"\nRSYSCALL_NOERROR(${.PREFIX})\n' >${.TARGET}
Home |
Main Index |
Thread Index |
Old Index