Source-Changes-HG archive

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

[src/trunk]: src/sbin/fdisk/mbr deal with assembler warnings



details:   https://anonhg.NetBSD.org/src/rev/f68e78567af9
branches:  trunk
changeset: 534859:f68e78567af9
user:      ross <ross%NetBSD.org@localhost>
date:      Sun Aug 04 20:27:22 2002 +0000

description:
deal with assembler warnings

diffstat:

 sbin/fdisk/mbr/mbr.S |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (24 lines):

diff -r da5cab7ce672 -r f68e78567af9 sbin/fdisk/mbr/mbr.S
--- a/sbin/fdisk/mbr/mbr.S      Sun Aug 04 19:43:08 2002 +0000
+++ b/sbin/fdisk/mbr/mbr.S      Sun Aug 04 20:27:22 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: mbr.S,v 1.6 1999/05/02 13:48:30 fvdl Exp $     */
+/*     $NetBSD: mbr.S,v 1.7 2002/08/04 20:27:22 ross Exp $     */
 
 /*
  * Copyright (C) 1998 Wolfgang Solfrank.
@@ -89,11 +89,11 @@
  */
 ENTRY(start)
        xorl    %eax, %eax
-       movl    %ax, %ss
+       movl    %eax, %ss
        data32
        movl    $BOOTADDR, %esp
-       movl    %ax, %es
-       movl    %ax, %ds
+       movl    %eax, %es
+       movl    %eax, %ds
        movl    %esp, %esi
        data32
        movl    $_C_LABEL(start), %edi



Home | Main Index | Thread Index | Old Index