Date: Thu, 29 Feb 2024 19:19:20 GMT From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: f102db5028cd - main - libsys: consolidate PSEUDO definitions Message-ID: <202402291919.41TJJKqF013091@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=f102db5028cd8502d46d50bd5bd1f1e30a847c39 commit f102db5028cd8502d46d50bd5bd1f1e30a847c39 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-02-29 19:19:01 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-02-29 19:19:01 +0000 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 --- lib/libsys/Makefile.sys | 18 +++++++++--------- 1 file 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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402291919.41TJJKqF013091>