summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m88k/sys
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-01-07 22:01:36 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-01-07 22:01:36 +0000
commit6606aa1c278fffb858c92f06db452f6e388d1508 (patch)
tree9652dfcd42b8bb9070bbdd85702ed02436aaf4f8 /lib/libc/arch/m88k/sys
parentc25efccd5d2ffbfd33715299f91e5d6b4bfe7641 (diff)
Get static rcsid correctly, better style for .S files, trim whitespace.
Diffstat (limited to 'lib/libc/arch/m88k/sys')
-rw-r--r--lib/libc/arch/m88k/sys/Ovfork.S10
-rw-r--r--lib/libc/arch/m88k/sys/brk.S14
-rw-r--r--lib/libc/arch/m88k/sys/cerror.S12
-rw-r--r--lib/libc/arch/m88k/sys/exect.S10
-rw-r--r--lib/libc/arch/m88k/sys/fork.S10
-rw-r--r--lib/libc/arch/m88k/sys/reboot.S12
-rw-r--r--lib/libc/arch/m88k/sys/rfork.S10
-rw-r--r--lib/libc/arch/m88k/sys/sbrk.S12
-rw-r--r--lib/libc/arch/m88k/sys/setlogin.S10
-rw-r--r--lib/libc/arch/m88k/sys/sigpending.S12
-rw-r--r--lib/libc/arch/m88k/sys/sigprocmask.S24
-rw-r--r--lib/libc/arch/m88k/sys/sigreturn.S11
-rw-r--r--lib/libc/arch/m88k/sys/sigsuspend.S12
-rw-r--r--lib/libc/arch/m88k/sys/syscall.S10
14 files changed, 71 insertions, 98 deletions
diff --git a/lib/libc/arch/m88k/sys/Ovfork.S b/lib/libc/arch/m88k/sys/Ovfork.S
index e59567862cb..f84000d6382 100644
--- a/lib/libc/arch/m88k/sys/Ovfork.S
+++ b/lib/libc/arch/m88k/sys/Ovfork.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: Ovfork.S,v 1.3 2003/01/02 21:40:46 miod Exp $ */
+/* $OpenBSD: Ovfork.S,v 1.4 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,12 +37,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)fork.s 5.1 (Berkeley) 5/12/90"*/
- .asciz "$OpenBSD: Ovfork.S,v 1.3 2003/01/02 21:40:46 miod Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: Ovfork.S,v 1.4 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
diff --git a/lib/libc/arch/m88k/sys/brk.S b/lib/libc/arch/m88k/sys/brk.S
index a5b5e874d87..78199cdb4bd 100644
--- a/lib/libc/arch/m88k/sys/brk.S
+++ b/lib/libc/arch/m88k/sys/brk.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: brk.S,v 1.4 2003/01/02 20:25:31 miod Exp $ */
+/* $OpenBSD: brk.S,v 1.5 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,12 +37,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)brk.s 5.1 (Berkeley) 5/12/90"*/
- .asciz "$OpenBSD: brk.S,v 1.4 2003/01/02 20:25:31 miod Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: brk.S,v 1.5 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
@@ -60,7 +58,7 @@ ENTRY(brk)
ld r5,r5,lo16(minbrk)
cmp r3,r5,r2
bb1 le,r3,1f /* r2 should be > minbrk; can't go below end */
- or r2,r5,0 /* otherwise, set r2 to minbrk */
+ or r2,r5,0 /* otherwise, set r2 to minbrk */
1:
or r4,r2,0
or r13,r0,SYS_break
@@ -70,4 +68,4 @@ ENTRY(brk)
st r4,r5,lo16(__curbrk)
or r2,r0,0 /* clear r2/r3 to indicate success */
jmp.n r1
- or r3,r0,0
+ or r3,r0,0
diff --git a/lib/libc/arch/m88k/sys/cerror.S b/lib/libc/arch/m88k/sys/cerror.S
index dc8d30be02e..eb0d32bffec 100644
--- a/lib/libc/arch/m88k/sys/cerror.S
+++ b/lib/libc/arch/m88k/sys/cerror.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: cerror.S,v 1.3 2003/01/02 20:25:31 miod Exp $ */
+/* $OpenBSD: cerror.S,v 1.4 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,12 +37,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)cerror.s 5.1 (Berkeley) 5/12/90"*/
- .asciz "$OpenBSD: cerror.S,v 1.3 2003/01/02 20:25:31 miod Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: cerror.S,v 1.4 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
@@ -53,4 +51,4 @@ __cerror:
st r2,r4,lo16(_errno)
sub r2,r0,0x1
jmp.n r1
- sub r3,r0,0x1
+ sub r3,r0,0x1
diff --git a/lib/libc/arch/m88k/sys/exect.S b/lib/libc/arch/m88k/sys/exect.S
index be6a2a04deb..3a375542848 100644
--- a/lib/libc/arch/m88k/sys/exect.S
+++ b/lib/libc/arch/m88k/sys/exect.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: exect.S,v 1.3 2003/01/02 20:25:31 miod Exp $ */
+/* $OpenBSD: exect.S,v 1.4 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,12 +37,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)exect.s 5.1 (Berkeley) 5/12/90"*/
- .asciz "$OpenBSD: exect.S,v 1.3 2003/01/02 20:25:31 miod Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: exect.S,v 1.4 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
diff --git a/lib/libc/arch/m88k/sys/fork.S b/lib/libc/arch/m88k/sys/fork.S
index f4051e5bae9..733322f8764 100644
--- a/lib/libc/arch/m88k/sys/fork.S
+++ b/lib/libc/arch/m88k/sys/fork.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: fork.S,v 1.2 2000/03/01 17:31:21 todd Exp $ */
+/* $OpenBSD: fork.S,v 1.3 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,12 +37,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)fork.s 5.1 (Berkeley) 5/12/90"*/
- .asciz "$OpenBSD: fork.S,v 1.2 2000/03/01 17:31:21 todd Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: fork.S,v 1.3 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
diff --git a/lib/libc/arch/m88k/sys/reboot.S b/lib/libc/arch/m88k/sys/reboot.S
index 0dbdd28f98f..6653738a533 100644
--- a/lib/libc/arch/m88k/sys/reboot.S
+++ b/lib/libc/arch/m88k/sys/reboot.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: reboot.S,v 1.2 2000/03/01 17:31:21 todd Exp $ */
+/* $OpenBSD: reboot.S,v 1.3 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,15 +37,13 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)reboot.s 5.1 (Berkeley) 5/12/90"*/
- .asciz "$OpenBSD: reboot.S,v 1.2 2000/03/01 17:31:21 todd Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: reboot.S,v 1.3 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
SYSCALL(reboot)
- or r9,r0,0x63
+ or r9,r0,0x63 /* MVMEPROM_EXIT */
tb0 0,r0,496 /* call bug trap */
diff --git a/lib/libc/arch/m88k/sys/rfork.S b/lib/libc/arch/m88k/sys/rfork.S
index e4ff61c4160..6c2dcb9d4f5 100644
--- a/lib/libc/arch/m88k/sys/rfork.S
+++ b/lib/libc/arch/m88k/sys/rfork.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: rfork.S,v 1.1 2002/02/17 23:40:57 deraadt Exp $ */
+/* $OpenBSD: rfork.S,v 1.2 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,12 +37,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)rfork.s 5.1 (Berkeley) 5/12/90"*/
- .asciz "$OpenBSD: rfork.S,v 1.1 2002/02/17 23:40:57 deraadt Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: rfork.S,v 1.2 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
diff --git a/lib/libc/arch/m88k/sys/sbrk.S b/lib/libc/arch/m88k/sys/sbrk.S
index f912e8648be..151e69223ac 100644
--- a/lib/libc/arch/m88k/sys/sbrk.S
+++ b/lib/libc/arch/m88k/sys/sbrk.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sbrk.S,v 1.4 2003/01/02 20:25:31 miod Exp $ */
+/* $OpenBSD: sbrk.S,v 1.5 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,12 +37,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)sbrk.s 5.1 (Berkeley) 5/12/90"*/
- .asciz "$OpenBSD: sbrk.S,v 1.4 2003/01/02 20:25:31 miod Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: sbrk.S,v 1.5 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
@@ -71,4 +69,4 @@ ENTRY(sbrk)
/* and return old __curbrk */
or r2,r3,0
jmp.n r1
- or r3,r0,0
+ or r3,r0,0
diff --git a/lib/libc/arch/m88k/sys/setlogin.S b/lib/libc/arch/m88k/sys/setlogin.S
index 4aef4b47cb1..2c52c24ccf9 100644
--- a/lib/libc/arch/m88k/sys/setlogin.S
+++ b/lib/libc/arch/m88k/sys/setlogin.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: setlogin.S,v 1.2 2000/03/01 17:31:21 todd Exp $ */
+/* $OpenBSD: setlogin.S,v 1.3 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1991 The Regents of the University of California.
@@ -33,12 +33,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)setlogin.s 5.1 (Berkeley) 5/6/91"*/
- .asciz "$OpenBSD: setlogin.S,v 1.2 2000/03/01 17:31:21 todd Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: setlogin.S,v 1.3 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
diff --git a/lib/libc/arch/m88k/sys/sigpending.S b/lib/libc/arch/m88k/sys/sigpending.S
index 76265669f17..8569ba2cf54 100644
--- a/lib/libc/arch/m88k/sys/sigpending.S
+++ b/lib/libc/arch/m88k/sys/sigpending.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigpending.S,v 1.3 2003/01/02 20:25:31 miod Exp $ */
+/* $OpenBSD: sigpending.S,v 1.4 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,12 +37,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)sigpending.s 5.2 (Berkeley) 8/6/90"*/
- .asciz "$OpenBSD: sigpending.S,v 1.3 2003/01/02 20:25:31 miod Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: sigpending.S,v 1.4 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
@@ -53,4 +51,4 @@ ENTRY(sigpending)
br __cerror
st r2,r4,0
jmp.n r1
- or r2,r0,0
+ or r2,r0,0
diff --git a/lib/libc/arch/m88k/sys/sigprocmask.S b/lib/libc/arch/m88k/sys/sigprocmask.S
index a1cb4c4608d..777a1ac66b8 100644
--- a/lib/libc/arch/m88k/sys/sigprocmask.S
+++ b/lib/libc/arch/m88k/sys/sigprocmask.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigprocmask.S,v 1.4 2003/01/02 21:40:46 miod Exp $ */
+/* $OpenBSD: sigprocmask.S,v 1.5 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,27 +37,25 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)sigprocmask.s 5.2 (Berkeley) 6/6/90"*/
- .asciz "$OpenBSD: sigprocmask.S,v 1.4 2003/01/02 21:40:46 miod Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: sigprocmask.S,v 1.5 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
SYSENTRY(sigprocmask)
- bcnd ne0,r3,L1 /* if new sigset pointer is null */
+ bcnd ne0,r3,1f /* if new sigset pointer is null */
or r2,r0,1 /* how = SIG_BLOCK and do it */
- br L2
-L1:
+ br 2f
+1:
ld r3,r3,0 /* else load set from *set and do it */
-L2:
+2:
or r13,r0,SYS_sigprocmask
tb0 0,r0,128
br __cerror
- bcnd eq0,r4,out /* if old mask not requested, done */
+ bcnd eq0,r4,3f /* if old mask not requested, done */
st r2,r4,0 /* otherwise, set it */
-out:
+3:
jmp.n r1
- or r2,r0,0
+ or r2,r0,0
diff --git a/lib/libc/arch/m88k/sys/sigreturn.S b/lib/libc/arch/m88k/sys/sigreturn.S
index 88aa80b05cf..b4ccad079a6 100644
--- a/lib/libc/arch/m88k/sys/sigreturn.S
+++ b/lib/libc/arch/m88k/sys/sigreturn.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigreturn.S,v 1.3 2003/01/02 21:40:46 miod Exp $ */
+/* $OpenBSD: sigreturn.S,v 1.4 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,12 +37,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)sigreturn.s 5.1 (Berkeley) 5/12/90"*/
- .asciz "$OpenBSD: sigreturn.S,v 1.3 2003/01/02 21:40:46 miod Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: sigreturn.S,v 1.4 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
@@ -52,3 +50,4 @@
*/
SYSENTRY(sigreturn)
+ jmp r1 /* XXX gross */
diff --git a/lib/libc/arch/m88k/sys/sigsuspend.S b/lib/libc/arch/m88k/sys/sigsuspend.S
index 77916849c2a..f9ecec61330 100644
--- a/lib/libc/arch/m88k/sys/sigsuspend.S
+++ b/lib/libc/arch/m88k/sys/sigsuspend.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: sigsuspend.S,v 1.4 2003/01/02 21:40:46 miod Exp $ */
+/* $OpenBSD: sigsuspend.S,v 1.5 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,12 +37,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)sigsuspend.s 5.2 (Berkeley) 6/6/90"*/
- .asciz "$OpenBSD: sigsuspend.S,v 1.4 2003/01/02 21:40:46 miod Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: sigsuspend.S,v 1.5 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"
@@ -59,4 +57,4 @@ SYSENTRY(sigsuspend)
tb0 0,r0,128
br __cerror
jmp.n r1
- or r2,r0,0
+ or r2,r0,0
diff --git a/lib/libc/arch/m88k/sys/syscall.S b/lib/libc/arch/m88k/sys/syscall.S
index 83021764886..143371947c7 100644
--- a/lib/libc/arch/m88k/sys/syscall.S
+++ b/lib/libc/arch/m88k/sys/syscall.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: syscall.S,v 1.4 2003/01/02 21:40:46 miod Exp $ */
+/* $OpenBSD: syscall.S,v 1.5 2003/01/07 22:01:35 miod Exp $ */
/*-
* Copyright (c) 1990 The Regents of the University of California.
@@ -37,12 +37,10 @@
* SUCH DAMAGE.
*/
-#if defined(LIBC_SCCS) && !defined(lint)
+#if defined(LIBC_SCCS)
.data
- /*.asciz "from: @(#)syscall.s 5.1 (Berkeley) 5/12/90"*/
- .asciz "$OpenBSD: syscall.S,v 1.4 2003/01/02 21:40:46 miod Exp $"
- .text
-#endif /* LIBC_SCCS and not lint */
+ .string "$OpenBSD: syscall.S,v 1.5 2003/01/07 22:01:35 miod Exp $"
+#endif /* LIBC_SCCS */
#include "SYS.h"