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]

Re: [PATCH][ARM]Binutils command line support for Cortex-R7


On 22/02/13 02:36, Terry Guo wrote:
Hello,

This patch intends to implement initial command line support for Cortex-R7
in Binutils. Is it OK to trunk?

Tristan - Can it also be backported to the Binutils 2.22 branch please,
after approved for trunk?


OK for trunk and (as Tristan says) for 2.23.


R.

Thanks,

Terry

gas/ChangeLog:

2013-02-22 Terry Guo <terry.guo@arm.com>

           * config/tc-arm.c (arm_cpus): Add cortex-r7 entry.
           * doc/c-arm.texi: Add cortex-r7 and missing cortex-r5 to list of
accepted CPUs.

diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index c7e6f34..51ab230 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -23893,6 +23893,9 @@ static const struct arm_cpu_option_table arm_cpus[]
=

"Cortex-R4F"),
    ARM_CPU_OPT ("cortex-r5",	ARM_ARCH_V7R_IDIV,
  						 FPU_NONE,
"Cortex-R5"),
+  ARM_CPU_OPT ("cortex-r7",	ARM_ARCH_V7R_IDIV,
+						 FPU_ARCH_VFP_V3D16,
+
"Cortex-R7"),
    ARM_CPU_OPT ("cortex-m4",	ARM_ARCH_V7EM,	 FPU_NONE,
"Cortex-M4"),
    ARM_CPU_OPT ("cortex-m3",	ARM_ARCH_V7M,	 FPU_NONE,
"Cortex-M3"),
    ARM_CPU_OPT ("cortex-m1",	ARM_ARCH_V6SM,	 FPU_NONE,
"Cortex-M1"),
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index 983434f..764b791 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -122,6 +122,8 @@ recognized:
  @code{cortex-a15},
  @code{cortex-r4},
  @code{cortex-r4f},
+@code{cortex-r5},
+@code{cortex-r7},
  @code{cortex-m4},
  @code{cortex-m3},
  @code{cortex-m1},




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