From 602306ebdfc1658a73640af6abdf4081feedfc6e Mon Sep 17 00:00:00 2001 From: Ulrich Weigand Date: Wed, 12 Jan 2000 04:57:03 +0000 Subject: [PATCH] Fix (harmless) assembler warnings. --- tools/build.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/build.c b/tools/build.c index f9c117a866f..870c65b4434 100644 --- a/tools/build.c +++ b/tools/build.c @@ -2516,7 +2516,7 @@ static void BuildCallTo32CBClient( FILE *outfile, BOOL isEx ) fprintf( outfile, "\tleal -8(%%esp), %%eax\n" ); fprintf( outfile, "\tmovl %%eax, -8(%%edi)\n" ); /* 32-bit sp */ - fprintf( outfile, "\tmovl %%ss, %%ax\n" ); + fprintf( outfile, "\tmovw %%ss, %%ax\n" ); fprintf( outfile, "\tandl $0x0000ffff, %%eax\n" ); fprintf( outfile, "\tmovl %%eax, -4(%%edi)\n" ); /* 32-bit ss */ @@ -2531,7 +2531,7 @@ static void BuildCallTo32CBClient( FILE *outfile, BOOL isEx ) fprintf( outfile, "\taddl $%d, %%ebx\n", sizeof(STACK16FRAME)-size+4 ); fprintf( outfile, "\tmovl %%ebx, 0(%%edi)\n" ); - fprintf( outfile, "\tmovl %%ds, %%ax\n" ); + fprintf( outfile, "\tmovw %%ds, %%ax\n" ); fprintf( outfile, "\tmovw %%ax, 4(%%edi)\n" ); fprintf( outfile, "\taddl $20, %%ebx\n" ); @@ -2540,7 +2540,7 @@ static void BuildCallTo32CBClient( FILE *outfile, BOOL isEx ) fprintf( outfile, "\tleal -8(%%esp), %%eax\n" ); fprintf( outfile, "\tmovl %%eax, 12(%%edi)\n" ); - fprintf( outfile, "\tmovl %%ss, %%ax\n" ); + fprintf( outfile, "\tmovw %%ss, %%ax\n" ); fprintf( outfile, "\tandl $0x0000ffff, %%eax\n" ); fprintf( outfile, "\tmovl %%eax, 16(%%edi)\n" );