Re: [PATCH 4/4] ARM: add jump label support

From: Rabin Vincent
Date: Wed Nov 23 2011 - 09:56:09 EST


On Tue, Nov 22, 2011 at 06:50:41PM -0500, Jason Baron wrote:
> On Tue, Nov 22, 2011 at 06:39:50PM -0500, Jason Baron wrote:
> > Right, for jump labels we have a script at: scripts/gcc-goto.sh, which
> > basically just checks if we can compile 'asm goto' without error, so for
> > %c, you could probably have some simple 'asm()' that uses %c, and see if
> > it compiles. Although, I'm not sure if there's a arch specific dir, for
> > such a thing?
> >
> > thanks,
> >
> > -Jason
>
> hmm...actually we could add it to the top level scripts/gcc-goto.sh,
> that would be fine, I can take a look at that...

Here's a patch. Atleast on MIPS %c means something else so I had to
ifdef it for ARM:

8<----------------------------