PATCH: Support "-march=armv6j", not "-march=armv6"
Paul Brook
paul@codesourcery.com
Tue Dec 23 19:54:00 GMT 2003
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},
More information about the Binutils
mailing list