Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch The argument of stwu is displacement(register), but...
details: https://anonhg.NetBSD.org/src/rev/a161a07da20b
branches: trunk
changeset: 331213:a161a07da20b
user: joerg <joerg%NetBSD.org@localhost>
date: Tue Aug 05 16:28:39 2014 +0000
description:
The argument of stwu is displacement(register), but GAS translates the
%rX mnemonic very early into plain X, so it seemingly accepts
%register(displacement) as well. Be consistent in the formatting for
human consumption.
diffstat:
sys/arch/evbppc/obs405/obs200_locore.S | 4 ++--
sys/arch/evbppc/obs405/obs600_locore.S | 4 ++--
sys/arch/evbppc/walnut/walnut_start.S | 4 ++--
sys/arch/powerpc/ibm4xx/openbios/locore.S | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
diffs (72 lines):
diff -r 7d0ec6c79eac -r a161a07da20b sys/arch/evbppc/obs405/obs200_locore.S
--- a/sys/arch/evbppc/obs405/obs200_locore.S Tue Aug 05 16:22:01 2014 +0000
+++ b/sys/arch/evbppc/obs405/obs200_locore.S Tue Aug 05 16:28:39 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: obs200_locore.S,v 1.11 2011/06/20 19:56:11 matt Exp $ */
+/* $NetBSD: obs200_locore.S,v 1.12 2014/08/05 16:28:39 joerg Exp $ */
/* Original Tag: locore.S,v 1.1 2003/09/23 15:21:58 shige Exp */
/* $OpenBSD: locore.S,v 1.4 1997/01/26 09:06:38 rahnds Exp $ */
@@ -170,7 +170,7 @@
addi %r8,%r8,_C_LABEL(end)@l
/* zero bss */
li %r4,0
-2: stwu %r4,%r4(3)
+2: stwu %r4,4(%r3)
cmpw %r3,%r8
bne+ 2b
diff -r 7d0ec6c79eac -r a161a07da20b sys/arch/evbppc/obs405/obs600_locore.S
--- a/sys/arch/evbppc/obs405/obs600_locore.S Tue Aug 05 16:22:01 2014 +0000
+++ b/sys/arch/evbppc/obs405/obs600_locore.S Tue Aug 05 16:28:39 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: obs600_locore.S,v 1.5 2011/12/12 11:28:04 kiyohara Exp $ */
+/* $NetBSD: obs600_locore.S,v 1.6 2014/08/05 16:28:39 joerg Exp $ */
/*
* Copyright (c) 2009 KIYOHARA Takashi
@@ -88,7 +88,7 @@
addi %r8, %r8, _C_LABEL(end)@l
/* zero bss */
li %r4, 0
-2: stwu %r4, %r4(3)
+2: stwu %r4, 4(%r3)
cmpw %r3, %r8
bne+ 2b
diff -r 7d0ec6c79eac -r a161a07da20b sys/arch/evbppc/walnut/walnut_start.S
--- a/sys/arch/evbppc/walnut/walnut_start.S Tue Aug 05 16:22:01 2014 +0000
+++ b/sys/arch/evbppc/walnut/walnut_start.S Tue Aug 05 16:28:39 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: walnut_start.S,v 1.22 2011/06/20 19:56:11 matt Exp $ */
+/* $NetBSD: walnut_start.S,v 1.23 2014/08/05 16:28:39 joerg Exp $ */
/* $OpenBSD: locore.S,v 1.4 1997/01/26 09:06:38 rahnds Exp $ */
/*
@@ -172,7 +172,7 @@
addi %r8,%r8,_C_LABEL(end)@l
/* zero bss */
li %r4,0
-2: stwu %r4,%r4(%r3)
+2: stwu %r4,4(%r3)
cmpw %r3,%r8
bne+ 2b
diff -r 7d0ec6c79eac -r a161a07da20b sys/arch/powerpc/ibm4xx/openbios/locore.S
--- a/sys/arch/powerpc/ibm4xx/openbios/locore.S Tue Aug 05 16:22:01 2014 +0000
+++ b/sys/arch/powerpc/ibm4xx/openbios/locore.S Tue Aug 05 16:28:39 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: locore.S,v 1.10 2011/06/20 19:56:12 matt Exp $ */
+/* $NetBSD: locore.S,v 1.11 2014/08/05 16:28:39 joerg Exp $ */
/* $OpenBSD: locore.S,v 1.4 1997/01/26 09:06:38 rahnds Exp $ */
/*
@@ -193,7 +193,7 @@
addi %r8,%r8,_C_LABEL(end)@l
/* zero bss */
li %r4,0
-2: stwu %r4,%r4(3)
+2: stwu %r4,4(%r3)
cmpw %r3,%r8
bne+ 2b
Home |
Main Index |
Thread Index |
Old Index