Source-Changes-HG archive

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

[src/trunk]: src/lib/libc/arch/sh3 style fix (no functional change)



details:   https://anonhg.NetBSD.org/src/rev/30d4bf31fef7
branches:  trunk
changeset: 509752:30d4bf31fef7
user:      msaitoh <msaitoh%NetBSD.org@localhost>
date:      Fri May 11 19:58:06 2001 +0000

description:
style fix (no functional change)

diffstat:

 lib/libc/arch/sh3/gen/__setjmp14.S    |  14 +++---
 lib/libc/arch/sh3/gen/__sigsetjmp14.S |  12 +++---
 lib/libc/arch/sh3/gen/movstr.S        |   8 ++--
 lib/libc/arch/sh3/gen/movstrSI.S      |  66 +++++++++++++++++-----------------
 lib/libc/arch/sh3/gen/sdivsi3.S       |   6 +-
 lib/libc/arch/sh3/gen/setjmp.S        |  18 ++++----
 lib/libc/arch/sh3/gen/sigsetjmp.S     |  12 +++---
 lib/libc/arch/sh3/gen/udivsi3.S       |   6 +-
 lib/libc/arch/sh3/sys/Ovfork.S        |  12 +++---
 lib/libc/arch/sh3/sys/__syscall.S     |  10 ++--
 lib/libc/arch/sh3/sys/__vfork14.S     |   8 ++--
 lib/libc/arch/sh3/sys/brk.S           |   6 +--
 lib/libc/arch/sh3/sys/cerror.S        |  16 ++++----
 lib/libc/arch/sh3/sys/exect.S         |   8 ++--
 lib/libc/arch/sh3/sys/fork.S          |  35 +++++++-----------
 lib/libc/arch/sh3/sys/pipe.S          |   8 ++--
 lib/libc/arch/sh3/sys/ptrace.S        |   6 +-
 lib/libc/arch/sh3/sys/sbrk.S          |  10 ++--
 lib/libc/arch/sh3/sys/setlogin.S      |   8 ++--
 lib/libc/arch/sh3/sys/sigpending.S    |   8 ++--
 lib/libc/arch/sh3/sys/sigprocmask.S   |  25 ++++++------
 lib/libc/arch/sh3/sys/sigsuspend.S    |  10 ++--
 lib/libc/arch/sh3/sys/syscall.S       |  10 ++--
 23 files changed, 156 insertions(+), 166 deletions(-)

diffs (truncated from 917 to 300 lines):

diff -r a55b2381a4ed -r 30d4bf31fef7 lib/libc/arch/sh3/gen/__setjmp14.S
--- a/lib/libc/arch/sh3/gen/__setjmp14.S        Fri May 11 19:19:44 2001 +0000
+++ b/lib/libc/arch/sh3/gen/__setjmp14.S        Fri May 11 19:58:06 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __setjmp14.S,v 1.3 2001/02/14 11:32:44 msaitoh Exp $   */
+/*     $NetBSD: __setjmp14.S,v 1.4 2001/05/11 19:58:06 msaitoh Exp $   */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,7 +40,7 @@
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: __setjmp14.S,v 1.3 2001/02/14 11:32:44 msaitoh Exp $")
+       RCSID("$NetBSD: __setjmp14.S,v 1.4 2001/05/11 19:58:06 msaitoh Exp $")
 #endif
 
 /*
@@ -57,9 +57,9 @@
        sts.l   pr, @-r15
        mov.l   r4, @-r15
        mov     r4, r6
-       mov     #1, r4          ! SIG_BLOCK
+       mov     #1, r4          /* SIG_BLOCK */
        mov     #0, r5
-       add     #4*10, r6       ! &sigmask
+       add     #4*10, r6       /* &sigmask */
 
        mov.l   L__sigprocmask14, r0
        jsr     @r0
@@ -69,7 +69,7 @@
        lds.l   @r15+, pr
        add     #4*10, r4
        mov     #1, r0
-       mov.l   r0, @-r4        ! savemask
+       mov.l   r0, @-r4        /* savemask */
        mov.l   r15, @-r4
        mov.l   r14, @-r4
        mov.l   r13, @-r4
@@ -87,8 +87,8 @@
        mov.l   r5, @-r15
 
        mov     r4, r5
-       mov     #3, r4          ! SIG_SETMASK
-       add     #4*10, r5       ! &sigmask
+       mov     #3, r4          /* SIG_SETMASK */
+       add     #4*10, r5       /* &sigmask */
        mov     #0, r6
        mov.l   L__sigprocmask14, r0
        jsr     @r0
diff -r a55b2381a4ed -r 30d4bf31fef7 lib/libc/arch/sh3/gen/__sigsetjmp14.S
--- a/lib/libc/arch/sh3/gen/__sigsetjmp14.S     Fri May 11 19:19:44 2001 +0000
+++ b/lib/libc/arch/sh3/gen/__sigsetjmp14.S     Fri May 11 19:58:06 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __sigsetjmp14.S,v 1.3 2001/02/14 11:32:44 msaitoh Exp $        */
+/*     $NetBSD: __sigsetjmp14.S,v 1.4 2001/05/11 19:58:07 msaitoh Exp $        */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,7 +40,7 @@
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: __sigsetjmp14.S,v 1.3 2001/02/14 11:32:44 msaitoh Exp $")
+       RCSID("$NetBSD: __sigsetjmp14.S,v 1.4 2001/05/11 19:58:07 msaitoh Exp $")
 #endif
 
 ENTRY(__sigsetjmp14)
@@ -51,9 +51,9 @@
        mov.l   r4, @-r15
        mov.l   r5, @-r15
        mov     r4, r6
-       mov     #1, r4          ! SIG_BLOCK
+       mov     #1, r4          /* SIG_BLOCK */
        mov     #0, r5
-       add     #4*10, r6       ! &sigmask
+       add     #4*10, r6       /* &sigmask */
 
        mov.l   L__sigprocmask14, r0
        jsr     @r0
@@ -88,8 +88,8 @@
        mov.l   r4, @-r15
        mov.l   r5, @-r15
        mov     r4, r5
-       mov     #3, r4          ! SIG_SETMASK
-       add     #4*10, r5       ! &sigmask
+       mov     #3, r4          /* SIG_SETMASK */
+       add     #4*10, r5       /* &sigmask */
        mov     #0, r6
        mov.l   L__sigprocmask14, r0
        jsr     @r0
diff -r a55b2381a4ed -r 30d4bf31fef7 lib/libc/arch/sh3/gen/movstr.S
--- a/lib/libc/arch/sh3/gen/movstr.S    Fri May 11 19:19:44 2001 +0000
+++ b/lib/libc/arch/sh3/gen/movstr.S    Fri May 11 19:58:06 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: movstr.S,v 1.2 2001/02/14 11:32:44 msaitoh Exp $       */
+/*     $NetBSD: movstr.S,v 1.3 2001/05/11 19:58:07 msaitoh Exp $       */
 
 /*-
  * Copyright (C) 1999 Tsubai Masanari.  All rights reserved.
@@ -33,7 +33,7 @@
        cmp/gt  r0, r6
        bf      loop2
 
-       .align 2
+       .align  2
 loop1:
        mov.l   @r5+, r0
        mov.l   r0, @r4
@@ -76,7 +76,7 @@
 
 loop2:
        add     #-32, r6
-       .align 2
+       .align  2
 1:
        mov.l   @r5+, r0
        mov.l   r0, @r4
@@ -85,5 +85,5 @@
        tst     r6, r6
        bf      1b
 
-       rts     
+       rts
        nop
diff -r a55b2381a4ed -r 30d4bf31fef7 lib/libc/arch/sh3/gen/movstrSI.S
--- a/lib/libc/arch/sh3/gen/movstrSI.S  Fri May 11 19:19:44 2001 +0000
+++ b/lib/libc/arch/sh3/gen/movstrSI.S  Fri May 11 19:58:06 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: movstrSI.S,v 1.3 2001/02/14 21:04:17 msaitoh Exp $     */
+/*     $NetBSD: movstrSI.S,v 1.4 2001/05/11 19:58:07 msaitoh Exp $     */
 
 /*
  * Copyright (c) 2000 SHIMIZU Ryo.  All rights reserved.
@@ -29,51 +29,51 @@
 #include <machine/asm.h>
 
 NENTRY(__movstrSI64)
-       mov.l   @(60,r5),r0
-       mov.l   r0,@(60,r4)
+       mov.l   @(60, r5), r0
+       mov.l   r0, @(60, r4)
 ALTENTRY(__movstrSI60)
-       mov.l   @(56,r5),r0
-       mov.l   r0,@(56,r4)
+       mov.l   @(56, r5), r0
+       mov.l   r0, @(56, r4)
 ALTENTRY(__movstrSI56)
-       mov.l   @(52,r5),r0
-       mov.l   r0,@(52,r4)
+       mov.l   @(52, r5), r0
+       mov.l   r0, @(52, r4)
 ALTENTRY(__movstrSI52)
-       mov.l   @(48,r5),r0
-       mov.l   r0,@(48,r4)
+       mov.l   @(48, r5), r0
+       mov.l   r0, @(48, r4)
 ALTENTRY(__movstrSI48)
-       mov.l   @(44,r5),r0
-       mov.l   r0,@(44,r4)
+       mov.l   @(44, r5), r0
+       mov.l   r0, @(44, r4)
 ALTENTRY(__movstrSI44)
-       mov.l   @(40,r5),r0
-       mov.l   r0,@(40,r4)
+       mov.l   @(40, r5), r0
+       mov.l   r0, @(40, r4)
 ALTENTRY(__movstrSI40)
-       mov.l   @(36,r5),r0
-       mov.l   r0,@(36,r4)
+       mov.l   @(36, r5), r0
+       mov.l   r0, @(36, r4)
 ALTENTRY(__movstrSI36)
-       mov.l   @(32,r5),r0
-       mov.l   r0,@(32,r4)
+       mov.l   @(32, r5), r0
+       mov.l   r0, @(32, r4)
 ALTENTRY(__movstrSI32)
-       mov.l   @(28,r5),r0
-       mov.l   r0,@(28,r4)
+       mov.l   @(28, r5), r0
+       mov.l   r0, @(28, r4)
 ALTENTRY(__movstrSI28)
-       mov.l   @(24,r5),r0
-       mov.l   r0,@(24,r4)
+       mov.l   @(24, r5), r0
+       mov.l   r0, @(24, r4)
 ALTENTRY(__movstrSI24)
-       mov.l   @(20,r5),r0
-       mov.l   r0,@(20,r4)
+       mov.l   @(20, r5), r0
+       mov.l   r0, @(20, r4)
 ALTENTRY(__movstrSI20)
-       mov.l   @(16,r5),r0
-       mov.l   r0,@(16,r4)
+       mov.l   @(16, r5), r0
+       mov.l   r0, @(16, r4)
 ALTENTRY(__movstrSI16)
-       mov.l   @(12,r5),r0
-       mov.l   r0,@(12,r4)
+       mov.l   @(12, r5), r0
+       mov.l   r0, @(12, r4)
 ALTENTRY(__movstrSI12)
-       mov.l   @(8,r5),r0
-       mov.l   r0,@(8,r4)
+       mov.l   @(8, r5), r0
+       mov.l   r0, @(8, r4)
 ALTENTRY(__movstrSI8)
-       mov.l   @(4,r5),r0
-       mov.l   r0,@(4,r4)
+       mov.l   @(4, r5), r0
+       mov.l   r0, @(4, r4)
 ALTENTRY(__movstrSI4)
-       mov.l   @r5,r0
+       mov.l   @r5, r0
        rts
-       mov.l   r0,@r4
+       mov.l   r0, @r4
diff -r a55b2381a4ed -r 30d4bf31fef7 lib/libc/arch/sh3/gen/sdivsi3.S
--- a/lib/libc/arch/sh3/gen/sdivsi3.S   Fri May 11 19:19:44 2001 +0000
+++ b/lib/libc/arch/sh3/gen/sdivsi3.S   Fri May 11 19:58:06 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sdivsi3.S,v 1.3 2001/02/14 11:32:44 msaitoh Exp $      */
+/*     $NetBSD: sdivsi3.S,v 1.4 2001/05/11 19:58:07 msaitoh Exp $      */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,7 +40,7 @@
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: sdivsi3.S,v 1.3 2001/02/14 11:32:44 msaitoh Exp $")
+       RCSID("$NetBSD: sdivsi3.S,v 1.4 2001/05/11 19:58:07 msaitoh Exp $")
 #endif
 
 /* r0 <= r4 / r5 */
@@ -86,7 +86,7 @@
        rts
        mov.l   @r15+, r14      /* delay slot */
 
-       .align 2
+       .align  2
 L_raise:
        .long   _C_LABEL(raise)
 #endif
diff -r a55b2381a4ed -r 30d4bf31fef7 lib/libc/arch/sh3/gen/setjmp.S
--- a/lib/libc/arch/sh3/gen/setjmp.S    Fri May 11 19:19:44 2001 +0000
+++ b/lib/libc/arch/sh3/gen/setjmp.S    Fri May 11 19:58:06 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: setjmp.S,v 1.3 2001/02/14 11:32:44 msaitoh Exp $       */
+/*     $NetBSD: setjmp.S,v 1.4 2001/05/11 19:58:07 msaitoh Exp $       */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -40,7 +40,7 @@
 
 #include <machine/asm.h>
 #if defined(LIBC_SCCS)
-       RCSID("$NetBSD: setjmp.S,v 1.3 2001/02/14 11:32:44 msaitoh Exp $")
+       RCSID("$NetBSD: setjmp.S,v 1.4 2001/05/11 19:58:07 msaitoh Exp $")
 #endif
 
 /*
@@ -54,19 +54,19 @@
  */
 
 ENTRY(setjmp)
-       sts.l   pr,@-r15
-       mov.l   r4,@-r15
+       sts.l   pr, @-r15
+       mov.l   r4, @-r15
        mov     #0, r4
        mov.l   Lsigblock, r0
        jsr     @r0
        nop
        mov.l   @r15+, r4
        lds.l   @r15+, pr
-       
+
        add     #4*11, r4
-       mov.l   r0, @-r4        ! sigmask
+       mov.l   r0, @-r4        /* sigmask */
        mov     #1, r0
-       mov.l   r0, @-r4        ! savemask
+       mov.l   r0, @-r4        /* savemask */
        mov.l   r15, @-r4
        mov.l   r14, @-r4
        mov.l   r13, @-r4
@@ -79,7 +79,7 @@
        rts
        xor     r0, r0
 
-       .align 2
+       .align  2
 Lsigblock:
        .long   _C_LABEL(sigblock)
 
@@ -94,7 +94,7 @@
        nop
        mov.l   @r15+, r5



Home | Main Index | Thread Index | Old Index