Re: [x86] Build error at arch/x86/boot/bioscall.S

From: Amerigo Wang
Date: Tue Jun 16 2009 - 05:28:55 EST


On Tue, Jun 16, 2009 at 05:25:34PM +0900, Tetsuo Handa wrote:
>Amerigo Wang wrote:
>> How about:
>>
>> - movw 68(%esp), %di
>> + movzwl %sp, %ebx
>> + movw 68(%ebx), %di
>>
>> ? Does this work?
>No.
>
>arch/x86/boot/bioscall.S: Assembler messages:
>arch/x86/boot/bioscall.S:69: Error: `68(%ebx)' is not a valid 16 bit base/index expression
>make[1]: *** [arch/x86/boot/bioscall.o] Error 1
>make: *** [bzImage] Error 2

Ok, how about:

- movw 68(%esp), %di
+ addl $68, %esp
+ popw %di
+ subl $66, %esp

?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/