From b2a5fbdc946c0b4a0032f4d9f8cf23d87f5a2dd6 Mon Sep 17 00:00:00 2001 From: Matthew Gretton-Dann Date: Thu, 23 Sep 2010 15:31:34 +0000 Subject: * config/tc-arm.c (arm_ext_v6m): New variable. (arm_ext_m): Add support for OS extension. (arm_ext_os): New variable. (do_t_swi): In v6-M ensure we have the OS extension. (arm_cpus): The cortex-m1 and cortex-m0 options have the OS extension by default. (arm_archs): Add armv6s-m. (arm_extensions): Add 'os' extension. (cpu_arch_ver): Add support for v6S-M. * gas/doc/c-arm.texi: Document the OS Extension, and v6-m and v6s-m architecture options. * gas/testsuite/gas/arm/archv6s-m-bad.d: New test. * gas/testsuite/gas/arm/archv6s-m-bad.l: Likewise. * gas/testsuite/gas/arm/archv6s-m.d: Likewise. * gas/testsuite/gas/arm/archv6s-m.s: Likewise. * gas/testsuite/gas/arm/attr-march-armv6-m+os.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6s-m.d: Likewise. * include/opcode/arm.h (ARM_EXT_OS): New define. (ARM_AEXT_V6SM): Likewise. (ARM_ARCH_V6SM): Likewise. --- gas/doc/c-arm.texi | 3 +++ 1 file changed, 3 insertions(+) (limited to 'gas/doc/c-arm.texi') diff --git a/gas/doc/c-arm.texi b/gas/doc/c-arm.texi index c8e535d..0106a8d 100644 --- a/gas/doc/c-arm.texi +++ b/gas/doc/c-arm.texi @@ -153,6 +153,7 @@ The following extensions are currently supported: @code{iwmmxt2}, @code{maverick}, @code{mp} (Multiprocessing Extensions for v7-A and v7-R architectures), +@code{os} (Operating System for v6M architecture), @code{sec} (Security Extensions for v6K and v7-A architectures), and @code{xscale}. @@ -183,6 +184,8 @@ names are recognized: @code{armv6k}, @code{armv6z}, @code{armv6zk}, +@code{armv6-m}, +@code{armv6s-m}, @code{armv7}, @code{armv7-a}, @code{armv7-r}, -- cgit v1.1