Source-Changes-HG archive

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

[src/trunk]: src/lib/libc Add a space before any non-nullified instruction. ...



details:   https://anonhg.NetBSD.org/src/rev/372e3a3bdfe1
branches:  trunk
changeset: 971811:372e3a3bdfe1
user:      skrll <skrll%NetBSD.org@localhost>
date:      Tue May 05 06:20:55 2020 +0000

description:
Add a space before any non-nullified instruction.  NFCI.

diffstat:

 lib/libc/arch/hppa/gen/__setjmp14.S           |  10 +++++-----
 lib/libc/arch/hppa/gen/_setjmp.S              |  12 ++++++------
 lib/libc/arch/hppa/gen/swapcontext.S          |   6 +++---
 lib/libc/arch/hppa/string/bcmp.S              |   6 +++---
 lib/libc/arch/hppa/string/bzero.S             |  10 +++++-----
 lib/libc/arch/hppa/string/ffs.S               |   4 ++--
 lib/libc/arch/hppa/string/strlcpy.S           |  12 ++++++------
 lib/libc/arch/hppa/sys/__clone.S              |   8 ++++----
 lib/libc/arch/hppa/sys/__sigtramp2.S          |   6 +++---
 lib/libc/arch/hppa/sys/__vfork14.S            |   6 +++---
 lib/libc/arch/hppa/sys/brk.S                  |   8 ++++----
 lib/libc/arch/hppa/sys/cerror.S               |   6 +++---
 lib/libc/arch/hppa/sys/fork.S                 |   6 +++---
 lib/libc/arch/hppa/sys/getcontext.S           |   4 ++--
 lib/libc/arch/hppa/sys/pipe.S                 |   6 +++---
 lib/libc/arch/hppa/sys/sbrk.S                 |   6 +++---
 lib/libc/compat/arch/hppa/sys/compat_Ovfork.S |   6 +++---
 17 files changed, 61 insertions(+), 61 deletions(-)

diffs (truncated from 497 to 300 lines):

diff -r b18eaf7b6eaa -r 372e3a3bdfe1 lib/libc/arch/hppa/gen/__setjmp14.S
--- a/lib/libc/arch/hppa/gen/__setjmp14.S       Tue May 05 06:11:06 2020 +0000
+++ b/lib/libc/arch/hppa/gen/__setjmp14.S       Tue May 05 06:20:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __setjmp14.S,v 1.8 2020/05/04 06:42:11 skrll Exp $     */
+/*     $NetBSD: __setjmp14.S,v 1.9 2020/05/05 06:20:55 skrll Exp $     */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
 #include <machine/psl.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: __setjmp14.S,v 1.8 2020/05/04 06:42:11 skrll Exp $")
+       RCSID("$NetBSD: __setjmp14.S,v 1.9 2020/05/05 06:20:55 skrll Exp $")
 #endif /* LIBC_SCCS and not lint */
 
 /*
@@ -101,7 +101,7 @@
        /* Get signal stack info. */
        ldo     4(%r3), %arg1           ; set up oss
        bl      __sigaltstack14, %rp
-       copy    %r0, %arg0              ; set up ss
+        copy   %r0, %arg0              ; set up ss
 
        /* Recover our jmp_buf and extract SS_ONSTACK */
        ldw     HPPA_FRAME_ARG(0)(%r3), %arg0
@@ -114,14 +114,14 @@
        ldo     40(%arg0), %arg2        ; oset = &sc.sc_mask
        copy    %r0, %arg1              ; set = NULL
        bl      __sigprocmask14, %rp
-       copy    %r0, %arg0              ; action = 0 <ignored>
+        copy   %r0, %arg0              ; action = 0 <ignored>
 
        /* Return 0. */
        ldo     HPPA_FRAME_SIZE(%r3),%sp
        ldwm    -HPPA_FRAME_SIZE(%sp),%r3
        ldw     HPPA_FRAME_CRP(%sp), %rp
        bv      %r0(%rp)
-       copy    %r0, %ret0
+        copy   %r0, %ret0
 EXIT(__setjmp14)
 
        .end
diff -r b18eaf7b6eaa -r 372e3a3bdfe1 lib/libc/arch/hppa/gen/_setjmp.S
--- a/lib/libc/arch/hppa/gen/_setjmp.S  Tue May 05 06:11:06 2020 +0000
+++ b/lib/libc/arch/hppa/gen/_setjmp.S  Tue May 05 06:20:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: _setjmp.S,v 1.5 2020/05/04 06:42:11 skrll Exp $        */
+/*     $NetBSD: _setjmp.S,v 1.6 2020/05/05 06:20:55 skrll Exp $        */
 
 /*-
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -33,7 +33,7 @@
 #include <machine/frame.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: _setjmp.S,v 1.5 2020/05/04 06:42:11 skrll Exp $")
+       RCSID("$NetBSD: _setjmp.S,v 1.6 2020/05/05 06:20:55 skrll Exp $")
 #endif /* LIBC_SCCS and not lint */
 
 /*
@@ -82,7 +82,7 @@
 
        /* Return 0. */
        bv      %r0(%rp)
-       copy    %r0, %ret0
+        copy   %r0, %ret0
 EXIT(_setjmp)
 
 ENTRY(_longjmp,0)
@@ -114,12 +114,12 @@
        ldw     8(%arg0), %sp
        ldw     24(%arg0), %rp
        bv      %r0(%rp)
-       nop
+        nop
 botch:
        bl      longjmperror, %rp
-       nop
+        nop
        bl      abort, %rp
-       nop
+        nop
 EXIT(_longjmp)
 
        .end
diff -r b18eaf7b6eaa -r 372e3a3bdfe1 lib/libc/arch/hppa/gen/swapcontext.S
--- a/lib/libc/arch/hppa/gen/swapcontext.S      Tue May 05 06:11:06 2020 +0000
+++ b/lib/libc/arch/hppa/gen/swapcontext.S      Tue May 05 06:20:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: swapcontext.S,v 1.6 2014/02/19 13:01:51 skrll Exp $    */
+/*     $NetBSD: swapcontext.S,v 1.7 2020/05/05 06:20:55 skrll Exp $    */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
 #include <machine/mcontext.h>
 
 #if defined(SYSLIBC_SCCS) && !defined(lint)
-       RCSID("$NetBSD: swapcontext.S,v 1.6 2014/02/19 13:01:51 skrll Exp $")
+       RCSID("$NetBSD: swapcontext.S,v 1.7 2020/05/05 06:20:55 skrll Exp $")
 #endif /* SYSLIBC_SCCS && !lint */
 
 LEAF_ENTRY(swapcontext)
@@ -52,7 +52,7 @@
        stw     %r1, (_OFFSETOF_UC_GREGS + _REG_PCOQT * SZREG)(%arg1)
        stw     %rp, (_OFFSETOF_UC_GREGS + _REG_PCOQH * SZREG)(%arg1)
        bl      setcontext, %rp
-       stw     %r0, (_OFFSETOF_UC_GREGS + _REG_RET0 * SZREG)(%arg1)
+        stw    %r0, (_OFFSETOF_UC_GREGS + _REG_RET0 * SZREG)(%arg1)
 
        ldw     HPPA_FRAME_CRP(%sp), %rp
        bv,n    %r0(%rp)
diff -r b18eaf7b6eaa -r 372e3a3bdfe1 lib/libc/arch/hppa/string/bcmp.S
--- a/lib/libc/arch/hppa/string/bcmp.S  Tue May 05 06:11:06 2020 +0000
+++ b/lib/libc/arch/hppa/string/bcmp.S  Tue May 05 06:20:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bcmp.S,v 1.2 2003/10/06 05:30:21 matt Exp $    */
+/*     $NetBSD: bcmp.S,v 1.3 2020/05/05 06:20:55 skrll Exp $   */
 
 /*     $OpenBSD: bcmp.S,v 1.3 2001/06/04 23:14:02 mickey Exp $ */
 
@@ -74,11 +74,11 @@
        ldbs,ma 1(%arg1),%t2
        comb,<>,n %t1,%t2,$bcmp_exit
        addib,<> -1,%arg2,$bcmp_loop
-       nop
+        nop
 
 $bcmp_exit:
        bv      0(%r2)
-       sub     %t1,%t2,%ret0
+        sub    %t1,%t2,%ret0
 
 EXIT(bcmp)
 
diff -r b18eaf7b6eaa -r 372e3a3bdfe1 lib/libc/arch/hppa/string/bzero.S
--- a/lib/libc/arch/hppa/string/bzero.S Tue May 05 06:11:06 2020 +0000
+++ b/lib/libc/arch/hppa/string/bzero.S Tue May 05 06:20:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bzero.S,v 1.3 2020/05/03 15:29:22 skrll Exp $  */
+/*     $NetBSD: bzero.S,v 1.4 2020/05/05 06:20:55 skrll Exp $  */
 
 /*     $OpenBSD: bzero.S,v 1.3 2001/06/04 23:14:02 mickey Exp $        */
 
@@ -77,7 +77,7 @@
         stwm    %r0,4(%arg0)
         stwm    %r0,4(%arg0)
        comib,<<        15, %arg1, $bzero_loop_16
-       addi            -16, %arg1, %arg1
+        addi           -16, %arg1, %arg1
 
        /*
         * see if there is anything left that needs to be zeroed in a word
@@ -90,7 +90,7 @@
 
 $bzero_loop_4:
         addib,>= -4,%arg1,$bzero_loop_4
-        stbys,b,m %r0,4(%arg0)
+         stbys,b,m %r0,4(%arg0)
 
        /*
         * zero the last bytes that may be unaligned on a word boundary
@@ -100,7 +100,7 @@
         addib,=,n 4,%arg1,$bzero_exit
         add    %arg0,%arg1,%arg0
         b       $bzero_exit
-        stbys,e %r0,0(%arg0)
+         stbys,e %r0,0(%arg0)
        b,n     $bzero_exit
 
 
@@ -110,7 +110,7 @@
 
 $bzero_bytes:
         addib,> -1,%arg1,$bzero_bytes
-        stbs,ma %r0,1(%arg0)
+         stbs,ma %r0,1(%arg0)
 
 $bzero_exit:
        bv,n    %r0(%rp)
diff -r b18eaf7b6eaa -r 372e3a3bdfe1 lib/libc/arch/hppa/string/ffs.S
--- a/lib/libc/arch/hppa/string/ffs.S   Tue May 05 06:11:06 2020 +0000
+++ b/lib/libc/arch/hppa/string/ffs.S   Tue May 05 06:20:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs.S,v 1.4 2020/05/03 15:29:22 skrll Exp $    */
+/*     $NetBSD: ffs.S,v 1.5 2020/05/05 06:20:55 skrll Exp $    */
 
 /*     $OpenBSD: ffs.S,v 1.3 2001/06/04 23:14:02 mickey Exp $  */
 
@@ -40,7 +40,7 @@
 
 LEAF_ENTRY(ffs)
        comb,=  %arg0,%r0,ffsdone       ; If arg0 is 0
-       or      %r0,%r0,%ret0           ;   return 0
+        or     %r0,%r0,%ret0           ;   return 0
        ldi     32,%ret0                ; Set return to high bit
        extru,= %arg0,31,16,%r0         ; If low 16 bits are non-zero
        addi,tr -16,%ret0,%ret0         ;   subtract 16 from bitpos
diff -r b18eaf7b6eaa -r 372e3a3bdfe1 lib/libc/arch/hppa/string/strlcpy.S
--- a/lib/libc/arch/hppa/string/strlcpy.S       Tue May 05 06:11:06 2020 +0000
+++ b/lib/libc/arch/hppa/string/strlcpy.S       Tue May 05 06:20:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: strlcpy.S,v 1.4 2020/05/03 15:29:22 skrll Exp $        */
+/*     $NetBSD: strlcpy.S,v 1.5 2020/05/05 06:20:55 skrll Exp $        */
 
 /*
  * Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
 #include <machine/asm.h>
 
 #if defined(LIBC_SCCS) && !defined(lint)
-        RCSID("$NetBSD: strlcpy.S,v 1.4 2020/05/03 15:29:22 skrll Exp $")
+        RCSID("$NetBSD: strlcpy.S,v 1.5 2020/05/05 06:20:55 skrll Exp $")
 #endif /* LIBC_SCCS and not lint */
 
 /*
@@ -51,7 +51,7 @@
         * of the src string.
         */
        comb,=          %r0, %arg2, $strlcpy_dst_done
-       copy            %arg1, %ret0
+        copy           %arg1, %ret0
 
        /*
         * If our dst buffer is one byte, branch immediately
@@ -67,9 +67,9 @@
         */
 $strlcpy_loop:
        comb,=          %r0, %r1, $strlcpy_exit
-       stbs,ma         %r1, 1(%arg0)
+        stbs,ma        %r1, 1(%arg0)
        addib,<>        -1, %arg2, $strlcpy_loop
-       ldbs,ma         1(%arg1), %r1
+        ldbs,ma        1(%arg1), %r1
 
 $strlcpy_dst_full:
        stbs,ma         %r0, 1(%arg0)
@@ -80,5 +80,5 @@
 
 $strlcpy_exit:
        bv              %r0(%rp)
-       sub             %arg1, %ret0, %ret0
+        sub            %arg1, %ret0, %ret0
 EXIT(strlcpy)
diff -r b18eaf7b6eaa -r 372e3a3bdfe1 lib/libc/arch/hppa/sys/__clone.S
--- a/lib/libc/arch/hppa/sys/__clone.S  Tue May 05 06:11:06 2020 +0000
+++ b/lib/libc/arch/hppa/sys/__clone.S  Tue May 05 06:20:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __clone.S,v 1.6 2008/04/28 20:22:56 martin Exp $       */
+/*     $NetBSD: __clone.S,v 1.7 2020/05/05 06:20:55 skrll Exp $        */
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -48,9 +48,9 @@
         */
        ldi     EINVAL, %t1
        comb,=  %r0, %arg0, __cerror
-       nop
+        nop
        comb,=  %r0, %arg1, __cerror
-       nop
+        nop
 
        /*
         * Put the func and arg arguments into a frame in the child's stack.
@@ -76,7 +76,7 @@
        /* Call the clone's entry point. */
        stw     %r19, HPPA_FRAME_ARG(2)(%sp)
        bl      $$dyncall, %r31
-       copy    %r31, %rp
+        copy   %r31, %rp
        ldw     HPPA_FRAME_ARG(2)(%sp), %r19
 
        /* Pass the return value to _exit(). */
diff -r b18eaf7b6eaa -r 372e3a3bdfe1 lib/libc/arch/hppa/sys/__sigtramp2.S
--- a/lib/libc/arch/hppa/sys/__sigtramp2.S      Tue May 05 06:11:06 2020 +0000
+++ b/lib/libc/arch/hppa/sys/__sigtramp2.S      Tue May 05 06:20:55 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: __sigtramp2.S,v 1.5 2014/03/06 19:02:58 skrll Exp $    */
+/*     $NetBSD: __sigtramp2.S,v 1.6 2020/05/05 06:20:55 skrll Exp $    */
 
 /*
  * Copyright (c) 1998-2001 Michael Shalayeff
@@ -122,12 +122,12 @@
        ldil    L%SYSCALLGATE, %r1
        .call
        ble     4(%sr2, %r1)
-       ldi     SYS_setcontext, %t1
+        ldi    SYS_setcontext, %t1
 
        /* Make a SYS_exit system call. */
        copy    %ret0, %arg0
        ldil    L%SYSCALLGATE, %r1
        .call
        ble     4(%sr2, %r1)
-       ldi     SYS_exit, %t1
+        ldi    SYS_exit, %t1
 EXIT(__sigtramp_siginfo_2)



Home | Main Index | Thread Index | Old Index