PR gas/12198
authorMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Mon, 15 Nov 2010 10:03:05 +0000 (10:03 +0000)
committerMatthew Gretton-Dann <matthew.gretton-dann@arm.com>
Mon, 15 Nov 2010 10:03:05 +0000 (10:03 +0000)
commit251665fc5f2083d8ca987a30534918fec6b3b969
treedef0a81480e42d68e698e8f66d1fc968c8740900
parent6936240e66f9641073c9a399bb1c0e20bbde7f97
PR gas/12198
* gas/config/tc-arm.c (arm_arch_v6m_only): New variable.
(aeabi_set_public_attributes): Ensure we only set the Operating System
Extension when we are on an M-profile core.
* gas/testsuite/gas/arm/pr12198-1.d: New test.
* gas/testsuite/gas/arm/pr12918-1.s: Likewise.
* gas/testsuite/gas/arm/pr12198-2.d: Likewise.
* gas/testsuite/gas/arm/pr12918-2.s: Likewise.
* include/opcode/arm.h (ARM_AEXT_V6M_ONLY): New define.
(ARM_AEXT_V6M): Rewrite in terms of ARM_AEXT_V6M_ONLY.
(ARM_ARCH_V6M_ONLY): New define.
gas/ChangeLog
gas/config/tc-arm.c
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/pr12198-1.d [new file with mode: 0644]
gas/testsuite/gas/arm/pr12198-1.s [new file with mode: 0644]
gas/testsuite/gas/arm/pr12198-2.d [new file with mode: 0644]
gas/testsuite/gas/arm/pr12198-2.s [new file with mode: 0644]
include/opcode/ChangeLog
include/opcode/arm.h