mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 12:54:27 +00:00
libc: make syscall stubs empty for shared lib
They are always replaced by libsys so just make them empty. In https://reviews.freebsd.org/D14609 x86 variants call abort2, but that requires per-arch assembly and should be of low value in the steady state. Reviewed by: kib, emaste, imp Pull Request: https://github.com/freebsd/freebsd-src/pull/908
This commit is contained in:
parent
f217772244
commit
8d2e8f7205
|
@ -117,6 +117,7 @@ NOASM=
|
|||
.include "${LIBC_SRCTOP}/stdlib/Makefile.inc"
|
||||
.include "${LIBC_SRCTOP}/stdtime/Makefile.inc"
|
||||
.include "${LIBC_SRCTOP}/string/Makefile.inc"
|
||||
SHARED_CFLAGS+= -D'_SYSCALL_BODY(name)='
|
||||
.include "${LIBSYS_SRCTOP}/Makefile.sys"
|
||||
.include "${LIBC_SRCTOP}/secure/Makefile.inc"
|
||||
.include "${LIBC_SRCTOP}/rpc/Makefile.inc"
|
||||
|
|
Loading…
Reference in a new issue