On Wed, Aug 17, 2005 at 06:59:14PM +0100, Nick Clifton wrote: > Hi Dan, > > >Given this as input (three lines): > > > > foo = . > > .org foo+16 > > foo = . > > > >GNU as (with no special command-line options) apparently goes into an > >infinate loop. > > Not surprising really since that is a pathological piece of code. Still > infinite loops are bad things, so please could you try out the attached > patch and let me know if it works for you.
Perhaps, but I found it in some code that I'm porting to GAS from a different assembler. It looks like I can get the desired effect in GAS with .align pseudos, something like this: .balign 16 foo=. # stuff deleted from reduced test case, less than 16 bytes .balign 16 foo=. # more stuff I added a declaration for frag_count to your patch and it successfully issues an error on this code (and also on the original source from which this code was simplified). Thanks, Dan _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils