libsys: generate private symbol map

We now export all _ and __sys_ prefixed syscalls stubs from libc and
libsys so that libsys can replace them.

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:00 +00:00
parent b71defdbd8
commit 86deddfacb
4 changed files with 808 additions and 620 deletions
+1
View File
@@ -122,6 +122,7 @@ SPSEUDO= ${PSEUDO:S/.o/.S/}
SRCS+= ${SASM} ${SPSEUDO}
SYM_MAPS+= ${LIBSYS_SRCTOP}/syscalls.map
SYM_MAPS+= ${LIBSYS_SRCTOP}/Symbol.sys.map
.if exists(${LIBSYS_SRCTOP}/${LIBC_ARCH}/Symbol.sys.map)
SYM_MAPS+= ${LIBSYS_SRCTOP}/${LIBC_ARCH}/Symbol.sys.map