Browse Source

Kill off the now obsolete __libc_vfork symbol

Eric Andersen 20 years ago
parent
commit
b3322420c5

+ 1 - 0
libc/sysdeps/linux/arm/vfork.S

@@ -68,3 +68,4 @@ __syscall_error:
 
 .L4:  .word errno
 
+

+ 0 - 2
libc/sysdeps/linux/e1/vfork.c

@@ -2,6 +2,4 @@
 #include <sys/syscall.h>
 #include <sys/errno.h>
 
-#define __NR___libc_vfork __NR_vfork
-_syscall0(pid_t, __libc_vfork);
 _syscall0(pid_t, vfork);

+ 3 - 6
libc/sysdeps/linux/frv/vfork.S

@@ -22,10 +22,10 @@
 #include <bits/errno.h>
 
        .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

+ 0 - 3
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