aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorThomas Preud'homme <thomas.preudhomme@linaro.org>2018-11-27 18:27:35 +0000
committerThomas Preud'homme <thomas.preudhomme@linaro.org>2018-11-27 18:28:35 +0000
commitb5ab31636d36e1252791cec179aa11ab9d9b87e9 (patch)
tree1c0778275b77d846251bda1a309f606b81dd0977 /gas
parent3c7687b9cdacc243f7e23cd9b144e72b88d58817 (diff)
downloadgdb-b5ab31636d36e1252791cec179aa11ab9d9b87e9.zip
gdb-b5ab31636d36e1252791cec179aa11ab9d9b87e9.tar.gz
gdb-b5ab31636d36e1252791cec179aa11ab9d9b87e9.tar.bz2
[ARM] Update knowledge of bfd architectures
Commit c0c468d562649df0f695737262b6230b7a56a4bb updated bfd's knowledge of Arm architectures to Armv5TEJ and later but missed the list of CPUs recognized by objdump -d -m<cpu>. .note.gnu.arm.ident related code is intentionally not updated as build attributes are a better mechanism to express the ISA in a file. However this patch adds tests for the existing code since no existing testcase cover those codepaths. Since I've only ever managed for bfd_arm_get_mach_from_notes () to have an effect by using objcopy on a file with a note but no Arm build attribute, the tests make use of both objcopy actions supported by run_dump_test which requires to have a ld line as well. Note that the CPU list in bfd/cpu-arm.c was simply copied over from GAS' CPU list but sorted alphabetically as already done for existing entries. 2018-11-27 Thomas Preud'homme <thomas.preudhomme@linaro.org> bfd/ * cpu-arm.c (processors): Add processors known to GAS but missing here and reindent. (bfd_arm_update_notes): Add comment explaining why the list of architectures in the switch should not be updated. (architectures): Likewise. gas/ * testsuite/gas/arm/cpu-arm1020.d: New testcase. * testsuite/gas/arm/cpu-arm1020e.d: Likewise. * testsuite/gas/arm/cpu-arm1020t.d: Likewise. * testsuite/gas/arm/cpu-arm1022e.d: Likewise. * testsuite/gas/arm/cpu-arm1026ej-s.d: Likewise. * testsuite/gas/arm/cpu-arm1026ejs.d: Likewise. * testsuite/gas/arm/cpu-arm10e.d: Likewise. * testsuite/gas/arm/cpu-arm10t.d: Likewise. * testsuite/gas/arm/cpu-arm10tdmi.d: Likewise. * testsuite/gas/arm/cpu-arm1136j-s.d: Likewise. * testsuite/gas/arm/cpu-arm1136jf-s.d: Likewise. * testsuite/gas/arm/cpu-arm1136jfs.d: Likewise. * testsuite/gas/arm/cpu-arm1136js.d: Likewise. * testsuite/gas/arm/cpu-arm1156t2-s.d: Likewise. * testsuite/gas/arm/cpu-arm1156t2f-s.d: Likewise. * testsuite/gas/arm/cpu-arm1176jz-s.d: Likewise. * testsuite/gas/arm/cpu-arm1176jzf-s.d: Likewise. * testsuite/gas/arm/cpu-arm2.d: Likewise. * testsuite/gas/arm/cpu-arm250.d: Likewise. * testsuite/gas/arm/cpu-arm3.d: Likewise. * testsuite/gas/arm/cpu-arm6.d: Likewise. * testsuite/gas/arm/cpu-arm60.d: Likewise. * testsuite/gas/arm/cpu-arm600.d: Likewise. * testsuite/gas/arm/cpu-arm610.d: Likewise. * testsuite/gas/arm/cpu-arm620.d: Likewise. * testsuite/gas/arm/cpu-arm7.d: Likewise. * testsuite/gas/arm/cpu-arm70.d: Likewise. * testsuite/gas/arm/cpu-arm700.d: Likewise. * testsuite/gas/arm/cpu-arm700i.d: Likewise. * testsuite/gas/arm/cpu-arm710.d: Likewise. * testsuite/gas/arm/cpu-arm7100.d: Likewise. * testsuite/gas/arm/cpu-arm710c.d: Likewise. * testsuite/gas/arm/cpu-arm710t.d: Likewise. * testsuite/gas/arm/cpu-arm720.d: Likewise. * testsuite/gas/arm/cpu-arm720t.d: Likewise. * testsuite/gas/arm/cpu-arm740t.d: Likewise. * testsuite/gas/arm/cpu-arm7500.d: Likewise. * testsuite/gas/arm/cpu-arm7500fe.d: Likewise. * testsuite/gas/arm/cpu-arm7d.d: Likewise. * testsuite/gas/arm/cpu-arm7di.d: Likewise. * testsuite/gas/arm/cpu-arm7dm.d: Likewise. * testsuite/gas/arm/cpu-arm7dmi.d: Likewise. * testsuite/gas/arm/cpu-arm7m.d: Likewise. * testsuite/gas/arm/cpu-arm7t.d: Likewise. * testsuite/gas/arm/cpu-arm7tdmi-s.d: Likewise. * testsuite/gas/arm/cpu-arm7tdmi.d: Likewise. * testsuite/gas/arm/cpu-arm8.d: Likewise. * testsuite/gas/arm/cpu-arm810.d: Likewise. * testsuite/gas/arm/cpu-arm9.d: Likewise. * testsuite/gas/arm/cpu-arm920.d: Likewise. * testsuite/gas/arm/cpu-arm920t.d: Likewise. * testsuite/gas/arm/cpu-arm922t.d: Likewise. * testsuite/gas/arm/cpu-arm926ej-s.d: Likewise. * testsuite/gas/arm/cpu-arm926ej.d: Likewise. * testsuite/gas/arm/cpu-arm926ejs.d: Likewise. * testsuite/gas/arm/cpu-arm940t.d: Likewise. * testsuite/gas/arm/cpu-arm946e-r0.d: Likewise. * testsuite/gas/arm/cpu-arm946e-s.d: Likewise. * testsuite/gas/arm/cpu-arm946e.d: Likewise. * testsuite/gas/arm/cpu-arm966e-r0.d: Likewise. * testsuite/gas/arm/cpu-arm966e-s.d: Likewise. * testsuite/gas/arm/cpu-arm966e.d: Likewise. * testsuite/gas/arm/cpu-arm968e-s.d: Likewise. * testsuite/gas/arm/cpu-arm9e-r0.d: Likewise. * testsuite/gas/arm/cpu-arm9e.d: Likewise. * testsuite/gas/arm/cpu-arm9tdmi.d: Likewise. * testsuite/gas/arm/cpu-arm_any.d: Likewise. * testsuite/gas/arm/cpu-cortex-a12.d: Likewise. * testsuite/gas/arm/cpu-cortex-a15.d: Likewise. * testsuite/gas/arm/cpu-cortex-a17.d: Likewise. * testsuite/gas/arm/cpu-cortex-a32.d: Likewise. * testsuite/gas/arm/cpu-cortex-a35.d: Likewise. * testsuite/gas/arm/cpu-cortex-a5.d: Likewise. * testsuite/gas/arm/cpu-cortex-a53.d: Likewise. * testsuite/gas/arm/cpu-cortex-a55.d: Likewise. * testsuite/gas/arm/cpu-cortex-a57.d: Likewise. * testsuite/gas/arm/cpu-cortex-a7.d: Likewise. * testsuite/gas/arm/cpu-cortex-a72.d: Likewise. * testsuite/gas/arm/cpu-cortex-a73.d: Likewise. * testsuite/gas/arm/cpu-cortex-a75.d: Likewise. * testsuite/gas/arm/cpu-cortex-a76.d: Likewise. * testsuite/gas/arm/cpu-cortex-a8.d: Likewise. * testsuite/gas/arm/cpu-cortex-a9.d: Likewise. * testsuite/gas/arm/cpu-cortex-m0.d: Likewise. * testsuite/gas/arm/cpu-cortex-m0plus.d: Likewise. * testsuite/gas/arm/cpu-cortex-m1.d: Likewise. * testsuite/gas/arm/cpu-cortex-m23.d: Likewise. * testsuite/gas/arm/cpu-cortex-m3.d: Likewise. * testsuite/gas/arm/cpu-cortex-m33.d: Likewise. * testsuite/gas/arm/cpu-cortex-m4.d: Likewise. * testsuite/gas/arm/cpu-cortex-m7.d: Likewise. * testsuite/gas/arm/cpu-cortex-r4.d: Likewise. * testsuite/gas/arm/cpu-cortex-r4f.d: Likewise. * testsuite/gas/arm/cpu-cortex-r5.d: Likewise. * testsuite/gas/arm/cpu-cortex-r52.d: Likewise. * testsuite/gas/arm/cpu-cortex-r7.d: Likewise. * testsuite/gas/arm/cpu-cortex-r8.d: Likewise. * testsuite/gas/arm/cpu-ep9312.d: Likewise. * testsuite/gas/arm/cpu-exynos-m1.d: Likewise. * testsuite/gas/arm/cpu-fa526.d: Likewise. * testsuite/gas/arm/cpu-fa606te.d: Likewise. * testsuite/gas/arm/cpu-fa616te.d: Likewise. * testsuite/gas/arm/cpu-fa626.d: Likewise. * testsuite/gas/arm/cpu-fa626te.d: Likewise. * testsuite/gas/arm/cpu-fa726te.d: Likewise. * testsuite/gas/arm/cpu-fmp626.d: Likewise. * testsuite/gas/arm/cpu-i80200.d: Likewise. * testsuite/gas/arm/cpu-iwmmxt.d: Likewise. * testsuite/gas/arm/cpu-iwmmxt2.d: Likewise. * testsuite/gas/arm/cpu-marvell-pj4.d: Likewise. * testsuite/gas/arm/cpu-marvell-whitney.d: Likewise. * testsuite/gas/arm/cpu-mpcore.d: Likewise. * testsuite/gas/arm/cpu-mpcorenovfp.d: Likewise. * testsuite/gas/arm/cpu-sa1.d: Likewise. * testsuite/gas/arm/cpu-strongarm.d: Likewise. * testsuite/gas/arm/cpu-strongarm1.d: Likewise. * testsuite/gas/arm/cpu-strongarm110.d: Likewise. * testsuite/gas/arm/cpu-strongarm1100.d: Likewise. * testsuite/gas/arm/cpu-strongarm1110.d: Likewise. * testsuite/gas/arm/cpu-xgene1.d: Likewise. * testsuite/gas/arm/cpu-xgene2.d: Likewise. * testsuite/gas/arm/cpu-xscale.d: Likewise. * testsuite/gas/arm/nop-asm.s: Likewise. * testsuite/gas/arm/note-march-armv2.d: Likewise. * testsuite/gas/arm/note-march-armv2.s: Likewise. * testsuite/gas/arm/note-march-armv2a.d: Likewise. * testsuite/gas/arm/note-march-armv2a.s: Likewise. * testsuite/gas/arm/note-march-armv3.d: Likewise. * testsuite/gas/arm/note-march-armv3.s: Likewise. * testsuite/gas/arm/note-march-armv3m.d: Likewise. * testsuite/gas/arm/note-march-armv3m.s: Likewise. * testsuite/gas/arm/note-march-armv4.d: Likewise. * testsuite/gas/arm/note-march-armv4.s: Likewise. * testsuite/gas/arm/note-march-armv4t.d: Likewise. * testsuite/gas/arm/note-march-armv4t.s: Likewise. * testsuite/gas/arm/note-march-armv5.d: Likewise. * testsuite/gas/arm/note-march-armv5.s: Likewise. * testsuite/gas/arm/note-march-armv5t.d: Likewise. * testsuite/gas/arm/note-march-armv5t.s: Likewise. * testsuite/gas/arm/note-march-armv5te.d: Likewise. * testsuite/gas/arm/note-march-armv5te.d: Likewise. * testsuite/gas/arm/note-march-ep9312.d: Likewise. * testsuite/gas/arm/note-march-ep9312.s: Likewise. * testsuite/gas/arm/note-march-iwmmxt.d: Likewise. * testsuite/gas/arm/note-march-iwmmxt.s: Likewise. * testsuite/gas/arm/note-march-iwmmxt2.d: Likewise. * testsuite/gas/arm/note-march-iwmmxt2.s: Likewise. * testsuite/gas/arm/note-march-xscale.d: Likewise. * testsuite/gas/arm/note-march-xscale.s: Likewise.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog152
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1020.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1020e.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1020t.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1022e.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1026ej-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1026ejs.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm10e.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm10t.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm10tdmi.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1136j-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1136jf-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1136jfs.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1136js.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1156t2-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1156t2f-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1176jz-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm1176jzf-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm2.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm250.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm3.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm6.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm60.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm600.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm610.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm620.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm70.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm700.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm700i.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm710.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7100.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm710c.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm710t.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm720.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm720t.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm740t.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7500.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7500fe.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7d.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7di.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7dm.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7dmi.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7m.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7t.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7tdmi-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm7tdmi.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm8.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm810.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm9.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm920.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm920t.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm922t.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm926ej-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm926ej.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm926ejs.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm940t.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm946e-r0.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm946e-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm946e.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm966e-r0.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm966e-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm966e.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm968e-s.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm9e-r0.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm9e.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm9tdmi.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-arm_any.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a12.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a15.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a17.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a32.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a35.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a5.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a53.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a55.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a57.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a7.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a72.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a73.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a75.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a76.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a8.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-a9.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-m0.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-m0plus.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-m1.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-m23.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-m3.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-m33.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-m4.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-m7.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-r4.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-r4f.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-r5.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-r52.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-r7.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-cortex-r8.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-ep9312.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-exynos-m1.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-fa526.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-fa606te.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-fa616te.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-fa626.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-fa626te.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-fa726te.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-fmp626.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-i80200.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-iwmmxt.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-iwmmxt2.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-marvell-pj4.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-marvell-whitney.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-mpcore.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-mpcorenovfp.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-sa1.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-strongarm.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-strongarm1.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-strongarm110.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-strongarm1100.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-strongarm1110.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-xgene1.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-xgene2.d6
-rw-r--r--gas/testsuite/gas/arm/cpu-xscale.d6
-rw-r--r--gas/testsuite/gas/arm/nop-asm.s1
-rw-r--r--gas/testsuite/gas/arm/note-march-armv2.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-armv2.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-armv2a.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-armv2a.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-armv3.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-armv3.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-armv3m.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-armv3m.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-armv4.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-armv4.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-armv4t.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-armv4t.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-armv5.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-armv5.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-armv5t.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-armv5t.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-armv5te.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-armv5te.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-ep9312.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-ep9312.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-iwmmxt.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-iwmmxt.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-iwmmxt2.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-iwmmxt2.s7
-rw-r--r--gas/testsuite/gas/arm/note-march-xscale.d13
-rw-r--r--gas/testsuite/gas/arm/note-march-xscale.s7
150 files changed, 1145 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 112b0f5..cf0fc7c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,155 @@
+2018-11-27 Thomas Preud'homme <thomas.preudhomme@linaro.org>
+
+ * testsuite/gas/arm/cpu-arm1020.d: New testcase.
+ * testsuite/gas/arm/cpu-arm1020e.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1020t.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1022e.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1026ej-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1026ejs.d: Likewise.
+ * testsuite/gas/arm/cpu-arm10e.d: Likewise.
+ * testsuite/gas/arm/cpu-arm10t.d: Likewise.
+ * testsuite/gas/arm/cpu-arm10tdmi.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1136j-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1136jf-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1136jfs.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1136js.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1156t2-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1156t2f-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1176jz-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm1176jzf-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm2.d: Likewise.
+ * testsuite/gas/arm/cpu-arm250.d: Likewise.
+ * testsuite/gas/arm/cpu-arm3.d: Likewise.
+ * testsuite/gas/arm/cpu-arm6.d: Likewise.
+ * testsuite/gas/arm/cpu-arm60.d: Likewise.
+ * testsuite/gas/arm/cpu-arm600.d: Likewise.
+ * testsuite/gas/arm/cpu-arm610.d: Likewise.
+ * testsuite/gas/arm/cpu-arm620.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7.d: Likewise.
+ * testsuite/gas/arm/cpu-arm70.d: Likewise.
+ * testsuite/gas/arm/cpu-arm700.d: Likewise.
+ * testsuite/gas/arm/cpu-arm700i.d: Likewise.
+ * testsuite/gas/arm/cpu-arm710.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7100.d: Likewise.
+ * testsuite/gas/arm/cpu-arm710c.d: Likewise.
+ * testsuite/gas/arm/cpu-arm710t.d: Likewise.
+ * testsuite/gas/arm/cpu-arm720.d: Likewise.
+ * testsuite/gas/arm/cpu-arm720t.d: Likewise.
+ * testsuite/gas/arm/cpu-arm740t.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7500.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7500fe.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7d.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7di.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7dm.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7dmi.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7m.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7t.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7tdmi-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm7tdmi.d: Likewise.
+ * testsuite/gas/arm/cpu-arm8.d: Likewise.
+ * testsuite/gas/arm/cpu-arm810.d: Likewise.
+ * testsuite/gas/arm/cpu-arm9.d: Likewise.
+ * testsuite/gas/arm/cpu-arm920.d: Likewise.
+ * testsuite/gas/arm/cpu-arm920t.d: Likewise.
+ * testsuite/gas/arm/cpu-arm922t.d: Likewise.
+ * testsuite/gas/arm/cpu-arm926ej-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm926ej.d: Likewise.
+ * testsuite/gas/arm/cpu-arm926ejs.d: Likewise.
+ * testsuite/gas/arm/cpu-arm940t.d: Likewise.
+ * testsuite/gas/arm/cpu-arm946e-r0.d: Likewise.
+ * testsuite/gas/arm/cpu-arm946e-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm946e.d: Likewise.
+ * testsuite/gas/arm/cpu-arm966e-r0.d: Likewise.
+ * testsuite/gas/arm/cpu-arm966e-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm966e.d: Likewise.
+ * testsuite/gas/arm/cpu-arm968e-s.d: Likewise.
+ * testsuite/gas/arm/cpu-arm9e-r0.d: Likewise.
+ * testsuite/gas/arm/cpu-arm9e.d: Likewise.
+ * testsuite/gas/arm/cpu-arm9tdmi.d: Likewise.
+ * testsuite/gas/arm/cpu-arm_any.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a12.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a15.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a17.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a32.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a35.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a5.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a53.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a55.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a57.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a7.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a72.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a73.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a75.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a76.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a8.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-a9.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-m0.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-m0plus.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-m1.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-m23.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-m3.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-m33.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-m4.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-m7.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-r4.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-r4f.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-r5.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-r52.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-r7.d: Likewise.
+ * testsuite/gas/arm/cpu-cortex-r8.d: Likewise.
+ * testsuite/gas/arm/cpu-ep9312.d: Likewise.
+ * testsuite/gas/arm/cpu-exynos-m1.d: Likewise.
+ * testsuite/gas/arm/cpu-fa526.d: Likewise.
+ * testsuite/gas/arm/cpu-fa606te.d: Likewise.
+ * testsuite/gas/arm/cpu-fa616te.d: Likewise.
+ * testsuite/gas/arm/cpu-fa626.d: Likewise.
+ * testsuite/gas/arm/cpu-fa626te.d: Likewise.
+ * testsuite/gas/arm/cpu-fa726te.d: Likewise.
+ * testsuite/gas/arm/cpu-fmp626.d: Likewise.
+ * testsuite/gas/arm/cpu-i80200.d: Likewise.
+ * testsuite/gas/arm/cpu-iwmmxt.d: Likewise.
+ * testsuite/gas/arm/cpu-iwmmxt2.d: Likewise.
+ * testsuite/gas/arm/cpu-marvell-pj4.d: Likewise.
+ * testsuite/gas/arm/cpu-marvell-whitney.d: Likewise.
+ * testsuite/gas/arm/cpu-mpcore.d: Likewise.
+ * testsuite/gas/arm/cpu-mpcorenovfp.d: Likewise.
+ * testsuite/gas/arm/cpu-sa1.d: Likewise.
+ * testsuite/gas/arm/cpu-strongarm.d: Likewise.
+ * testsuite/gas/arm/cpu-strongarm1.d: Likewise.
+ * testsuite/gas/arm/cpu-strongarm110.d: Likewise.
+ * testsuite/gas/arm/cpu-strongarm1100.d: Likewise.
+ * testsuite/gas/arm/cpu-strongarm1110.d: Likewise.
+ * testsuite/gas/arm/cpu-xgene1.d: Likewise.
+ * testsuite/gas/arm/cpu-xgene2.d: Likewise.
+ * testsuite/gas/arm/cpu-xscale.d: Likewise.
+ * testsuite/gas/arm/nop-asm.s: Likewise.
+ * testsuite/gas/arm/note-march-armv2.d: Likewise.
+ * testsuite/gas/arm/note-march-armv2.s: Likewise.
+ * testsuite/gas/arm/note-march-armv2a.d: Likewise.
+ * testsuite/gas/arm/note-march-armv2a.s: Likewise.
+ * testsuite/gas/arm/note-march-armv3.d: Likewise.
+ * testsuite/gas/arm/note-march-armv3.s: Likewise.
+ * testsuite/gas/arm/note-march-armv3m.d: Likewise.
+ * testsuite/gas/arm/note-march-armv3m.s: Likewise.
+ * testsuite/gas/arm/note-march-armv4.d: Likewise.
+ * testsuite/gas/arm/note-march-armv4.s: Likewise.
+ * testsuite/gas/arm/note-march-armv4t.d: Likewise.
+ * testsuite/gas/arm/note-march-armv4t.s: Likewise.
+ * testsuite/gas/arm/note-march-armv5.d: Likewise.
+ * testsuite/gas/arm/note-march-armv5.s: Likewise.
+ * testsuite/gas/arm/note-march-armv5t.d: Likewise.
+ * testsuite/gas/arm/note-march-armv5t.s: Likewise.
+ * testsuite/gas/arm/note-march-armv5te.d: Likewise.
+ * testsuite/gas/arm/note-march-armv5te.d: Likewise.
+ * testsuite/gas/arm/note-march-ep9312.d: Likewise.
+ * testsuite/gas/arm/note-march-ep9312.s: Likewise.
+ * testsuite/gas/arm/note-march-iwmmxt.d: Likewise.
+ * testsuite/gas/arm/note-march-iwmmxt.s: Likewise.
+ * testsuite/gas/arm/note-march-iwmmxt2.d: Likewise.
+ * testsuite/gas/arm/note-march-iwmmxt2.s: Likewise.
+ * testsuite/gas/arm/note-march-xscale.d: Likewise.
+ * testsuite/gas/arm/note-march-xscale.s: Likewise.
+
2018-11-27 Jozef Lawrynowicz <jozef.l@mittosystems.com>
* config/tc-msp430.c (is_dint): New.
diff --git a/gas/testsuite/gas/arm/cpu-arm1020.d b/gas/testsuite/gas/arm/cpu-arm1020.d
new file mode 100644
index 0000000..831c5f3
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1020.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1020 CPU
+# source: nop-asm.s
+# as: -mcpu=arm1020
+# objdump: -d -marm1020
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1020e.d b/gas/testsuite/gas/arm/cpu-arm1020e.d
new file mode 100644
index 0000000..63a117c
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1020e.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1020e CPU
+# source: nop-asm.s
+# as: -mcpu=arm1020e
+# objdump: -d -marm1020e
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1020t.d b/gas/testsuite/gas/arm/cpu-arm1020t.d
new file mode 100644
index 0000000..3633d88
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1020t.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1020t CPU
+# source: nop-asm.s
+# as: -mcpu=arm1020t
+# objdump: -d -marm1020t
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1022e.d b/gas/testsuite/gas/arm/cpu-arm1022e.d
new file mode 100644
index 0000000..a9754b2
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1022e.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1022e CPU
+# source: nop-asm.s
+# as: -mcpu=arm1022e
+# objdump: -d -marm1022e
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1026ej-s.d b/gas/testsuite/gas/arm/cpu-arm1026ej-s.d
new file mode 100644
index 0000000..8ab834d
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1026ej-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1026ej-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm1026ej-s
+# objdump: -d -marm1026ej-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1026ejs.d b/gas/testsuite/gas/arm/cpu-arm1026ejs.d
new file mode 100644
index 0000000..19b337a
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1026ejs.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1026ejs CPU
+# source: nop-asm.s
+# as: -mcpu=arm1026ejs
+# objdump: -d -marm1026ejs
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm10e.d b/gas/testsuite/gas/arm/cpu-arm10e.d
new file mode 100644
index 0000000..eb7cf66
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm10e.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm10e CPU
+# source: nop-asm.s
+# as: -mcpu=arm10e
+# objdump: -d -marm10e
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm10t.d b/gas/testsuite/gas/arm/cpu-arm10t.d
new file mode 100644
index 0000000..718bd3f
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm10t.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm10t CPU
+# source: nop-asm.s
+# as: -mcpu=arm10t
+# objdump: -d -marm10t
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm10tdmi.d b/gas/testsuite/gas/arm/cpu-arm10tdmi.d
new file mode 100644
index 0000000..c3609d2
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm10tdmi.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm10tdmi CPU
+# source: nop-asm.s
+# as: -mcpu=arm10tdmi
+# objdump: -d -marm10tdmi
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1136j-s.d b/gas/testsuite/gas/arm/cpu-arm1136j-s.d
new file mode 100644
index 0000000..41d14a3
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1136j-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1136j-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm1136j-s
+# objdump: -d -marm1136j-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1136jf-s.d b/gas/testsuite/gas/arm/cpu-arm1136jf-s.d
new file mode 100644
index 0000000..4e0f349
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1136jf-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1136jf-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm1136jf-s
+# objdump: -d -marm1136jf-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1136jfs.d b/gas/testsuite/gas/arm/cpu-arm1136jfs.d
new file mode 100644
index 0000000..37014e2
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1136jfs.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1136jfs CPU
+# source: nop-asm.s
+# as: -mcpu=arm1136jfs
+# objdump: -d -marm1136jfs
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1136js.d b/gas/testsuite/gas/arm/cpu-arm1136js.d
new file mode 100644
index 0000000..614a541
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1136js.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1136js CPU
+# source: nop-asm.s
+# as: -mcpu=arm1136js
+# objdump: -d -marm1136js
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1156t2-s.d b/gas/testsuite/gas/arm/cpu-arm1156t2-s.d
new file mode 100644
index 0000000..724da10
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1156t2-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1156t2-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm1156t2-s
+# objdump: -d -marm1156t2-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1156t2f-s.d b/gas/testsuite/gas/arm/cpu-arm1156t2f-s.d
new file mode 100644
index 0000000..60f0236
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1156t2f-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1156t2f-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm1156t2f-s
+# objdump: -d -marm1156t2f-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1176jz-s.d b/gas/testsuite/gas/arm/cpu-arm1176jz-s.d
new file mode 100644
index 0000000..8b3a6d2
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1176jz-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1176jz-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm1176jz-s
+# objdump: -d -marm1176jz-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm1176jzf-s.d b/gas/testsuite/gas/arm/cpu-arm1176jzf-s.d
new file mode 100644
index 0000000..f01e439
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm1176jzf-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm1176jzf-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm1176jzf-s
+# objdump: -d -marm1176jzf-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm2.d b/gas/testsuite/gas/arm/cpu-arm2.d
new file mode 100644
index 0000000..5f5ee8e
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm2.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm2 CPU
+# source: nop-asm.s
+# as: -mcpu=arm2
+# objdump: -d -marm2
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm250.d b/gas/testsuite/gas/arm/cpu-arm250.d
new file mode 100644
index 0000000..46e3650
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm250.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm250 CPU
+# source: nop-asm.s
+# as: -mcpu=arm250
+# objdump: -d -marm250
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm3.d b/gas/testsuite/gas/arm/cpu-arm3.d
new file mode 100644
index 0000000..bc81e70
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm3.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm3 CPU
+# source: nop-asm.s
+# as: -mcpu=arm3
+# objdump: -d -marm3
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm6.d b/gas/testsuite/gas/arm/cpu-arm6.d
new file mode 100644
index 0000000..c9766ae
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm6.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm6 CPU
+# source: nop-asm.s
+# as: -mcpu=arm6
+# objdump: -d -marm6
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm60.d b/gas/testsuite/gas/arm/cpu-arm60.d
new file mode 100644
index 0000000..00f3e55
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm60.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm60 CPU
+# source: nop-asm.s
+# as: -mcpu=arm60
+# objdump: -d -marm60
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm600.d b/gas/testsuite/gas/arm/cpu-arm600.d
new file mode 100644
index 0000000..c983678
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm600.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm600 CPU
+# source: nop-asm.s
+# as: -mcpu=arm600
+# objdump: -d -marm600
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm610.d b/gas/testsuite/gas/arm/cpu-arm610.d
new file mode 100644
index 0000000..2e94a2e
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm610.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm610 CPU
+# source: nop-asm.s
+# as: -mcpu=arm610
+# objdump: -d -marm610
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm620.d b/gas/testsuite/gas/arm/cpu-arm620.d
new file mode 100644
index 0000000..08b0921
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm620.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm620 CPU
+# source: nop-asm.s
+# as: -mcpu=arm620
+# objdump: -d -marm620
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7.d b/gas/testsuite/gas/arm/cpu-arm7.d
new file mode 100644
index 0000000..ca73087
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7 CPU
+# source: nop-asm.s
+# as: -mcpu=arm7
+# objdump: -d -marm7
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm70.d b/gas/testsuite/gas/arm/cpu-arm70.d
new file mode 100644
index 0000000..c4e4286
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm70.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm70 CPU
+# source: nop-asm.s
+# as: -mcpu=arm70
+# objdump: -d -marm70
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm700.d b/gas/testsuite/gas/arm/cpu-arm700.d
new file mode 100644
index 0000000..8a372fd
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm700.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm700 CPU
+# source: nop-asm.s
+# as: -mcpu=arm700
+# objdump: -d -marm700
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm700i.d b/gas/testsuite/gas/arm/cpu-arm700i.d
new file mode 100644
index 0000000..355c36f
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm700i.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm700i CPU
+# source: nop-asm.s
+# as: -mcpu=arm700i
+# objdump: -d -marm700i
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm710.d b/gas/testsuite/gas/arm/cpu-arm710.d
new file mode 100644
index 0000000..eb88df5
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm710.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm710 CPU
+# source: nop-asm.s
+# as: -mcpu=arm710
+# objdump: -d -marm710
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7100.d b/gas/testsuite/gas/arm/cpu-arm7100.d
new file mode 100644
index 0000000..726acfd
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7100.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7100 CPU
+# source: nop-asm.s
+# as: -mcpu=arm7100
+# objdump: -d -marm7100
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm710c.d b/gas/testsuite/gas/arm/cpu-arm710c.d
new file mode 100644
index 0000000..6833ac7
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm710c.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm710c CPU
+# source: nop-asm.s
+# as: -mcpu=arm710c
+# objdump: -d -marm710c
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm710t.d b/gas/testsuite/gas/arm/cpu-arm710t.d
new file mode 100644
index 0000000..0e85092
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm710t.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm710t CPU
+# source: nop-asm.s
+# as: -mcpu=arm710t
+# objdump: -d -marm710t
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm720.d b/gas/testsuite/gas/arm/cpu-arm720.d
new file mode 100644
index 0000000..8a385ef
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm720.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm720 CPU
+# source: nop-asm.s
+# as: -mcpu=arm720
+# objdump: -d -marm720
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm720t.d b/gas/testsuite/gas/arm/cpu-arm720t.d
new file mode 100644
index 0000000..2738f4e
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm720t.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm720t CPU
+# source: nop-asm.s
+# as: -mcpu=arm720t
+# objdump: -d -marm720t
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm740t.d b/gas/testsuite/gas/arm/cpu-arm740t.d
new file mode 100644
index 0000000..b348b2d
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm740t.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm740t CPU
+# source: nop-asm.s
+# as: -mcpu=arm740t
+# objdump: -d -marm740t
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7500.d b/gas/testsuite/gas/arm/cpu-arm7500.d
new file mode 100644
index 0000000..0cd52b4
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7500.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7500 CPU
+# source: nop-asm.s
+# as: -mcpu=arm7500
+# objdump: -d -marm7500
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7500fe.d b/gas/testsuite/gas/arm/cpu-arm7500fe.d
new file mode 100644
index 0000000..a1360a0
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7500fe.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7500fe CPU
+# source: nop-asm.s
+# as: -mcpu=arm7500fe
+# objdump: -d -marm7500fe
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7d.d b/gas/testsuite/gas/arm/cpu-arm7d.d
new file mode 100644
index 0000000..e4c689b
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7d.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7d CPU
+# source: nop-asm.s
+# as: -mcpu=arm7d
+# objdump: -d -marm7d
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7di.d b/gas/testsuite/gas/arm/cpu-arm7di.d
new file mode 100644
index 0000000..0123fe1
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7di.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7di CPU
+# source: nop-asm.s
+# as: -mcpu=arm7di
+# objdump: -d -marm7di
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7dm.d b/gas/testsuite/gas/arm/cpu-arm7dm.d
new file mode 100644
index 0000000..e70b0e0
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7dm.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7dm CPU
+# source: nop-asm.s
+# as: -mcpu=arm7dm
+# objdump: -d -marm7dm
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7dmi.d b/gas/testsuite/gas/arm/cpu-arm7dmi.d
new file mode 100644
index 0000000..d49d72f
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7dmi.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7dmi CPU
+# source: nop-asm.s
+# as: -mcpu=arm7dmi
+# objdump: -d -marm7dmi
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7m.d b/gas/testsuite/gas/arm/cpu-arm7m.d
new file mode 100644
index 0000000..0fe3ee0
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7m.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7m CPU
+# source: nop-asm.s
+# as: -mcpu=arm7m
+# objdump: -d -marm7m
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7t.d b/gas/testsuite/gas/arm/cpu-arm7t.d
new file mode 100644
index 0000000..99120c5
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7t.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7t CPU
+# source: nop-asm.s
+# as: -mcpu=arm7t
+# objdump: -d -marm7t
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7tdmi-s.d b/gas/testsuite/gas/arm/cpu-arm7tdmi-s.d
new file mode 100644
index 0000000..d1cbe4e
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7tdmi-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7tdmi-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm7tdmi-s
+# objdump: -d -marm7tdmi-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm7tdmi.d b/gas/testsuite/gas/arm/cpu-arm7tdmi.d
new file mode 100644
index 0000000..0eefc01
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm7tdmi.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm7tdmi CPU
+# source: nop-asm.s
+# as: -mcpu=arm7tdmi
+# objdump: -d -marm7tdmi
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm8.d b/gas/testsuite/gas/arm/cpu-arm8.d
new file mode 100644
index 0000000..5edc065
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm8.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm8 CPU
+# source: nop-asm.s
+# as: -mcpu=arm8
+# objdump: -d -marm8
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm810.d b/gas/testsuite/gas/arm/cpu-arm810.d
new file mode 100644
index 0000000..0019fc2
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm810.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm810 CPU
+# source: nop-asm.s
+# as: -mcpu=arm810
+# objdump: -d -marm810
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm9.d b/gas/testsuite/gas/arm/cpu-arm9.d
new file mode 100644
index 0000000..b4e2b86
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm9.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm9 CPU
+# source: nop-asm.s
+# as: -mcpu=arm9
+# objdump: -d -marm9
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm920.d b/gas/testsuite/gas/arm/cpu-arm920.d
new file mode 100644
index 0000000..6ca5d0c
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm920.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm920 CPU
+# source: nop-asm.s
+# as: -mcpu=arm920
+# objdump: -d -marm920
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm920t.d b/gas/testsuite/gas/arm/cpu-arm920t.d
new file mode 100644
index 0000000..764c328
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm920t.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm920t CPU
+# source: nop-asm.s
+# as: -mcpu=arm920t
+# objdump: -d -marm920t
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm922t.d b/gas/testsuite/gas/arm/cpu-arm922t.d
new file mode 100644
index 0000000..e02e4a8
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm922t.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm922t CPU
+# source: nop-asm.s
+# as: -mcpu=arm922t
+# objdump: -d -marm922t
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm926ej-s.d b/gas/testsuite/gas/arm/cpu-arm926ej-s.d
new file mode 100644
index 0000000..09df13e
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm926ej-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm926ej-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm926ej-s
+# objdump: -d -marm926ej-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm926ej.d b/gas/testsuite/gas/arm/cpu-arm926ej.d
new file mode 100644
index 0000000..bfc4754
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm926ej.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm926ej CPU
+# source: nop-asm.s
+# as: -mcpu=arm926ej
+# objdump: -d -marm926ej
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm926ejs.d b/gas/testsuite/gas/arm/cpu-arm926ejs.d
new file mode 100644
index 0000000..e30769f
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm926ejs.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm926ejs CPU
+# source: nop-asm.s
+# as: -mcpu=arm926ejs
+# objdump: -d -marm926ejs
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm940t.d b/gas/testsuite/gas/arm/cpu-arm940t.d
new file mode 100644
index 0000000..503a0d4
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm940t.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm940t CPU
+# source: nop-asm.s
+# as: -mcpu=arm940t
+# objdump: -d -marm940t
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm946e-r0.d b/gas/testsuite/gas/arm/cpu-arm946e-r0.d
new file mode 100644
index 0000000..cf06164
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm946e-r0.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm946e-r0 CPU
+# source: nop-asm.s
+# as: -mcpu=arm946e-r0
+# objdump: -d -marm946e-r0
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm946e-s.d b/gas/testsuite/gas/arm/cpu-arm946e-s.d
new file mode 100644
index 0000000..311144a
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm946e-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm946e-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm946e-s
+# objdump: -d -marm946e-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm946e.d b/gas/testsuite/gas/arm/cpu-arm946e.d
new file mode 100644
index 0000000..2452d60
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm946e.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm946e CPU
+# source: nop-asm.s
+# as: -mcpu=arm946e
+# objdump: -d -marm946e
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm966e-r0.d b/gas/testsuite/gas/arm/cpu-arm966e-r0.d
new file mode 100644
index 0000000..d6ded75
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm966e-r0.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm966e-r0 CPU
+# source: nop-asm.s
+# as: -mcpu=arm966e-r0
+# objdump: -d -marm966e-r0
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm966e-s.d b/gas/testsuite/gas/arm/cpu-arm966e-s.d
new file mode 100644
index 0000000..169cec2
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm966e-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm966e-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm966e-s
+# objdump: -d -marm966e-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm966e.d b/gas/testsuite/gas/arm/cpu-arm966e.d
new file mode 100644
index 0000000..aa21250
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm966e.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm966e CPU
+# source: nop-asm.s
+# as: -mcpu=arm966e
+# objdump: -d -marm966e
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm968e-s.d b/gas/testsuite/gas/arm/cpu-arm968e-s.d
new file mode 100644
index 0000000..dd6f2fa
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm968e-s.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm968e-s CPU
+# source: nop-asm.s
+# as: -mcpu=arm968e-s
+# objdump: -d -marm968e-s
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm9e-r0.d b/gas/testsuite/gas/arm/cpu-arm9e-r0.d
new file mode 100644
index 0000000..00f7eb2
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm9e-r0.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm9e-r0 CPU
+# source: nop-asm.s
+# as: -mcpu=arm9e-r0
+# objdump: -d -marm9e-r0
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm9e.d b/gas/testsuite/gas/arm/cpu-arm9e.d
new file mode 100644
index 0000000..ac43152
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm9e.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm9e CPU
+# source: nop-asm.s
+# as: -mcpu=arm9e
+# objdump: -d -marm9e
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm9tdmi.d b/gas/testsuite/gas/arm/cpu-arm9tdmi.d
new file mode 100644
index 0000000..fc7cacc
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm9tdmi.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm9tdmi CPU
+# source: nop-asm.s
+# as: -mcpu=arm9tdmi
+# objdump: -d -marm9tdmi
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-arm_any.d b/gas/testsuite/gas/arm/cpu-arm_any.d
new file mode 100644
index 0000000..8dd3d2e
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-arm_any.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for arm2 CPU
+# source: nop-asm.s
+# as: -mcpu=all
+# objdump: -d -marm_any
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a12.d b/gas/testsuite/gas/arm/cpu-cortex-a12.d
new file mode 100644
index 0000000..da9d1ca
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a12.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a12 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a12
+# objdump: -d -mcortex-a12
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a15.d b/gas/testsuite/gas/arm/cpu-cortex-a15.d
new file mode 100644
index 0000000..c2ab782
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a15.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a15 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a15
+# objdump: -d -mcortex-a15
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a17.d b/gas/testsuite/gas/arm/cpu-cortex-a17.d
new file mode 100644
index 0000000..1bf529b
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a17.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a17 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a17
+# objdump: -d -mcortex-a17
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a32.d b/gas/testsuite/gas/arm/cpu-cortex-a32.d
new file mode 100644
index 0000000..5e5f251
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a32.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a32 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a32
+# objdump: -d -mcortex-a32
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a35.d b/gas/testsuite/gas/arm/cpu-cortex-a35.d
new file mode 100644
index 0000000..1e118f3
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a35.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a35 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a35
+# objdump: -d -mcortex-a35
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a5.d b/gas/testsuite/gas/arm/cpu-cortex-a5.d
new file mode 100644
index 0000000..bb9f53e
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a5.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a5 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a5
+# objdump: -d -mcortex-a5
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a53.d b/gas/testsuite/gas/arm/cpu-cortex-a53.d
new file mode 100644
index 0000000..1837fff
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a53.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a53 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a53
+# objdump: -d -mcortex-a53
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a55.d b/gas/testsuite/gas/arm/cpu-cortex-a55.d
new file mode 100644
index 0000000..eb3c3e3
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a55.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a55 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a55
+# objdump: -d -mcortex-a55
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a57.d b/gas/testsuite/gas/arm/cpu-cortex-a57.d
new file mode 100644
index 0000000..1623f18
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a57.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a57 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a57
+# objdump: -d -mcortex-a57
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a7.d b/gas/testsuite/gas/arm/cpu-cortex-a7.d
new file mode 100644
index 0000000..4600462
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a7.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a7 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a7
+# objdump: -d -mcortex-a7
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a72.d b/gas/testsuite/gas/arm/cpu-cortex-a72.d
new file mode 100644
index 0000000..d4f4260
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a72.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a72 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a72
+# objdump: -d -mcortex-a72
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a73.d b/gas/testsuite/gas/arm/cpu-cortex-a73.d
new file mode 100644
index 0000000..9392ea7
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a73.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a73 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a73
+# objdump: -d -mcortex-a73
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a75.d b/gas/testsuite/gas/arm/cpu-cortex-a75.d
new file mode 100644
index 0000000..a43de8b
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a75.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a75 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a75
+# objdump: -d -mcortex-a75
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a76.d b/gas/testsuite/gas/arm/cpu-cortex-a76.d
new file mode 100644
index 0000000..93527d4
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a76.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a76 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a76
+# objdump: -d -mcortex-a76
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a8.d b/gas/testsuite/gas/arm/cpu-cortex-a8.d
new file mode 100644
index 0000000..a7c7cf4
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a8.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a8 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a8
+# objdump: -d -mcortex-a8
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-a9.d b/gas/testsuite/gas/arm/cpu-cortex-a9.d
new file mode 100644
index 0000000..6e009c2
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-a9.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-a9 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-a9
+# objdump: -d -mcortex-a9
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-m0.d b/gas/testsuite/gas/arm/cpu-cortex-m0.d
new file mode 100644
index 0000000..ee6082c
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-m0.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-m0 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-m0
+# objdump: -d -M force-thumb -mcortex-m0
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-m0plus.d b/gas/testsuite/gas/arm/cpu-cortex-m0plus.d
new file mode 100644
index 0000000..4cd0f67
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-m0plus.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-m0plus CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-m0plus
+# objdump: -d -M force-thumb -mcortex-m0plus
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-m1.d b/gas/testsuite/gas/arm/cpu-cortex-m1.d
new file mode 100644
index 0000000..331c22b
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-m1.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-m1 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-m1
+# objdump: -d -M force-thumb -mcortex-m1
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-m23.d b/gas/testsuite/gas/arm/cpu-cortex-m23.d
new file mode 100644
index 0000000..a60667f
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-m23.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-m23 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-m23
+# objdump: -d -M force-thumb -mcortex-m23
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-m3.d b/gas/testsuite/gas/arm/cpu-cortex-m3.d
new file mode 100644
index 0000000..e8208ab
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-m3.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-m3 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-m3
+# objdump: -d -M force-thumb -mcortex-m3
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-m33.d b/gas/testsuite/gas/arm/cpu-cortex-m33.d
new file mode 100644
index 0000000..1071bc6
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-m33.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-m33 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-m33
+# objdump: -d -M force-thumb -mcortex-m33
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-m4.d b/gas/testsuite/gas/arm/cpu-cortex-m4.d
new file mode 100644
index 0000000..c17cc16
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-m4.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-m4 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-m4
+# objdump: -d -M force-thumb -mcortex-m4
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-m7.d b/gas/testsuite/gas/arm/cpu-cortex-m7.d
new file mode 100644
index 0000000..63fa30d
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-m7.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-m7 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-m7
+# objdump: -d -M force-thumb -mcortex-m7
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-r4.d b/gas/testsuite/gas/arm/cpu-cortex-r4.d
new file mode 100644
index 0000000..6169c10
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-r4.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-r4 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-r4
+# objdump: -d -mcortex-r4
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-r4f.d b/gas/testsuite/gas/arm/cpu-cortex-r4f.d
new file mode 100644
index 0000000..27c118b
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-r4f.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-r4f CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-r4f
+# objdump: -d -mcortex-r4f
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-r5.d b/gas/testsuite/gas/arm/cpu-cortex-r5.d
new file mode 100644
index 0000000..9c1995f
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-r5.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-r5 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-r5
+# objdump: -d -mcortex-r5
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-r52.d b/gas/testsuite/gas/arm/cpu-cortex-r52.d
new file mode 100644
index 0000000..7d5005a
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-r52.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-r52 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-r52
+# objdump: -d -mcortex-r52
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-r7.d b/gas/testsuite/gas/arm/cpu-cortex-r7.d
new file mode 100644
index 0000000..1010258
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-r7.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-r7 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-r7
+# objdump: -d -mcortex-r7
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-cortex-r8.d b/gas/testsuite/gas/arm/cpu-cortex-r8.d
new file mode 100644
index 0000000..8fdd6f1
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-cortex-r8.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for cortex-r8 CPU
+# source: nop-asm.s
+# as: -mcpu=cortex-r8
+# objdump: -d -mcortex-r8
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-ep9312.d b/gas/testsuite/gas/arm/cpu-ep9312.d
new file mode 100644
index 0000000..9ab07a0
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-ep9312.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for ep9312 CPU
+# source: nop-asm.s
+# as: -mcpu=ep9312
+# objdump: -d -mep9312
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-exynos-m1.d b/gas/testsuite/gas/arm/cpu-exynos-m1.d
new file mode 100644
index 0000000..5819a51
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-exynos-m1.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for exynos-m1 CPU
+# source: nop-asm.s
+# as: -mcpu=exynos-m1
+# objdump: -d -mexynos-m1
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-fa526.d b/gas/testsuite/gas/arm/cpu-fa526.d
new file mode 100644
index 0000000..9280c59
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-fa526.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for fa526 CPU
+# source: nop-asm.s
+# as: -mcpu=fa526
+# objdump: -d -mfa526
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-fa606te.d b/gas/testsuite/gas/arm/cpu-fa606te.d
new file mode 100644
index 0000000..0d2713a
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-fa606te.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for fa606te CPU
+# source: nop-asm.s
+# as: -mcpu=fa606te
+# objdump: -d -mfa606te
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-fa616te.d b/gas/testsuite/gas/arm/cpu-fa616te.d
new file mode 100644
index 0000000..5ba0084
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-fa616te.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for fa616te CPU
+# source: nop-asm.s
+# as: -mcpu=fa616te
+# objdump: -d -mfa616te
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-fa626.d b/gas/testsuite/gas/arm/cpu-fa626.d
new file mode 100644
index 0000000..cb9f8e2
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-fa626.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for fa626 CPU
+# source: nop-asm.s
+# as: -mcpu=fa626
+# objdump: -d -mfa626
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-fa626te.d b/gas/testsuite/gas/arm/cpu-fa626te.d
new file mode 100644
index 0000000..1ca8908
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-fa626te.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for fa626te CPU
+# source: nop-asm.s
+# as: -mcpu=fa626te
+# objdump: -d -mfa626te
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-fa726te.d b/gas/testsuite/gas/arm/cpu-fa726te.d
new file mode 100644
index 0000000..1f712f2
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-fa726te.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for fa726te CPU
+# source: nop-asm.s
+# as: -mcpu=fa726te
+# objdump: -d -mfa726te
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-fmp626.d b/gas/testsuite/gas/arm/cpu-fmp626.d
new file mode 100644
index 0000000..0c653a9
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-fmp626.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for fmp626 CPU
+# source: nop-asm.s
+# as: -mcpu=fmp626
+# objdump: -d -mfmp626
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-i80200.d b/gas/testsuite/gas/arm/cpu-i80200.d
new file mode 100644
index 0000000..844fe9f
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-i80200.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for i80200 CPU
+# source: nop-asm.s
+# as: -mcpu=i80200
+# objdump: -d -mi80200
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-iwmmxt.d b/gas/testsuite/gas/arm/cpu-iwmmxt.d
new file mode 100644
index 0000000..75b2307
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-iwmmxt.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for iwmmxt CPU
+# source: nop-asm.s
+# as: -mcpu=iwmmxt
+# objdump: -d -miwmmxt
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-iwmmxt2.d b/gas/testsuite/gas/arm/cpu-iwmmxt2.d
new file mode 100644
index 0000000..2d28199
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-iwmmxt2.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for iwmmxt2 CPU
+# source: nop-asm.s
+# as: -mcpu=iwmmxt2
+# objdump: -d -miwmmxt2
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-marvell-pj4.d b/gas/testsuite/gas/arm/cpu-marvell-pj4.d
new file mode 100644
index 0000000..3bdf4da
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-marvell-pj4.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for marvell-pj4 CPU
+# source: nop-asm.s
+# as: -mcpu=marvell-pj4
+# objdump: -d -mmarvell-pj4
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-marvell-whitney.d b/gas/testsuite/gas/arm/cpu-marvell-whitney.d
new file mode 100644
index 0000000..a263209
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-marvell-whitney.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for marvell-whitney CPU
+# source: nop-asm.s
+# as: -mcpu=marvell-whitney
+# objdump: -d -mmarvell-whitney
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-mpcore.d b/gas/testsuite/gas/arm/cpu-mpcore.d
new file mode 100644
index 0000000..a1bd107
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-mpcore.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for mpcore CPU
+# source: nop-asm.s
+# as: -mcpu=mpcore
+# objdump: -d -mmpcore
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-mpcorenovfp.d b/gas/testsuite/gas/arm/cpu-mpcorenovfp.d
new file mode 100644
index 0000000..7b2b772
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-mpcorenovfp.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for mpcorenovfp CPU
+# source: nop-asm.s
+# as: -mcpu=mpcorenovfp
+# objdump: -d -mmpcorenovfp
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-sa1.d b/gas/testsuite/gas/arm/cpu-sa1.d
new file mode 100644
index 0000000..c7728ba
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-sa1.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for sa1 CPU
+# source: nop-asm.s
+# as: -mcpu=strongarm1
+# objdump: -d -msa1
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-strongarm.d b/gas/testsuite/gas/arm/cpu-strongarm.d
new file mode 100644
index 0000000..f78ca03
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-strongarm.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for strongarm CPU
+# source: nop-asm.s
+# as: -mcpu=strongarm
+# objdump: -d -mstrongarm
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-strongarm1.d b/gas/testsuite/gas/arm/cpu-strongarm1.d
new file mode 100644
index 0000000..639bd87
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-strongarm1.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for strongarm1 CPU
+# source: nop-asm.s
+# as: -mcpu=strongarm1
+# objdump: -d -mstrongarm1
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-strongarm110.d b/gas/testsuite/gas/arm/cpu-strongarm110.d
new file mode 100644
index 0000000..4b87fc0
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-strongarm110.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for strongarm110 CPU
+# source: nop-asm.s
+# as: -mcpu=strongarm110
+# objdump: -d -mstrongarm110
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-strongarm1100.d b/gas/testsuite/gas/arm/cpu-strongarm1100.d
new file mode 100644
index 0000000..1aaddbb
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-strongarm1100.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for strongarm1100 CPU
+# source: nop-asm.s
+# as: -mcpu=strongarm1100
+# objdump: -d -mstrongarm1100
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-strongarm1110.d b/gas/testsuite/gas/arm/cpu-strongarm1110.d
new file mode 100644
index 0000000..05751cc
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-strongarm1110.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for strongarm1110 CPU
+# source: nop-asm.s
+# as: -mcpu=strongarm1110
+# objdump: -d -mstrongarm1110
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-xgene1.d b/gas/testsuite/gas/arm/cpu-xgene1.d
new file mode 100644
index 0000000..96fa6a8
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-xgene1.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for xgene1 CPU
+# source: nop-asm.s
+# as: -mcpu=xgene1
+# objdump: -d -mxgene1
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-xgene2.d b/gas/testsuite/gas/arm/cpu-xgene2.d
new file mode 100644
index 0000000..525d484
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-xgene2.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for xgene2 CPU
+# source: nop-asm.s
+# as: -mcpu=xgene2
+# objdump: -d -mxgene2
+
+#...
diff --git a/gas/testsuite/gas/arm/cpu-xscale.d b/gas/testsuite/gas/arm/cpu-xscale.d
new file mode 100644
index 0000000..b817cf4
--- /dev/null
+++ b/gas/testsuite/gas/arm/cpu-xscale.d
@@ -0,0 +1,6 @@
+# name: Assemble and dump for xscale CPU
+# source: nop-asm.s
+# as: -mcpu=xscale
+# objdump: -d -mxscale
+
+#...
diff --git a/gas/testsuite/gas/arm/nop-asm.s b/gas/testsuite/gas/arm/nop-asm.s
new file mode 100644
index 0000000..c27745a
--- /dev/null
+++ b/gas/testsuite/gas/arm/nop-asm.s
@@ -0,0 +1 @@
+nop
diff --git a/gas/testsuite/gas/arm/note-march-armv2.d b/gas/testsuite/gas/arm/note-march-armv2.d
new file mode 100644
index 0000000..f7af35a
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv2.d
@@ -0,0 +1,13 @@
+# name: armv2 note with -march=armv2
+# source: note-march-armv2.s RUN_OBJCOPY
+# as: -march=armv2
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] armv2
diff --git a/gas/testsuite/gas/arm/note-march-armv2.s b/gas/testsuite/gas/arm/note-march-armv2.s
new file mode 100644
index 0000000..6c76df7
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv2.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 5
+.word 2
+.string "arch: "
+.align 2
+.string "armv2"
diff --git a/gas/testsuite/gas/arm/note-march-armv2a.d b/gas/testsuite/gas/arm/note-march-armv2a.d
new file mode 100644
index 0000000..443a424
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv2a.d
@@ -0,0 +1,13 @@
+# name: armv2a note with -march=armv2a
+# source: note-march-armv2a.s RUN_OBJCOPY
+# as: -march=armv2a
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] armv2a
diff --git a/gas/testsuite/gas/arm/note-march-armv2a.s b/gas/testsuite/gas/arm/note-march-armv2a.s
new file mode 100644
index 0000000..abe1b32
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv2a.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 6
+.word 2
+.string "arch: "
+.align 2
+.string "armv2a"
diff --git a/gas/testsuite/gas/arm/note-march-armv3.d b/gas/testsuite/gas/arm/note-march-armv3.d
new file mode 100644
index 0000000..d8dd724
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv3.d
@@ -0,0 +1,13 @@
+# name: armv3 note with -march=armv3
+# source: note-march-armv3.s RUN_OBJCOPY
+# as: -march=armv3
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] armv3
diff --git a/gas/testsuite/gas/arm/note-march-armv3.s b/gas/testsuite/gas/arm/note-march-armv3.s
new file mode 100644
index 0000000..cdc513d
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv3.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 5
+.word 2
+.string "arch: "
+.align 2
+.string "armv3"
diff --git a/gas/testsuite/gas/arm/note-march-armv3m.d b/gas/testsuite/gas/arm/note-march-armv3m.d
new file mode 100644
index 0000000..5c402c4
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv3m.d
@@ -0,0 +1,13 @@
+# name: armv3M note with -march=armv3m
+# source: note-march-armv3m.s RUN_OBJCOPY
+# as: -march=armv3m
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] armv3M
diff --git a/gas/testsuite/gas/arm/note-march-armv3m.s b/gas/testsuite/gas/arm/note-march-armv3m.s
new file mode 100644
index 0000000..127695e
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv3m.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 6
+.word 2
+.string "arch: "
+.align 2
+.string "armv3M"
diff --git a/gas/testsuite/gas/arm/note-march-armv4.d b/gas/testsuite/gas/arm/note-march-armv4.d
new file mode 100644
index 0000000..1882fa3
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv4.d
@@ -0,0 +1,13 @@
+# name: armv4 note with -march=armv4
+# source: note-march-armv4.s RUN_OBJCOPY
+# as: -march=armv4
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] armv4
diff --git a/gas/testsuite/gas/arm/note-march-armv4.s b/gas/testsuite/gas/arm/note-march-armv4.s
new file mode 100644
index 0000000..c403d7b
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv4.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 5
+.word 2
+.string "arch: "
+.align 2
+.string "armv4"
diff --git a/gas/testsuite/gas/arm/note-march-armv4t.d b/gas/testsuite/gas/arm/note-march-armv4t.d
new file mode 100644
index 0000000..bcddcf1
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv4t.d
@@ -0,0 +1,13 @@
+# name: armv4t note with -march=armv4t
+# source: note-march-armv4t.s RUN_OBJCOPY
+# as: -march=armv4t
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] armv4t
diff --git a/gas/testsuite/gas/arm/note-march-armv4t.s b/gas/testsuite/gas/arm/note-march-armv4t.s
new file mode 100644
index 0000000..bc90f30
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv4t.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 6
+.word 2
+.string "arch: "
+.align 2
+.string "armv4t"
diff --git a/gas/testsuite/gas/arm/note-march-armv5.d b/gas/testsuite/gas/arm/note-march-armv5.d
new file mode 100644
index 0000000..bf6a81a
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv5.d
@@ -0,0 +1,13 @@
+# name: armv5 note with -march=armv5
+# source: note-march-armv5.s RUN_OBJCOPY
+# as: -march=armv5
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] armv5
diff --git a/gas/testsuite/gas/arm/note-march-armv5.s b/gas/testsuite/gas/arm/note-march-armv5.s
new file mode 100644
index 0000000..b77f565
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv5.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 5
+.word 2
+.string "arch: "
+.align 2
+.string "armv5"
diff --git a/gas/testsuite/gas/arm/note-march-armv5t.d b/gas/testsuite/gas/arm/note-march-armv5t.d
new file mode 100644
index 0000000..2761143
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv5t.d
@@ -0,0 +1,13 @@
+# name: armv5t note with -march=armv5t
+# source: note-march-armv5t.s RUN_OBJCOPY
+# as: -march=armv5t
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] armv5t
diff --git a/gas/testsuite/gas/arm/note-march-armv5t.s b/gas/testsuite/gas/arm/note-march-armv5t.s
new file mode 100644
index 0000000..d88bf51
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv5t.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 6
+.word 2
+.string "arch: "
+.align 2
+.string "armv5t"
diff --git a/gas/testsuite/gas/arm/note-march-armv5te.d b/gas/testsuite/gas/arm/note-march-armv5te.d
new file mode 100644
index 0000000..8003740
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv5te.d
@@ -0,0 +1,13 @@
+# name: armv5te note with -march=armv5te
+# source: note-march-armv5te.s RUN_OBJCOPY
+# as: -march=armv5te
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] armv5te
diff --git a/gas/testsuite/gas/arm/note-march-armv5te.s b/gas/testsuite/gas/arm/note-march-armv5te.s
new file mode 100644
index 0000000..c2d72c1
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-armv5te.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 7
+.word 2
+.string "arch: "
+.align 2
+.string "armv5te"
diff --git a/gas/testsuite/gas/arm/note-march-ep9312.d b/gas/testsuite/gas/arm/note-march-ep9312.d
new file mode 100644
index 0000000..dd72821
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-ep9312.d
@@ -0,0 +1,13 @@
+# name: ep9312 note with -mcpu=ep9312 -mfpu=maverick
+# source: note-march-ep9312.s RUN_OBJCOPY
+# as: -mcpu=ep9312 -mfpu=maverick
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] ep9312
diff --git a/gas/testsuite/gas/arm/note-march-ep9312.s b/gas/testsuite/gas/arm/note-march-ep9312.s
new file mode 100644
index 0000000..b542eba
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-ep9312.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 6
+.word 2
+.string "arch: "
+.align 2
+.string "ep9312"
diff --git a/gas/testsuite/gas/arm/note-march-iwmmxt.d b/gas/testsuite/gas/arm/note-march-iwmmxt.d
new file mode 100644
index 0000000..eb3beed
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-iwmmxt.d
@@ -0,0 +1,13 @@
+# name: iWMMXt note with -march=iwmmxt
+# source: note-march-iwmmxt.s RUN_OBJCOPY
+# as: -march=iwmmxt
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] iWMMXt
diff --git a/gas/testsuite/gas/arm/note-march-iwmmxt.s b/gas/testsuite/gas/arm/note-march-iwmmxt.s
new file mode 100644
index 0000000..6e00eeb
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-iwmmxt.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 6
+.word 2
+.string "arch: "
+.align 2
+.string "iWMMXt"
diff --git a/gas/testsuite/gas/arm/note-march-iwmmxt2.d b/gas/testsuite/gas/arm/note-march-iwmmxt2.d
new file mode 100644
index 0000000..6c4a23a
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-iwmmxt2.d
@@ -0,0 +1,13 @@
+# name: iWMMXt2 note with -march=iwmmxt2
+# source: note-march-iwmmxt2.s RUN_OBJCOPY
+# as: -march=iwmmxt2
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] iWMMXt2
diff --git a/gas/testsuite/gas/arm/note-march-iwmmxt2.s b/gas/testsuite/gas/arm/note-march-iwmmxt2.s
new file mode 100644
index 0000000..ee6e72c
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-iwmmxt2.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 7
+.word 2
+.string "arch: "
+.align 2
+.string "iWMMXt2"
diff --git a/gas/testsuite/gas/arm/note-march-xscale.d b/gas/testsuite/gas/arm/note-march-xscale.d
new file mode 100644
index 0000000..d594345
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-xscale.d
@@ -0,0 +1,13 @@
+# name: XScale note with -march=xscale
+# source: note-march-xscale.s RUN_OBJCOPY
+# as: -march=xscale
+# objcopy_objects: -R .ARM.attributes
+# ld: -e 0x10000
+# objcopy_linked_file:
+# readelf: -p .note.gnu.arm.ident
+# This test is only valid on EABI based ports.
+# target: *-*-*eabi* *-*-nacl*
+
+String dump of section '.note.gnu.arm.ident':
+ \[\s*[0-9a-f]+\] arch:
+ \[\s*[0-9a-f]+\] XScale
diff --git a/gas/testsuite/gas/arm/note-march-xscale.s b/gas/testsuite/gas/arm/note-march-xscale.s
new file mode 100644
index 0000000..9149f5b
--- /dev/null
+++ b/gas/testsuite/gas/arm/note-march-xscale.s
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 6
+.word 2
+.string "arch: "
+.align 2
+.string "XScale"