[PATCH] x86/Intel: fix indirect far jmp/call with operand size specified
Jan Beulich
jbeulich@novell.com
Fri Feb 22 15:35:00 GMT 2008
>>> "H.J. Lu" <hjl.tools@gmail.com> 22.02.08 16:14 >>>
>On Thu, Feb 21, 2008 at 05:49:34PM +0100, Andreas Jaeger wrote:
>> "H.J. Lu" <hjl.tools@gmail.com> writes:
>>
>> > Hi Jan,
>> >
>> > Do you have testcases?
>>
>> netboot fails with:
>>
>> runtime.S86: Assembler messages:
>> runtime.S86:388: Error: suffix or operands invalid for `jmp'
>> runtime.S86:393: Error: suffix or operands invalid for `jmp'
>> runtime.S86:398: Error: suffix or operands invalid for `jmp'
>>
>
>Can you provide a preprocessed source with command line
>options to reproduce it?
Distilled version (from memory):
.intel_syntax noprefix
.code16
start:
call word ptr [bx]
call dword ptr [bx]
call fword ptr [bx]
jmp word ptr [bx]
jmp dword ptr [bx]
jmp fword ptr [bx]
Jan
More information about the Binutils
mailing list