This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [GAS] fix crash on erroneous directive


Nathan Sidwell <nathan@codesourcery.com> writes:

> Index: testsuite/gas/all/warn-2.s
> ===================================================================
> RCS file: testsuite/gas/all/warn-2.s
> diff -N testsuite/gas/all/warn-2.s
> *** /dev/null	1 Jan 1970 00:00:00 -0000
> --- testsuite/gas/all/warn-2.s	27 Jul 2011 11:40:32 -0000
> ***************
> *** 0 ****
> --- 1,5 ----
> + ;# { dg-do assemble }
> + ;# { dg-options "--gdwarf2" }
> + 	.offset 40
> + 	nop

In the ia64 assembler nop requires an argument, so this will fail to
assemble.

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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]