This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Add support for ARM Cortex-M23 processor
- From: Thomas Preud'homme <thopre01 at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 4 Nov 2016 16:25:52 -0000
- Subject: [binutils-gdb] Add support for ARM Cortex-M23 processor
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=ce1b0a458aed5fea182c8eb4a8cf1161d1c0a20f
commit ce1b0a458aed5fea182c8eb4a8cf1161d1c0a20f
Author: Thomas Preud'homme <thomas.preudhomme@arm.com>
Date: Fri Nov 4 16:24:08 2016 +0000
Add support for ARM Cortex-M23 processor
2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
gas/
* config/tc-arm.c (cortex-m23): Declare new processor.
* doc/c-arm.texi (-mcpu ARM command line option): Document new
Cortex-M23 processor.
* NEWS: Mention ARM Cortex-M23 support.
Diff:
---
gas/ChangeLog | 7 +++++++
gas/NEWS | 2 ++
gas/config/tc-arm.c | 2 ++
gas/doc/c-arm.texi | 1 +
4 files changed, 12 insertions(+)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 1c73f4c..4e98cda 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,10 @@
+2016-11-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
+
+ * config/tc-arm.c (cortex-m23): Declare new processor.
+ * doc/c-arm.texi (-mcpu ARM command line option): Document new
+ Cortex-M23 processor.
+ * NEWS: Mention ARM Cortex-M23 support.
+
2016-11-04 Palmer Dabbelt <palmer@dabbelt.com>
Andrew Waterman <andrew@sifive.com>
diff --git a/gas/NEWS b/gas/NEWS
index 25ad9ab..cb47be0 100644
--- a/gas/NEWS
+++ b/gas/NEWS
@@ -2,6 +2,8 @@
* Add support for the RISC-V architecture.
+* Add support for the ARM Cortex-M23 processor.
+
Changes in 2.27:
* Default to --enable-compressed-debug-sections=gas for Linux/x86 targets.
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index 061aaa8..011701b 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -25459,6 +25459,8 @@ static const struct arm_cpu_option_table arm_cpus[] =
ARM_CPU_OPT ("cortex-r8", ARM_ARCH_V7R_IDIV,
FPU_ARCH_VFP_V3D16,
"Cortex-R8"),
+ ARM_CPU_OPT ("cortex-m23", ARM_ARCH_V8M_BASE,
+ FPU_NONE, "Cortex-M23"),
ARM_CPU_OPT ("cortex-m7", ARM_ARCH_V7EM, FPU_NONE, "Cortex-M7"),
ARM_CPU_OPT ("cortex-m4", ARM_ARCH_V7EM, FPU_NONE, "Cortex-M4"),
ARM_CPU_OPT ("cortex-m3", ARM_ARCH_V7M, FPU_NONE, "Cortex-M3"),
diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi
index 8ea6045..f08f6eb 100644
--- a/gas/doc/c-arm.texi
+++ b/gas/doc/c-arm.texi
@@ -131,6 +131,7 @@ recognized:
@code{cortex-r5},
@code{cortex-r7},
@code{cortex-r8},
+@code{cortex-m23},
@code{cortex-m7},
@code{cortex-m4},
@code{cortex-m3},