aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2024-02-29 19:19:01 +0000
committerBrooks Davis <brooks@FreeBSD.org>2024-02-29 19:19:01 +0000
commitf102db5028cd8502d46d50bd5bd1f1e30a847c39 (patch)
tree75c1b0902365fe11c9a084e1dd5757be3f9feb4c
parente52a9177d9e43518e86d470be9cdbdcd7a699b8a (diff)
libsys: consolidate PSEUDO definitions
Consolidate in preparation for further cleanup. Also relocate the sole NOASM entry. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D44107
-rw-r--r--lib/libsys/Makefile.sys18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/libsys/Makefile.sys b/lib/libsys/Makefile.sys
index cafe197ec15e..8af379be92e2 100644
--- a/lib/libsys/Makefile.sys
+++ b/lib/libsys/Makefile.sys
@@ -12,19 +12,12 @@
# 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= yield.o
-PSEUDO= _exit.o \
- _getlogin.o
.include "${LIBSYS_SRCTOP}/${LIBC_ARCH}/Makefile.sys"
.if ${LIBC_ARCH} == "i386" || ${LIBC_ARCH} == "amd64"
.include "${LIBSYS_SRCTOP}/x86/Makefile.sys"
.endif
SRCS+= clock_gettime.c gettimeofday.c __vdso_gettimeofday.c
-PSEUDO+= _clock_gettime.o _gettimeofday.o
# Sources common to both syscall interfaces:
SRCS+= \
@@ -40,8 +33,6 @@ SRCS+= creat.c
SRCS+= lockf.c wait.c wait3.c waitpid.c waitid.c
SRCS+= recv.c recvmmsg.c send.c sendmmsg.c
-PSEUDO+= _sched_getcpu.o
-
SRCS+= brk.c
SRCS+= closefrom.c
SRCS+= pipe.c
@@ -59,6 +50,15 @@ SOBJS+= libc_stubs.pico
STATICOBJS+= auxv.o
.endif
+NOASM= yield.o
+
+PSEUDO= \
+ _clock_gettime.o \
+ _exit.o \
+ _getlogin.o \
+ _gettimeofday.o \
+ _sched_getcpu.o
+
INTERPOSED = \
accept \
accept4 \