git: 0ea469bcd548 - main - libc: rename arm and i386 Ovfork.S to vfork.S

From: Brooks Davis <brooks_at_FreeBSD.org>
Date: Wed, 06 Dec 2023 20:49:16 UTC
The branch main has been updated by brooks:

URL: https://cgit.FreeBSD.org/src/commit/?id=0ea469bcd548d29bbbc970325e4fa851d0e4c022

commit 0ea469bcd548d29bbbc970325e4fa851d0e4c022
Author:     Brooks Davis <brooks@FreeBSD.org>
AuthorDate: 2023-12-06 20:47:50 +0000
Commit:     Brooks Davis <brooks@FreeBSD.org>
CommitDate: 2023-12-06 20:49:08 +0000

    libc: rename arm and i386 Ovfork.S to vfork.S
    
    While this has been Ovfork.S forever on i386 it differs from other
    syscalls that require wrappers for no obvious reason so fix that.
    
    Reviewed by:    kib
    Sponsored by:   DARPA
    Differential Revision:  https://reviews.freebsd.org/D42909
---
 lib/libc/arm/sys/Makefile.inc           | 5 +----
 lib/libc/arm/sys/{Ovfork.S => vfork.S}  | 0
 lib/libc/i386/sys/Makefile.inc          | 4 +---
 lib/libc/i386/sys/{Ovfork.S => vfork.S} | 0
 4 files changed, 2 insertions(+), 7 deletions(-)

diff --git a/lib/libc/arm/sys/Makefile.inc b/lib/libc/arm/sys/Makefile.inc
index 3a86936a7b23..d5b62d61c90d 100644
--- a/lib/libc/arm/sys/Makefile.inc
+++ b/lib/libc/arm/sys/Makefile.inc
@@ -1,7 +1,4 @@
 SRCS+=	__vdso_gettc.c \
 	sched_getcpu_gen.c
 
-MDASM= Ovfork.S cerror.S syscall.S
-
-# Don't generate default code for these syscalls:
-NOASM+=	vfork.o
+MDASM= vfork.S cerror.S syscall.S
diff --git a/lib/libc/arm/sys/Ovfork.S b/lib/libc/arm/sys/vfork.S
similarity index 100%
rename from lib/libc/arm/sys/Ovfork.S
rename to lib/libc/arm/sys/vfork.S
diff --git a/lib/libc/i386/sys/Makefile.inc b/lib/libc/i386/sys/Makefile.inc
index 57a8af428aca..bbc3497aa5a5 100644
--- a/lib/libc/i386/sys/Makefile.inc
+++ b/lib/libc/i386/sys/Makefile.inc
@@ -2,9 +2,7 @@ SRCS+=	i386_get_fsbase.c i386_get_gsbase.c i386_get_ioperm.c i386_get_ldt.c \
 	i386_set_fsbase.c i386_set_gsbase.c i386_set_ioperm.c i386_set_ldt.c \
 	i386_clr_watch.c i386_set_watch.c i386_vm86.c
 
-MDASM=	Ovfork.S cerror.S getcontext.S syscall.S
-
-NOASM+=	vfork.o
+MDASM=	vfork.S cerror.S getcontext.S syscall.S
 
 MAN+=	i386_get_ioperm.2 i386_get_ldt.2 i386_vm86.2
 MAN+=	i386_set_watch.3
diff --git a/lib/libc/i386/sys/Ovfork.S b/lib/libc/i386/sys/vfork.S
similarity index 100%
rename from lib/libc/i386/sys/Ovfork.S
rename to lib/libc/i386/sys/vfork.S