summaryrefslogtreecommitdiff
path: root/lib/libc/arch/m68k/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/arch/m68k/stdlib')
-rw-r--r--lib/libc/arch/m68k/stdlib/abs.S4
-rw-r--r--lib/libc/arch/m68k/stdlib/insque.S16
-rw-r--r--lib/libc/arch/m68k/stdlib/remque.S12
3 files changed, 16 insertions, 16 deletions
diff --git a/lib/libc/arch/m68k/stdlib/abs.S b/lib/libc/arch/m68k/stdlib/abs.S
index fd0f2c377d6..3dca0d6b333 100644
--- a/lib/libc/arch/m68k/stdlib/abs.S
+++ b/lib/libc/arch/m68k/stdlib/abs.S
@@ -36,8 +36,8 @@
#include "DEFS.h"
ENTRY(abs)
- movl sp@(4),d0
+ movl %sp@(4),%d0
jge L1
- negl d0
+ negl %d0
L1:
rts
diff --git a/lib/libc/arch/m68k/stdlib/insque.S b/lib/libc/arch/m68k/stdlib/insque.S
index 2416ac09e41..a77e3f20e35 100644
--- a/lib/libc/arch/m68k/stdlib/insque.S
+++ b/lib/libc/arch/m68k/stdlib/insque.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: insque.S,v 1.3 2009/10/28 06:49:55 deraadt Exp $ */
+/* $OpenBSD: insque.S,v 1.4 2013/02/02 13:29:14 miod Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -40,11 +40,11 @@
#include "DEFS.h"
ENTRY(insque)
- movl sp@(8),a0
- movl sp@(4),a1
- movl a0@,a1@
- movl a0,a1@(4)
- movl a1,a0@
- movl a1@,a0
- movl a1,a0@(4)
+ movl %sp@(8),%a0
+ movl %sp@(4),%a1
+ movl %a0@,%a1@
+ movl %a0,%a1@(4)
+ movl %a1,%a0@
+ movl %a1@,%a0
+ movl %a1,%a0@(4)
rts
diff --git a/lib/libc/arch/m68k/stdlib/remque.S b/lib/libc/arch/m68k/stdlib/remque.S
index 0b4def14aff..80175876cec 100644
--- a/lib/libc/arch/m68k/stdlib/remque.S
+++ b/lib/libc/arch/m68k/stdlib/remque.S
@@ -1,4 +1,4 @@
-/* $OpenBSD: remque.S,v 1.3 2009/10/28 06:49:55 deraadt Exp $ */
+/* $OpenBSD: remque.S,v 1.4 2013/02/02 13:29:14 miod Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -40,9 +40,9 @@
#include "DEFS.h"
ENTRY(remque)
- movl sp@(4),a0
- movl a0@,a1
- movl a0@(4),a0
- movl a0,a1@(4)
- movl a1,a0@
+ movl %sp@(4),%a0
+ movl %a0@,%a1
+ movl %a0@(4),%a0
+ movl %a0,%a1@(4)
+ movl %a1,%a0@
rts