diff --git a/lib/libsys/Makefile.sys b/lib/libsys/Makefile.sys --- 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 _() and __sys_() symbols, but not (). # -# 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+= 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 @@ STATICOBJS+= auxv.o .endif +NOASM= yield.o + +PSEUDO= \ + _clock_gettime.o \ + _exit.o \ + _getlogin.o \ + _gettimeofday.o \ + _sched_getcpu.o + INTERPOSED = \ accept \ accept4 \