PATCH: Support "-march=armv6j", not "-march=armv6"

Mark Mitchell mark@codesourcery.com
Thu Dec 18 11:03:00 GMT 2003


On Thu, 2003-12-18 at 00:37, Nick Clifton wrote:
> Hi Mark,
> 
> > This patch makes GAS match GCC with respect to the V6 "-march="
> > option.  GCC spells it "-march=armv6j", so now so does GAS.
> 
> > It's my understand that all V6 cores have the Jazelle extensions.
> > Still, It's possible that we should add "-march=armv6" as a synonym to
> > both GCC and GAS.  Richard, do you have thoughts about that?
> 
> IMHO - I think that we should support both spellings, even if only for
> consistency purposes.  (We already accept -march=armv5 and
> -march=armv4, and as far as I know there are no v5 cores without Thumb
> support).

Yes, what you say is true.

FWIW, I'd rather have fewer options, rather than more.  

But, I don't have a very strong opinion.

-- 
Mark Mitchell <mark@codesourcery.com>
CodeSourcery, LLC



More information about the Binutils mailing list