Page MenuHomeFreeBSD

D44106.id135085.diff
No OneTemporary

D44106.id135085.diff

diff --git a/lib/libsys/Makefile.sys b/lib/libsys/Makefile.sys
--- a/lib/libsys/Makefile.sys
+++ b/lib/libsys/Makefile.sys
@@ -9,14 +9,11 @@
# Include machine dependent definitions.
#
# MDASM names override the default syscall names in MIASM.
-# NOASM will prevent the default syscall code from being generated.
# PSEUDO generates _<sys>() and __sys_<sys>() symbols, but not <sys>().
#
# While historically machine dependent, all architectures have the following
# declarations in common:
#
-NOASM= exit.o \
- getlogin.o
PSEUDO= _exit.o \
_getlogin.o
.include "${LIBSYS_SRCTOP}/${LIBC_ARCH}/Makefile.sys"
@@ -25,7 +22,6 @@
.endif
SRCS+= clock_gettime.c gettimeofday.c __vdso_gettimeofday.c
-NOASM+= clock_gettime.o gettimeofday.o
PSEUDO+= _clock_gettime.o _gettimeofday.o
# Sources common to both syscall interfaces:
@@ -42,7 +38,6 @@
SRCS+= lockf.c wait.c wait3.c waitpid.c waitid.c
SRCS+= recv.c recvmmsg.c send.c sendmmsg.c
-NOASM+= sched_getcpu.o
PSEUDO+= _sched_getcpu.o
SRCS+= brk.c
@@ -104,18 +99,17 @@
writev
SRCS+= ${INTERPOSED:S/$/.c/}
-NOASM+= ${INTERPOSED:S/$/.o/}
PSEUDO+= ${INTERPOSED:C/^.*$/_&.o/}
# Add machine dependent asm sources:
SRCS+=${MDASM}
# Look though the complete list of syscalls (MIASM) for names that are
-# not defined with machine dependent implementations (MDASM) and are
-# not declared for no generation of default code (NOASM). Add each
-# syscall that satisfies these conditions to the ASM list.
+# not defined with machine dependent implementations (MDASM), not declared
+# without a trival <sys> symbol (PSEUDO). Add each syscall that satisfies
+# these conditions to the ASM list.
.for _asm in ${MIASM}
-.if !${MDASM:R:M${_asm:R}} && !${NOASM:R:M${_asm:R}}
+.if !${MDASM:R:M${_asm:R}} && !${PSEUDO:R:M_${_asm:R}}
ASM+=$(_asm)
.endif
.endfor

File Metadata

Mime Type
text/plain
Expires
Mon, Apr 28, 9:40 PM (10 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17834014
Default Alt Text
D44106.id135085.diff (1 KB)

Event Timeline