Parcourir la source

get rid of __pipe

Peter S. Mazinger il y a 18 ans
Parent
commit
8319335430
2 fichiers modifiés avec 8 ajouts et 10 suppressions
  1. 3 4
      libc/sysdeps/linux/ia64/pipe.S
  2. 5 6
      libc/sysdeps/linux/mips/pipe.S

+ 3 - 4
libc/sysdeps/linux/ia64/pipe.S

@@ -21,7 +21,7 @@
 
 #include "sysdep.h"
 
-ENTRY(__pipe)
+ENTRY(pipe)
        .regstk 1,0,0,0
        DO_CALL (SYS_ify (pipe))
        cmp.ne p6,p0=-1,r10
@@ -32,7 +32,6 @@ ENTRY(__pipe)
 (p6)   st4 [in0]=r9
 (p6)   ret
        br.cond.spnt.few __syscall_error
-PSEUDO_END(__pipe)
+PSEUDO_END(pipe)
 
-libc_hidden_def (__pipe)
-weak_alias (__pipe, pipe)
+libc_hidden_def (pipe)

+ 5 - 6
libc/sysdeps/linux/mips/pipe.S

@@ -7,9 +7,9 @@
 #include <asm/unistd.h>
 #include <asm/regdef.h>
 
-	.globl	__pipe
-	.ent	__pipe, 0
-__pipe:
+	.globl	pipe
+	.ent	pipe, 0
+pipe:
 	.frame	sp, 24, sp
 #ifdef __PIC__
 	.set	noreorder
@@ -38,7 +38,6 @@ __pipe:
 2:
 	addiu	sp,sp,24
 	j	ra
-	.end	__pipe
-	.size	__pipe,.-__pipe
+	.end	pipe
+	.size	pipe,.-pipe
 libc_hidden_def(pipe)
-weak_alias(__pipe, pipe)