2009-11-17 Paul Brook <paul@codesourcery.com>
commitb34605af63649ec3bb30b29284a2e00abe95ce5b
authorPaul Brook <paul@codesourcery.com>
Tue, 17 Nov 2009 16:31:46 +0000 (17 16:31 +0000)
committerPaul Brook <paul@codesourcery.com>
Tue, 17 Nov 2009 16:31:46 +0000 (17 16:31 +0000)
treeef188d0468912043c1f85d2eb480b8d38b7e38a8
parent25d9649cb7ec4b20acb9f2765ed552cb5390098f
2009-11-17  Paul Brook  <paul@codesourcery.com>
Daniel Jacobowitz  <dan@codesourcery.com>

gas/
* doc/c-arm.texi: Document .arch armv7e-m.
* config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New.
(insns): Put Thumb versions of v5TExP instructions into
arm_ext_v5exp also.  Move some Thumb variants from
arm_ext_v6_notm to arm_ext_v6_dsp.
(arm_archs): Add armv7e-m architecture.
(aeabi_set_public_attributes): Handle -march=armv7e-m.

gas/testsuite/
* gas/arm/attr-march-armv7em.d: New test.
* gas/arm/arch7em-bad.d: New test.
* gas/arm/arch7em-bad.l: New test.
* gas/arm/arch7em.d: New test.
* gas/arm/arch7em.s: New test.

include/elf/
* arm.h (TAG_CPU_ARCH_V7E_M): Define.

include/opcode/
* arm.h (ARM_EXT_V6_DSP): Define.
(ARM_AEXT_V6T2, ARM_AEXT_NOTM): Include ARM_EXT_V6_DSP.
(ARM_AEXT_V7EM, ARM_ARCH_V7EM): Define.

binutils/
* readelf.c (arm_attr_tag_CPU_arch): Add v7E-M.

bfd/
* elf32-arm.c (using_thumb_only, arch_has_arm_nop,
arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M.
(tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test.
17 files changed:
bfd/ChangeLog
bfd/elf32-arm.c
binutils/ChangeLog
binutils/readelf.c
gas/ChangeLog
gas/config/tc-arm.c
gas/doc/c-arm.texi
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/arch7em-bad.d [new file with mode: 0644]
gas/testsuite/gas/arm/arch7em-bad.l [new file with mode: 0644]
gas/testsuite/gas/arm/arch7em.d [new file with mode: 0644]
gas/testsuite/gas/arm/arch7em.s [new file with mode: 0644]
gas/testsuite/gas/arm/attr-march-armv7em.d [new file with mode: 0644]
include/elf/ChangeLog
include/elf/arm.h
include/opcode/ChangeLog
include/opcode/arm.h