summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libc/sysdeps/linux/mips/pipe.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/libc/sysdeps/linux/mips/pipe.S b/libc/sysdeps/linux/mips/pipe.S
index f80002118..91c03dac5 100644
--- a/libc/sysdeps/linux/mips/pipe.S
+++ b/libc/sysdeps/linux/mips/pipe.S
@@ -7,9 +7,7 @@
#include <asm/unistd.h>
#include <asm/regdef.h>
- .globl pipe
.globl __pipe
- .hidden __pipe
.ent __pipe, 0
__pipe:
.frame sp, 24, sp
@@ -42,5 +40,5 @@ __pipe:
j ra
.end __pipe
.size __pipe,.-__pipe
- .weak pipe
- pipe = __pipe
+libc_hidden_def(pipe)
+weak_alias(__pipe, pipe)