aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2023-12-06 20:48:39 +0000
committerBrooks Davis <brooks@FreeBSD.org>2023-12-06 20:49:08 +0000
commitec27c0bb3eea73be4db6cd2f275db6c516e12d00 (patch)
tree9624ad8ea3444d15057e8b5818bf3b69459767b0
parent0ea469bcd548d29bbbc970325e4fa851d0e4c022 (diff)
downloadsrc-ec27c0bb3eea73be4db6cd2f275db6c516e12d00.tar.gz
src-ec27c0bb3eea73be4db6cd2f275db6c516e12d00.zip
libc: don't needlessly add vfork.o to NOASM
For architectures where vfork.S was named Ovfork.S this was needed, but it was always pointless here as an entry in either MDASM or NOASM is equivalent. Reviewed by: kib Sponsored by: DARPA Differential Revision: https://reviews.freebsd.org/D42914
-rw-r--r--lib/libc/aarch64/sys/Makefile.inc3
-rw-r--r--lib/libc/amd64/sys/Makefile.inc3
-rw-r--r--lib/libc/riscv/sys/Makefile.inc3
3 files changed, 0 insertions, 9 deletions
diff --git a/lib/libc/aarch64/sys/Makefile.inc b/lib/libc/aarch64/sys/Makefile.inc
index ae48fd739477..38eb13fb89be 100644
--- a/lib/libc/aarch64/sys/Makefile.inc
+++ b/lib/libc/aarch64/sys/Makefile.inc
@@ -6,6 +6,3 @@ SRCS+= __vdso_gettc.c \
MDASM= cerror.S \
syscall.S \
vfork.S
-
-# Don't generate default code for these syscalls:
-NOASM+= vfork.o
diff --git a/lib/libc/amd64/sys/Makefile.inc b/lib/libc/amd64/sys/Makefile.inc
index 658fbd2add50..d4a767c90a5f 100644
--- a/lib/libc/amd64/sys/Makefile.inc
+++ b/lib/libc/amd64/sys/Makefile.inc
@@ -5,6 +5,3 @@ SRCS+= \
amd64_set_gsbase.c
MDASM= vfork.S cerror.S getcontext.S
-
-# Don't generate default code for these syscalls:
-NOASM+= vfork.o
diff --git a/lib/libc/riscv/sys/Makefile.inc b/lib/libc/riscv/sys/Makefile.inc
index cd8ba4f11557..e4e66ba19bd6 100644
--- a/lib/libc/riscv/sys/Makefile.inc
+++ b/lib/libc/riscv/sys/Makefile.inc
@@ -4,6 +4,3 @@ SRCS+= __vdso_gettc.c \
MDASM= cerror.S \
syscall.S \
vfork.S
-
-# Don't generate default code for these syscalls:
-NOASM+= vfork.o