From 7b88a50fd5c5321589a2613dae3f19b1b2f46ee3 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Wed, 24 Jul 2002 23:20:12 +0000 Subject: use properly sized regs for the prefix, only matters w/ picky binutils, old gas knows what to do; it's a ddb prettiness anyway --- sys/arch/i386/i386/locore.s | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'sys/arch/i386') 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 -- cgit v1.2.3