mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-21 18:27:22 +00:00
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
This commit is contained in:
parent
e52a9177d9
commit
f102db5028
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue