From ec27c0bb3eea73be4db6cd2f275db6c516e12d00 Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Wed, 6 Dec 2023 20:48:39 +0000 Subject: [PATCH] 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 ae48fd73947..38eb13fb89b 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 658fbd2add5..d4a767c90a5 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 cd8ba4f1155..e4e66ba19bd 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