Date: Mon, 5 Feb 2024 20:38:48 GMT From: Brooks Davis <brooks@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 8d2e8f720516 - main - libc: make syscall stubs empty for shared lib Message-ID: <202402052038.415KcmSh069812@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/src/commit/?id=8d2e8f720516e88a896390763ff372a6e5a2550f commit 8d2e8f720516e88a896390763ff372a6e5a2550f Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-01-05 19:04:53 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-02-05 20:34:57 +0000 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 --- lib/libc/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/libc/Makefile b/lib/libc/Makefile index 6a54f7641087..7c728ffe6443 100644 --- a/lib/libc/Makefile +++ b/lib/libc/Makefile @@ -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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402052038.415KcmSh069812>