734310f07eb03860013528fe4232bb412848ab56
[openwrt/staging/chunkeey.git] / toolchain / uClibc / patches / 110-mips_pipe.patch
1 diff -ur uClibc-0.9.28/libc/sysdeps/linux/mips/pipe.S uClibc-0.9.28.openwrt/libc/sysdeps/linux/mips/pipe.S
2 --- uClibc-0.9.28/libc/sysdeps/linux/mips/pipe.S 2005-08-18 00:49:44.000000000 +0200
3 +++ uClibc-0.9.28.openwrt/libc/sysdeps/linux/mips/pipe.S 2005-10-20 12:34:52.000000000 +0200
4 @@ -10,22 +10,17 @@
5 .globl pipe
6 .ent pipe, 0
7 pipe:
8 - addiu sp,sp,-24
9 - sw a0,16(sp)
10 li v0,__NR_pipe
11 syscall
12 beqz a3, 1f
13 - la t3, errno
14 - sw v0, (t3)
15 + sw v0, errno
16 li v0, -1
17 b 2f
18 1:
19 - lw a0, 16(sp)
20 sw v0, 0(a0)
21 sw v1, 4(a0)
22 li v0, 0
23 2:
24 - addiu sp,sp,24
25 j ra
26 .end pipe
27 .size pipe,.-pipe