Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/mips/sys Use t1 instead of v1



details:   https://anonhg.NetBSD.org/src/rev/bfdf4415f4c9
branches:  trunk
changeset: 787607:bfdf4415f4c9
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Jun 26 08:38:34 2013 +0000

description:
Use t1 instead of v1

diffstat:

 lib/libc/arch/mips/sys/sbrk.S |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (33 lines):

diff -r 553a81ea6d79 -r bfdf4415f4c9 lib/libc/arch/mips/sys/sbrk.S
--- a/lib/libc/arch/mips/sys/sbrk.S     Wed Jun 26 08:38:03 2013 +0000
+++ b/lib/libc/arch/mips/sys/sbrk.S     Wed Jun 26 08:38:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbrk.S,v 1.18 2010/12/12 09:03:06 tsutsui Exp $        */
+/*     $NetBSD: sbrk.S,v 1.19 2013/06/26 08:38:34 matt Exp $   */
 
 /*-
  * Copyright (c) 1991, 1993
@@ -38,7 +38,7 @@
 #if 0
        RCSID("from: @(#)sbrk.s 8.1 (Berkeley) 6/4/93")
 #else
-       RCSID("$NetBSD: sbrk.S,v 1.18 2010/12/12 09:03:06 tsutsui Exp $")
+       RCSID("$NetBSD: sbrk.S,v 1.19 2013/06/26 08:38:34 matt Exp $")
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -57,11 +57,11 @@
 LEAF(_sbrk)
        PIC_PROLOGUE(_sbrk)
        PTR_LA          t0, _C_LABEL(__curbrk)
-       PTR_L           v1, 0(t0)
-       PTR_ADDU        a0, a0, v1      # compute current break
+       PTR_L           t1, 0(t0)
+       PTR_ADDU        a0, a0, t1      # compute current break
        SYSTRAP(break)
        bne             a3, zero, 1f
-       move            v0, v1          # return old val of curbrk from above
+       move            v0, t1          # return old val of curbrk from above
        PTR_LA          t0, _C_LABEL(__curbrk)
        PTR_S           a0, 0(t0)       # save current val of curbrk from above
        PIC_RETURN()



Home | Main Index | Thread Index | Old Index