PATCH: Support "-march=armv6j", not "-march=armv6"
Mark Mitchell
mark@codesourcery.com
Thu Dec 18 08:44:00 GMT 2003
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?
I commited this patch after testing a Linux kernel build; is that
overstepping my authority in the land of binutils?
--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
2003-12-17 Mark Mitchell <mark@codesourcery.com>
* config/tc-arm.c (arm_archs): Change "armv6" to "armv6j".
* doc/c-arm.texi (ARM Options): Likewise.
Index: gas/config/tc-arm.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-arm.c,v
retrieving revision 1.156
diff -c -5 -p -r1.156 tc-arm.c
*** gas/config/tc-arm.c 16 Dec 2003 17:44:36 -0000 1.156
--- gas/config/tc-arm.c 18 Dec 2003 05:42:50 -0000
*************** static struct arm_arch_option_table arm_
*** 13338,13348 ****
{"armv5t", ARM_ARCH_V5T, FPU_ARCH_VFP},
{"armv5txm", ARM_ARCH_V5TxM, FPU_ARCH_VFP},
{"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},
{"xscale", ARM_ARCH_XSCALE, FPU_ARCH_VFP},
{"iwmmxt", ARM_ARCH_IWMMXT, FPU_ARCH_VFP},
{NULL, 0, 0}
};
--- 13338,13348 ----
{"armv5t", ARM_ARCH_V5T, FPU_ARCH_VFP},
{"armv5txm", ARM_ARCH_V5TxM, FPU_ARCH_VFP},
{"armv5te", ARM_ARCH_V5TE, FPU_ARCH_VFP},
{"armv5texp", ARM_ARCH_V5TExP, FPU_ARCH_VFP},
{"armv5tej", ARM_ARCH_V5TEJ, FPU_ARCH_VFP},
! {"armv6j", ARM_ARCH_V6, FPU_ARCH_VFP},
{"xscale", ARM_ARCH_XSCALE, FPU_ARCH_VFP},
{"iwmmxt", ARM_ARCH_IWMMXT, FPU_ARCH_VFP},
{NULL, 0, 0}
};
Index: gas/doc/c-arm.texi
===================================================================
RCS file: /cvs/src/src/gas/doc/c-arm.texi,v
retrieving revision 1.23
diff -c -5 -p -r1.23 c-arm.texi
*** gas/doc/c-arm.texi 10 Dec 2003 12:11:26 -0000 1.23
--- gas/doc/c-arm.texi 18 Dec 2003 05:42:51 -0000
*************** names are recognized:
*** 129,139 ****
@code{armv5},
@code{armv5t},
@code{armv5txm},
@code{armv5te},
@code{armv5texp},
! @code{armv6},
@code{iwmmxt}
and
@code{xscale}.
If both @code{-mcpu} and
@code{-march} are specified, the assembler will use
--- 129,139 ----
@code{armv5},
@code{armv5t},
@code{armv5txm},
@code{armv5te},
@code{armv5texp},
! @code{armv6j},
@code{iwmmxt}
and
@code{xscale}.
If both @code{-mcpu} and
@code{-march} are specified, the assembler will use
More information about the Binutils
mailing list