Subject: Re: asm line separators
To: None <tech-toolchain@netbsd.org>
From: David Laight <david@l8s.co.uk>
List: tech-toolchain
Date: 06/13/2002 14:23:58
On Thu, Jun 13, 2002 at 01:52:58PM +0100, Richard Earnshaw wrote:
> > On Wed, Jun 12, 2002 at 07:42:43PM +0100, David Laight wrote:
> >
> > > I realize that - I just thought that it might be fixable in gcc!
> >
> > Not really. GCC doesn't actually know what ASM line separarator are,
> > since it doens't use them itself.
>
> Not quite true. GCC does know what the separator is, so that it can count
> the number of instructions in an __asm__ statement.
>
> See IS_ASM_LOGICAL_LINE_SEPARATOR.
Which '\n' is always an alternative for, and the only value for arm/aof.h
Maybe \n will always work instead of ; ?
David
--
David Laight: david@l8s.co.uk