summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-24 23:20:12 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2002-07-24 23:20:12 +0000
commit7b88a50fd5c5321589a2613dae3f19b1b2f46ee3 (patch)
tree247078c33129c8e3e3b941bfc3d0584122947335 /sys
parent37ef37f9de8565363b1dca6c9bbc71c54e3f3a42 (diff)
use properly sized regs for the prefix, only matters w/ picky binutils, old gas knows what to do; it's a ddb prettiness anyway
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/i386/i386/locore.s10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/i386/i386/locore.s b/sys/arch/i386/i386/locore.s
index 66300b7e409..1d7c993051c 100644
--- a/sys/arch/i386/i386/locore.s
+++ b/sys/arch/i386/i386/locore.s
@@ -1,4 +1,4 @@
-/* $OpenBSD: locore.s,v 1.65 2002/02/18 23:09:53 mickey Exp $ */
+/* $OpenBSD: locore.s,v 1.66 2002/07/24 23:20:11 mickey Exp $ */
/* $NetBSD: locore.s,v 1.145 1996/05/03 19:41:19 christos Exp $ */
/*-
@@ -1734,8 +1734,8 @@ sw1: bsfl %ecx,%ebx # find a full q
/* Save segment registers. */
#ifdef DDB
- xorl %ax, %ax
- xorl %cx, %cx
+ xorl %eax, %eax
+ xorl %ecx, %ecx
#endif
movl %fs,%ax
movl %gs,%cx
@@ -1896,8 +1896,8 @@ ENTRY(savectx)
/* Save segment registers. */
#ifdef DDB
- xorl %ax, %ax
- xorl %cx, %cx
+ xorl %eax, %eax
+ xorl %ecx, %ecx
#endif
movl %fs,%ax
movl %gs,%cx