Source-Changes-HG archive

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

[src/trunk]: src/sys/arch fix the usage of .align 2



details:   https://anonhg.NetBSD.org/src/rev/e874566cc110
branches:  trunk
changeset: 479806:e874566cc110
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Tue Dec 21 21:41:56 1999 +0000

description:
fix the usage of .align 2

diffstat:

 sys/arch/evbsh3/evbsh3/locore.s |  11 ++++++-----
 sys/arch/mmeye/mmeye/locore.s   |  11 ++++++-----
 2 files changed, 12 insertions(+), 10 deletions(-)

diffs (100 lines):

diff -r c75ff928aa5a -r e874566cc110 sys/arch/evbsh3/evbsh3/locore.s
--- a/sys/arch/evbsh3/evbsh3/locore.s   Tue Dec 21 21:07:42 1999 +0000
+++ b/sys/arch/evbsh3/evbsh3/locore.s   Tue Dec 21 21:41:56 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.5 1999/12/21 17:46:54 msaitoh Exp $       */
+/*     $NetBSD: locore.s,v 1.6 1999/12/21 21:41:56 msaitoh Exp $       */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1997
@@ -342,8 +342,9 @@
        mov.l   XLinitSH3, r0
        jsr     @r0             /* call initSH3() */
        nop
+
+       .align  2
 1:
-       .align  2
 #if 1
        mov.l   XLKernelStack, r3
        mov.l   r15, @r3
@@ -554,8 +555,8 @@
        jsr     @r0
        nop
 
+       .align  2
 1:
-       .align  2
        .asciz  "cpu_swicth"
        .align  2
 XL_panic:      .long   _panic
@@ -787,8 +788,8 @@
        bra     3f
        nop
 
+       .align  2
 1:
-       .align  2
        .asciz  "switch[i=%d,whichqs=0x%0x]\n"
        .align  2
 2:
@@ -1438,8 +1439,8 @@
        rts
        nop
 
+       .align  2
 1:
-       .align  2
        .asciz  "sp=0x%x\n"
        .align  2
 2:
diff -r c75ff928aa5a -r e874566cc110 sys/arch/mmeye/mmeye/locore.s
--- a/sys/arch/mmeye/mmeye/locore.s     Tue Dec 21 21:07:42 1999 +0000
+++ b/sys/arch/mmeye/mmeye/locore.s     Tue Dec 21 21:41:56 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: locore.s,v 1.6 1999/12/21 17:46:55 msaitoh Exp $       */
+/*     $NetBSD: locore.s,v 1.7 1999/12/21 21:41:58 msaitoh Exp $       */
 
 /*-
  * Copyright (c) 1993, 1994, 1995, 1997
@@ -346,8 +346,9 @@
        mov.l   XLinitSH3, r0
        jsr     @r0             /* call initSH3() */
        nop
+
+       .align  2
 1:
-       .align  2
 #if 1
        mov.l   XLKernelStack, r3
        mov.l   r15, @r3
@@ -550,8 +551,8 @@
        jsr     @r0
        nop
 
+       .align  2
 1:
-       .align  2
        .asciz  "cpu_swicth"
        .align  2
 XL_panic:
@@ -725,8 +726,8 @@
        bra     3f
        nop
 
+       .align  2
 1:
-       .align  2
        .asciz  "switch[i=%d,whichqs=0x%0x]\n"
        .align  2
 2:     .long   _C_LABEL(printf)
@@ -1291,8 +1292,8 @@
        rts
        nop
 
+       .align  2
 1:
-       .align  2
        .asciz  "sp=0x%x\n"
        .align  2
 2:     .long   _C_LABEL(printf)



Home | Main Index | Thread Index | Old Index