PR gas/12296

* arm.h (ARM_AEXT_V7_ARM): Add ARM_EXT_OS.

	* gas/arm/arch7.s: Add SVC insn.
	* gas/arm/arch7.d: Add disassembly of SVC insn.
	* gas/arm/attr-march-armv7.d: Add arch profile tag.
This commit is contained in:
Nick Clifton 2011-04-11 15:23:09 +00:00
parent 0389ec1ea0
commit 84701018a5
6 changed files with 20 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2011-04-11 Dan McDonald <dan@wellkeeper.com>
PR gas/12296
* gas/arm/arch7.s: Add SVC insn.
* gas/arm/arch7.d: Add disassembly of SVC insn.
* gas/arm/attr-march-armv7.d: Add arch profile tag.
2011-04-06 Joseph Myers <joseph@codesourcery.com>
* gas/all/gas.exp (*arm*-*-coff): Change to arm*-*-coff.

View File

@ -76,3 +76,4 @@ Disassembly of section .text:
0+10c <[^>]*> f380 8814 msr CONTROL, r0
0+110 <[^>]*> f3ef 8003 mrs r0, PSR
0+114 <[^>]*> f380 8803 msr PSR, r0
0+118 <[^>]*> df00 svc 0

View File

@ -79,3 +79,5 @@ label2:
msr control, r0
mrs r0, xpsr
msr xpsr, r0
svc 0

View File

@ -9,5 +9,6 @@ Attribute Section: aeabi
File Attributes
Tag_CPU_name: "7"
Tag_CPU_arch: v7
Tag_CPU_arch_profile: Microcontroller
Tag_THUMB_ISA_use: Thumb-2
Tag_DIV_use: Not allowed

View File

@ -1,3 +1,8 @@
2011-04-11 Dan McDonald <dan@wellkeeper.com>
PR gas/12296
* arm.h (ARM_AEXT_V7_ARM): Add ARM_EXT_OS.
2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
* avr.h (AVR_ISA_SPMX,AVR_ISA_DES,AVR_ISA_M256,AVR_ISA_XMEGA):

View File

@ -1,5 +1,5 @@
/* ARM assembler/disassembler support.
Copyright 2004, 2010 Free Software Foundation, Inc.
Copyright 2004, 2010, 2011 Free Software Foundation, Inc.
This file is part of GDB and GAS.
@ -109,7 +109,8 @@
#define ARM_AEXT_V6KT2 (ARM_AEXT_V6T2 | ARM_EXT_V6K)
#define ARM_AEXT_V6ZT2 (ARM_AEXT_V6T2 | ARM_EXT_SEC)
#define ARM_AEXT_V6ZKT2 (ARM_AEXT_V6T2 | ARM_EXT_V6K | ARM_EXT_SEC)
#define ARM_AEXT_V7_ARM (ARM_AEXT_V6KT2 | ARM_EXT_V7 | ARM_EXT_BARRIER)
#define ARM_AEXT_V7_ARM (ARM_AEXT_V6KT2 | ARM_EXT_V7 | ARM_EXT_BARRIER \
| ARM_EXT_OS)
#define ARM_AEXT_V7A (ARM_AEXT_V7_ARM | ARM_EXT_V7A)
#define ARM_AEXT_V7R (ARM_AEXT_V7_ARM | ARM_EXT_V7R | ARM_EXT_DIV)
#define ARM_AEXT_NOTM \
@ -148,7 +149,7 @@
| FPU_VFP_EXT_V3 | FPU_NEON_EXT_V1 | FPU_VFP_EXT_D32)
#define FPU_FPA (FPU_FPA_EXT_V1 | FPU_FPA_EXT_V2)
/* Deprecated */
/* Deprecated. */
#define FPU_ARCH_VFP ARM_FEATURE (0, FPU_ENDIAN_PURE)
#define FPU_ARCH_FPE ARM_FEATURE (0, FPU_FPA_EXT_V1)