This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: PATCH: Support "-march=armv6j", not "-march=armv6"
- From: Paul Brook <paul at codesourcery dot com>
- To: Richard Earnshaw <rearnsha at arm dot com>, mark at codesourcery dot com
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 23 Dec 2003 18:40:34 +0000
- Subject: Re: PATCH: Support "-march=armv6j", not "-march=armv6"
- Organization: CodeSourcery
- References: <200312191014.hBJAEOk20312@pc960.cambridge.arm.com>
On Friday 19 December 2003 10:14 am, Richard Earnshaw wrote:
> So there really is a distinction between a v6 and a v6j implementation --
> it just so happens that the distinctions are irrelevant in the assembler
> (and the compiler).
>
> I think the above is sufficient justification, however, for us to support
> both v6 and v6j options in the tools.
Patch below adds -march=armv6 as an alias for armv6j.
Committed as obvious.
Paul
2003-23-12 Paul Brook <paul@codesourcery.com>
* config/tc-arm.c (arm_archs): Add armv6.
Index: gas/config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.157
diff -u -p -r1.157 tc-arm.c
--- gas/config/tc-arm.c 18 Dec 2003 05:45:13 -0000 1.157
+++ gas/config/tc-arm.c 23 Dec 2003 18:28:40 -0000
@@ -13340,6 +13340,7 @@ static struct arm_arch_option_table arm_
{"armv5te", ARM_ARCH_V5TE, FPU_ARCH_VFP},
{"armv5texp", ARM_ARCH_V5TExP, FPU_ARCH_VFP},
{"armv5tej", ARM_ARCH_V5TEJ, FPU_ARCH_VFP},
+ {"armv6", ARM_ARCH_V6, FPU_ARCH_VFP},
{"armv6j", ARM_ARCH_V6, FPU_ARCH_VFP},
{"xscale", ARM_ARCH_XSCALE, FPU_ARCH_VFP},
{"iwmmxt", ARM_ARCH_IWMMXT, FPU_ARCH_VFP},