Module Name:    src
Committed By:   matt
Date:           Fri Aug 16 22:21:59 UTC 2013

Modified Files:
        src/lib/libc/arch/arm/sys: pipe.S

Log Message:
Use _INVOKE_CERROR
use stmia instead of two str
add END


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/lib/libc/arch/arm/sys/pipe.S

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/lib/libc/arch/arm/sys/pipe.S
diff -u src/lib/libc/arch/arm/sys/pipe.S:1.7 src/lib/libc/arch/arm/sys/pipe.S:1.8
--- src/lib/libc/arch/arm/sys/pipe.S:1.7	Thu Aug  1 05:54:24 2013
+++ src/lib/libc/arch/arm/sys/pipe.S	Fri Aug 16 22:21:59 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: pipe.S,v 1.7 2013/08/01 05:54:24 matt Exp $	*/
+/*	$NetBSD: pipe.S,v 1.8 2013/08/16 22:21:59 matt Exp $	*/
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,8 +40,8 @@ WEAK_ALIAS(pipe, _pipe)
 ENTRY(_pipe)
 	mov	r2, r0
 	SYSTRAP(pipe)
-	bcs	CERROR
-	str	r0, [r2, #0x0000]
-	str	r1, [r2, #0x0004]
-	mov	r0, #0x00000000
+	_INVOKE_CERROR()
+	stmia	r2!, {r0-r1}
+	movs	r0, #0
 	RET
+END(_pipe)

Reply via email to