libc: compile _once in libsys

auxv support requires _once(), but we don't want the libsys version
stomping on the libc version should they diverge in the future.  We
could rename it entierly, but for now just hook it in via Makefile.sys.

Reviewed by:	kib, emaste, imp
Pull Request:	https://github.com/freebsd/freebsd-src/pull/908
This commit is contained in:
Brooks Davis 2023-11-21 18:30:43 +00:00
parent 1e2502bfca
commit 81245a77f0
3 changed files with 1 additions and 1 deletions

View file

@ -9,7 +9,6 @@ CONFSPACKAGE= runtime
SRCS+= __getosreldate.c \
__pthread_mutex_init_calloc_cb_stub.c \
__xuname.c \
_once_stub.c \
_pthread_stubs.c \
_rand48.c \
_spinlock_stub.c \

View file

@ -32,6 +32,7 @@ PSEUDO+= _clock_gettime.o _gettimeofday.o
# Sources common to both syscall interfaces:
SRCS+= \
__error.c \
_once_stub.c \
interposing_table.c
SRCS+= getdents.c lstat.c mknod.c stat.c