From ce1b0a458aed5fea182c8eb4a8cf1161d1c0a20f Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Fri, 4 Nov 2016 16:24:08 +0000 Subject: [PATCH] Add support for ARM Cortex-M23 processor 2016-11-04 Thomas Preud'homme 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. --- 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 + + * 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 Andrew Waterman 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}, -- 2.7.4