Source-Changes-HG archive

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

[src/nathanw_sa]: src/lib/libc/arch/sparc/gen Cosmetic: use "clr [...]" inste...



details:   https://anonhg.NetBSD.org/src/rev/dd86c4f7b6d8
branches:  nathanw_sa
changeset: 506506:dd86c4f7b6d8
user:      uwe <uwe%NetBSD.org@localhost>
date:      Fri Nov 29 15:25:22 2002 +0000

description:
Cosmetic: use "clr [...]" instead of "st %g0, [...]".

diffstat:

 lib/libc/arch/sparc/gen/getcontext.S |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r adeaf0e62c0c -r dd86c4f7b6d8 lib/libc/arch/sparc/gen/getcontext.S
--- a/lib/libc/arch/sparc/gen/getcontext.S      Fri Nov 29 15:22:47 2002 +0000
+++ b/lib/libc/arch/sparc/gen/getcontext.S      Fri Nov 29 15:25:22 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: getcontext.S,v 1.1.2.1 2002/11/21 23:21:30 martin Exp $        */
+/*     $NetBSD: getcontext.S,v 1.1.2.2 2002/11/29 15:25:22 uwe Exp $   */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -39,7 +39,7 @@
 #include "SYS.h"
 
 #if defined(SYSLIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: getcontext.S,v 1.1.2.1 2002/11/21 23:21:30 martin Exp $")
+       RCSID("$NetBSD: getcontext.S,v 1.1.2.2 2002/11/29 15:25:22 uwe Exp $")
 #endif /* SYSLIBC_SCCS && !lint */
 
 #ifdef WEAK_ALIAS
@@ -51,7 +51,7 @@
        mov     SYS_getcontext, %g1
        t       ST_SYSCALL
        bcc,a   1f
-        st     %g0, [%o2 + 40 + 11 * 4]        ! gr[_REG_O0] = 0
+        clr    [%o2 + 40 + 11 * 4]             ! gr[_REG_O0] = 0
        ERROR()
 1:
        add     %o7, 8, %o1



Home | Main Index | Thread Index | Old Index