This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: GAS i386 jmp generator .arch compliance
On Mon, Feb 12, 2001 at 12:34:20PM +1100, Alan Modra wrote:
> On Mon, 12 Feb 2001, Jan Kratochvil wrote:
>
> > Despite ".code16" modifier used latest GAS still produces 6-byte long
> > conditional jumps (0x0F 0x8? <32-bit offset>) - AFD debugger for DOS has a bit
> > problems with disassembling of such jumps so I really know what I'm saying.
> > :-)
>
> If it produces a 32 bit offset jump, then that's a bug. Are you sure it's
> not 0x0f 0x8? <16 bit offset>? Can you provide a test-case?
OK, sorry, it is really <16 bit offset> (the code _works_ always OK).
I haven't looked too much in 16/32-bitness while I was writing the mail, I have
been more concentrated on the i386-requirement of 0x0F 0x8?.
BTW is there any idea how to turn on/off automatic skip-over generator vs.
warning message only?
Lace