bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: as: balign behaves erratically.


From: Alan Modra
Subject: Re: as: balign behaves erratically.
Date: Wed, 24 Nov 2004 08:12:45 +1030
User-agent: Mutt/1.4i

On Tue, Nov 23, 2004 at 08:16:13PM +0100, Albert van der Horst wrote:
> Of course I expect .balign 4,0x90 to pad 
>    909090
> instead of the above.

It is a feature of x86 gas to turn multiple nops into an equivalent one
or two instruction "nop", eg. lea 0(%esi),%esi

You can turn this off by passing -n to the assembler.

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre




reply via email to

[Prev in Thread] Current Thread [Next in Thread]