This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[RFA/ARM]Enable Binutils to support -mcpu=cortex-m0plus


Hello,

This patch intends to enable Binutils to support the recently released ARM
core named Cortex-M0+. Is it OK to Binutils trunk?

BR,
Terry

Gas/ChangeLog:

2012-03-22  Terry Guo  <terry.guo@arm.com>

        * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
        * doc/c-arm.texi: Document -mcpu=cortex-m0plus.

diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 8b0f6da..31107d2 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -23042,6 +23042,7 @@ static const struct arm_cpu_option_table arm_cpus[]
=
   ARM_CPU_OPT ("cortex-m3",    ARM_ARCH_V7M,    FPU_NONE,
"Cortex-M3"),
   ARM_CPU_OPT ("cortex-m1",    ARM_ARCH_V6SM,   FPU_NONE,
"Cortex-M1"),
   ARM_CPU_OPT ("cortex-m0",    ARM_ARCH_V6SM,   FPU_NONE,
"Cortex-M0"),
+  ARM_CPU_OPT ("cortex-m0plus",        ARM_ARCH_V6SM,   FPU_NONE,
"Cortex-M0+"),
   /* ??? XSCALE is really an architecture.  */
   ARM_CPU_OPT ("xscale",       ARM_ARCH_XSCALE, FPU_ARCH_VFP_V2, NULL),
   /* ??? iwmmxt is not a processor.  */
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index b7859a7..ae6c488 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -126,6 +126,7 @@ recognized:
 @code{cortex-m3},
 @code{cortex-m1},
 @code{cortex-m0},
+@code{cortex-m0plus},
 @code{ep9312} (ARM920 with Cirrus Maverick coprocessor),
 @code{i80200} (Intel XScale processor)
 @code{iwmmxt} (Intel(r) XScale processor with Wireless MMX(tm) technology
coprocessor)



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]