[GAS] fix crash on erroneous directive

Andreas Schwab schwab@redhat.com
Wed Jul 27 16:26:00 GMT 2011
Nathan Sidwell <nathan@codesourcery.com> writes:

> On 07/27/11 13:30, Andreas Schwab wrote:
>> Nathan Sidwell<nathan@codesourcery.com>  writes:
>
>>> + 	.offset 40
>>> + 	nop
>>
>> In the ia64 assembler nop requires an argument, so this will fail to
>> assemble.
>
> that's unfortunate, i'd guessed every assembler has a plain nop. What
> do you suggest -- skipping for ia64?

You could define a symbol and then use to the right nop depending on the
symbol's value.

Andreas.

-- 
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84  5EC7 45C6 250E 6F00 984E
"And now for something completely different."



More information about the Binutils mailing list