git: 444024241eec - stable/14 - libc: don't needlessly add vfork.o to NOASM

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Tue, 02 Jan 2024 17:00:12 UTC
The branch stable/14 has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=444024241eecc17c220f9043dc219958c0c77b45

commit 444024241eecc17c220f9043dc219958c0c77b45
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-12-06 20:48:39 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2024-01-02 16:58:54 +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
    
    (cherry picked from commit ec27c0bb3eea73be4db6cd2f275db6c516e12d00)
---
 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