From b3322420c583e6f77750054aa27e6aab7f88a8c2 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 14 May 2004 10:39:05 +0000 Subject: Kill off the now obsolete __libc_vfork symbol --- libc/sysdeps/linux/arm/vfork.S | 1 + libc/sysdeps/linux/e1/vfork.c | 2 -- libc/sysdeps/linux/frv/vfork.S | 9 +++------ libc/sysdeps/linux/m68k/vfork.S | 3 --- 4 files changed, 4 insertions(+), 11 deletions(-) (limited to 'libc/sysdeps/linux') diff --git a/libc/sysdeps/linux/arm/vfork.S b/libc/sysdeps/linux/arm/vfork.S index fbceab367..9d18945d1 100644 --- a/libc/sysdeps/linux/arm/vfork.S +++ b/libc/sysdeps/linux/arm/vfork.S @@ -68,3 +68,4 @@ __syscall_error: .L4: .word errno + diff --git a/libc/sysdeps/linux/e1/vfork.c b/libc/sysdeps/linux/e1/vfork.c index 98421147c..f7dfb10ba 100644 --- a/libc/sysdeps/linux/e1/vfork.c +++ b/libc/sysdeps/linux/e1/vfork.c @@ -2,6 +2,4 @@ #include #include -#define __NR___libc_vfork __NR_vfork -_syscall0(pid_t, __libc_vfork); _syscall0(pid_t, vfork); diff --git a/libc/sysdeps/linux/frv/vfork.S b/libc/sysdeps/linux/frv/vfork.S index 2f97b2a47..0d5d6ea8d 100644 --- a/libc/sysdeps/linux/frv/vfork.S +++ b/libc/sysdeps/linux/frv/vfork.S @@ -22,10 +22,10 @@ #include .text - .globl __libc_vfork - .type __libc_vfork,@function + .globl vfork + .type vfork,@function /* int vfork(void) */ -__libc_vfork: +vfork: setlos #__NR_vfork, gr7 tira gr0, #0 @@ -39,6 +39,3 @@ __libc_vfork: .size vfork,.-vfork -.weak vfork -.global vfork -.set vfork, __libc_vfork diff --git a/libc/sysdeps/linux/m68k/vfork.S b/libc/sysdeps/linux/m68k/vfork.S index 132c10989..5db163bf5 100644 --- a/libc/sysdeps/linux/m68k/vfork.S +++ b/libc/sysdeps/linux/m68k/vfork.S @@ -11,13 +11,10 @@ .align 2 .globl errno .globl vfork - .globl __libc_vfork #if defined __HAVE_ELF__ .type vfork,@function - .type __libc_vfork,@function #endif vfork: -__libc_vfork: movl %sp@+, %a1 /* save the return address for later */ movl IMM __NR_vfork,%d0 trap #0 -- cgit v1.2.3