Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/lib/libc/arch/powerpc/sys Pull up revision 1.7 (request...



details:   https://anonhg.NetBSD.org/src/rev/96f14ed49cda
branches:  netbsd-1-6
changeset: 531438:96f14ed49cda
user:      tron <tron%NetBSD.org@localhost>
date:      Fri Jul 23 13:55:41 2004 +0000

description:
Pull up revision 1.7 (requested by skrll in ticket #1725):
Convert to use register prefixes.  (0 -> %r0, etc.)

diffstat:

 lib/libc/arch/powerpc/sys/pipe.S |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (28 lines):

diff -r 41850ffcdefb -r 96f14ed49cda lib/libc/arch/powerpc/sys/pipe.S
--- a/lib/libc/arch/powerpc/sys/pipe.S  Fri Jul 23 13:55:35 2004 +0000
+++ b/lib/libc/arch/powerpc/sys/pipe.S  Fri Jul 23 13:55:41 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pipe.S,v 1.6 2000/09/28 08:38:54 kleink Exp $  */
+/*     $NetBSD: pipe.S,v 1.6.4.1 2004/07/23 13:55:41 tron Exp $        */
 
 #include "SYS.h"
 
@@ -7,13 +7,13 @@
 #endif
 
 ENTRY(_pipe)
-       mr      5,3             # save pointer
-       li      0,SYS_pipe
+       mr      %r5,%r3         # save pointer
+       li      %r0,SYS_pipe
        sc                      # assume, that r5 is kept
        bso     1f
-       stw     3,0(5)          # success, store fds
-       stw     4,4(5)
-       li      3,0
+       stw     %r3,0(%r5)      # success, store fds
+       stw     %r4,4(%r5)
+       li      %r3,0
        blr                     # and return 0
 1:
        b       PIC_PLT(_C_LABEL(__cerror))



Home | Main Index | Thread Index | Old Index