Loading...
ppc/sys/pipe.s Libc-320.1.3 Libc-391
--- Libc/Libc-320.1.3/ppc/sys/pipe.s
+++ Libc/Libc-391/ppc/sys/pipe.s
@@ -24,11 +24,10 @@
 
 #import "SYS.h"
 
-LEAF(_pipe)
-	stw	r3,ARG(1)(r1)		// preserve fildes on stack
+MI_ENTRY_POINT(_pipe)
+    mr      r12,r3              // save fildes across syscall
 	SYSCALL_NONAME(pipe, 0)
-	lwz	r11,ARG(1)(r1)		// restore fildes
-	stw	r3,0(r11)
-	stw	r4,4(r11)
-	li	r3,0
+	stw     r3,0(r12)
+	stw     r4,4(r12)
+	li      r3,0
 	blr