git: ec27c0bb3eea - main - libc: don't needlessly add vfork.o to NOASM
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Dec 2023 20:49:18 UTC
The branch main has been updated by brooks:
URL: https://cgit.FreeBSD.org/src/commit/?id=ec27c0bb3eea73be4db6cd2f275db6c516e12d00
commit ec27c0bb3eea73be4db6cd2f275db6c516e12d00
Author: Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-12-06 20:48:39 +0000
Commit: Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-12-06 20:49:08 +0000
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
---
lib/libc/aarch64/sys/Makefile.inc | 3 ---
lib/libc/amd64/sys/Makefile.inc | 3 ---
lib/libc/riscv/sys/Makefile.inc | 3 ---
3 files changed, 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