x86 leal quirk

Richard Henderson rth@twiddle.net
Mon Sep 23 16:51:00 GMT 2002


On Mon, Sep 23, 2002 at 03:33:04PM -0700, Ulrich Drepper wrote:
> But where would you stop?
> 
>       .byte 0x65
>       leal    j@NTPOFF, %eax

Certainly anything like this would be allowed.  GAS does
not "know" anything about the 0x65.

> And while we're at it
> 
>       leal    %ds:j@NTPOFF, %eax

I'd warn for _any_ segment override on leal.


r~



More information about the Binutils mailing list