[ARM] Update knowledge of bfd architectures
authorThomas Preud'homme <thomas.preudhomme@linaro.org>
Tue, 27 Nov 2018 18:27:35 +0000 (18:27 +0000)
committerThomas Preud'homme <thomas.preudhomme@linaro.org>
Tue, 27 Nov 2018 18:28:35 +0000 (18:28 +0000)
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.

152 files changed:
bfd/ChangeLog
bfd/cpu-arm.c
gas/ChangeLog
gas/testsuite/gas/arm/cpu-arm1020.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1020e.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1020t.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1022e.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1026ej-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1026ejs.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm10e.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm10t.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm10tdmi.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1136j-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1136jf-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1136jfs.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1136js.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1156t2-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1156t2f-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1176jz-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm1176jzf-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm2.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm250.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm3.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm6.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm60.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm600.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm610.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm620.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm70.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm700.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm700i.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm710.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7100.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm710c.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm710t.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm720.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm720t.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm740t.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7500.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7500fe.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7d.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7di.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7dm.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7dmi.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7m.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7t.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7tdmi-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm7tdmi.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm8.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm810.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm9.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm920.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm920t.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm922t.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm926ej-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm926ej.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm926ejs.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm940t.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm946e-r0.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm946e-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm946e.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm966e-r0.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm966e-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm966e.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm968e-s.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm9e-r0.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm9e.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm9tdmi.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-arm_any.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a12.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a15.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a17.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a32.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a35.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a5.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a53.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a55.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a57.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a7.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a72.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a73.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a75.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a76.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a8.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-a9.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-m0.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-m0plus.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-m1.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-m23.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-m3.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-m33.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-m4.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-m7.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-r4.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-r4f.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-r5.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-r52.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-r7.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-cortex-r8.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-ep9312.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-exynos-m1.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-fa526.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-fa606te.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-fa616te.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-fa626.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-fa626te.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-fa726te.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-fmp626.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-i80200.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-iwmmxt.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-iwmmxt2.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-marvell-pj4.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-marvell-whitney.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-mpcore.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-mpcorenovfp.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-sa1.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-strongarm.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-strongarm1.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-strongarm110.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-strongarm1100.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-strongarm1110.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-xgene1.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-xgene2.d [new file with mode: 0644]
gas/testsuite/gas/arm/cpu-xscale.d [new file with mode: 0644]
gas/testsuite/gas/arm/nop-asm.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv2.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv2.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv2a.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv2a.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv3.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv3.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv3m.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv3m.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv4.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv4.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv4t.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv4t.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv5.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv5.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv5t.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv5t.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv5te.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-armv5te.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-ep9312.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-ep9312.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-iwmmxt.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-iwmmxt.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-iwmmxt2.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-iwmmxt2.s [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-xscale.d [new file with mode: 0644]
gas/testsuite/gas/arm/note-march-xscale.s [new file with mode: 0644]

index 60eceaa2b5879702f072b72e00b370e6cfd27eec..57633e4fcf9a4fe1ccdeafea711f8eb51a052fc1 100644 (file)
@@ -1,3 +1,11 @@
+2018-11-27  Thomas Preud'homme  <thomas.preudhomme@linaro.org>
+
+       * 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.
+
 2018-11-27  Maciej W. Rozycki  <macro@linux-mips.org>
 
        * elfxx-mips.c (_bfd_mips_elf_check_relocs) <R_MIPS16_HI16>
index 4ef409b4516c6b0abdf0a4fa8f9dbde7eb974163..120e57fc65742747c039eca8e377f8ccebf38ee3 100644 (file)
@@ -65,36 +65,129 @@ static struct
 }
 processors[] =
 {
-  { bfd_mach_arm_2,  "arm2"     },
-  { bfd_mach_arm_2a, "arm250"   },
-  { bfd_mach_arm_2a, "arm3"     },
-  { bfd_mach_arm_3,  "arm6"     },
-  { bfd_mach_arm_3,  "arm60"    },
-  { bfd_mach_arm_3,  "arm600"   },
-  { bfd_mach_arm_3,  "arm610"   },
-  { bfd_mach_arm_3,  "arm7"     },
-  { bfd_mach_arm_3,  "arm710"   },
-  { bfd_mach_arm_3,  "arm7500"  },
-  { bfd_mach_arm_3,  "arm7d"    },
-  { bfd_mach_arm_3,  "arm7di"   },
-  { bfd_mach_arm_3M, "arm7dm"   },
-  { bfd_mach_arm_3M, "arm7dmi"  },
-  { bfd_mach_arm_4T, "arm7tdmi" },
-  { bfd_mach_arm_4,  "arm8"     },
-  { bfd_mach_arm_4,  "arm810"   },
-  { bfd_mach_arm_4,  "arm9"     },
-  { bfd_mach_arm_4,  "arm920"   },
-  { bfd_mach_arm_4T, "arm920t"  },
-  { bfd_mach_arm_4T, "arm9tdmi" },
-  { bfd_mach_arm_4,  "sa1"      },
-  { bfd_mach_arm_4,  "strongarm"},
-  { bfd_mach_arm_4,  "strongarm110" },
-  { bfd_mach_arm_4,  "strongarm1100" },
-  { bfd_mach_arm_XScale, "xscale" },
-  { bfd_mach_arm_ep9312, "ep9312" },
-  { bfd_mach_arm_iWMMXt, "iwmmxt" },
-  { bfd_mach_arm_iWMMXt2, "iwmmxt2" },
-  { bfd_mach_arm_unknown, "arm_any" }
+  { bfd_mach_arm_2,      "arm2"            },
+  { bfd_mach_arm_2a,     "arm250"          },
+  { bfd_mach_arm_2a,     "arm3"            },
+  { bfd_mach_arm_3,      "arm6"            },
+  { bfd_mach_arm_3,      "arm60"           },
+  { bfd_mach_arm_3,      "arm600"          },
+  { bfd_mach_arm_3,      "arm610"          },
+  { bfd_mach_arm_3,      "arm620"          },
+  { bfd_mach_arm_3,      "arm7"            },
+  { bfd_mach_arm_3,      "arm70"           },
+  { bfd_mach_arm_3,      "arm700"          },
+  { bfd_mach_arm_3,      "arm700i"         },
+  { bfd_mach_arm_3,      "arm710"          },
+  { bfd_mach_arm_3,      "arm7100"         },
+  { bfd_mach_arm_3,      "arm710c"         },
+  { bfd_mach_arm_4T,     "arm710t"         },
+  { bfd_mach_arm_3,      "arm720"          },
+  { bfd_mach_arm_4T,     "arm720t"         },
+  { bfd_mach_arm_4T,     "arm740t"         },
+  { bfd_mach_arm_3,      "arm7500"         },
+  { bfd_mach_arm_3,      "arm7500fe"       },
+  { bfd_mach_arm_3,      "arm7d"           },
+  { bfd_mach_arm_3,      "arm7di"          },
+  { bfd_mach_arm_3M,     "arm7dm"          },
+  { bfd_mach_arm_3M,     "arm7dmi"         },
+  { bfd_mach_arm_4T,     "arm7t"           },
+  { bfd_mach_arm_4T,     "arm7tdmi"        },
+  { bfd_mach_arm_4T,     "arm7tdmi-s"      },
+  { bfd_mach_arm_3M,     "arm7m"           },
+  { bfd_mach_arm_4,      "arm8"            },
+  { bfd_mach_arm_4,      "arm810"          },
+  { bfd_mach_arm_4,      "arm9"            },
+  { bfd_mach_arm_4T,     "arm920"          },
+  { bfd_mach_arm_4T,     "arm920t"         },
+  { bfd_mach_arm_4T,     "arm922t"         },
+  { bfd_mach_arm_5TEJ,   "arm926ej"        },
+  { bfd_mach_arm_5TEJ,   "arm926ejs"       },
+  { bfd_mach_arm_5TEJ,   "arm926ej-s"      },
+  { bfd_mach_arm_4T,     "arm940t"         },
+  { bfd_mach_arm_5TE,    "arm946e"         },
+  { bfd_mach_arm_5TE,    "arm946e-r0"      },
+  { bfd_mach_arm_5TE,    "arm946e-s"       },
+  { bfd_mach_arm_5TE,    "arm966e"         },
+  { bfd_mach_arm_5TE,    "arm966e-r0"      },
+  { bfd_mach_arm_5TE,    "arm966e-s"       },
+  { bfd_mach_arm_5TE,    "arm968e-s"       },
+  { bfd_mach_arm_5TE,    "arm9e"           },
+  { bfd_mach_arm_5TE,    "arm9e-r0"        },
+  { bfd_mach_arm_4T,     "arm9tdmi"        },
+  { bfd_mach_arm_5TE,    "arm1020"         },
+  { bfd_mach_arm_5T,     "arm1020t"        },
+  { bfd_mach_arm_5TE,    "arm1020e"        },
+  { bfd_mach_arm_5TE,    "arm1022e"        },
+  { bfd_mach_arm_5TEJ,   "arm1026ejs"      },
+  { bfd_mach_arm_5TEJ,   "arm1026ej-s"     },
+  { bfd_mach_arm_5TE,    "arm10e"          },
+  { bfd_mach_arm_5T,     "arm10t"          },
+  { bfd_mach_arm_5T,     "arm10tdmi"       },
+  { bfd_mach_arm_6,      "arm1136j-s"      },
+  { bfd_mach_arm_6,      "arm1136js"       },
+  { bfd_mach_arm_6,      "arm1136jf-s"     },
+  { bfd_mach_arm_6,      "arm1136jfs"      },
+  { bfd_mach_arm_6KZ,    "arm1176jz-s"     },
+  { bfd_mach_arm_6KZ,    "arm1176jzf-s"    },
+  { bfd_mach_arm_6T2,    "arm1156t2-s"     },
+  { bfd_mach_arm_6T2,    "arm1156t2f-s"    },
+  { bfd_mach_arm_7,      "cortex-a5"       },
+  { bfd_mach_arm_7,      "cortex-a7"       },
+  { bfd_mach_arm_7,      "cortex-a8"       },
+  { bfd_mach_arm_7,      "cortex-a9"       },
+  { bfd_mach_arm_7,      "cortex-a12"      },
+  { bfd_mach_arm_7,      "cortex-a15"      },
+  { bfd_mach_arm_7,      "cortex-a17"      },
+  { bfd_mach_arm_8,      "cortex-a32"      },
+  { bfd_mach_arm_8,      "cortex-a35"      },
+  { bfd_mach_arm_8,      "cortex-a53"      },
+  { bfd_mach_arm_8,      "cortex-a55"      },
+  { bfd_mach_arm_8,      "cortex-a57"      },
+  { bfd_mach_arm_8,      "cortex-a72"      },
+  { bfd_mach_arm_8,      "cortex-a73"      },
+  { bfd_mach_arm_8,      "cortex-a75"      },
+  { bfd_mach_arm_8,      "cortex-a76"      },
+  { bfd_mach_arm_6SM,    "cortex-m0"       },
+  { bfd_mach_arm_6SM,    "cortex-m0plus"   },
+  { bfd_mach_arm_6SM,    "cortex-m1"       },
+  { bfd_mach_arm_8M_BASE, "cortex-m23"     },
+  { bfd_mach_arm_7,      "cortex-m3"       },
+  { bfd_mach_arm_8M_MAIN, "cortex-m33"     },
+  { bfd_mach_arm_7EM,    "cortex-m4"       },
+  { bfd_mach_arm_7EM,    "cortex-m7"       },
+  { bfd_mach_arm_7,      "cortex-r4"       },
+  { bfd_mach_arm_7,      "cortex-r4f"      },
+  { bfd_mach_arm_7,      "cortex-r5"       },
+  { bfd_mach_arm_8R,     "cortex-r52"      },
+  { bfd_mach_arm_7,      "cortex-r7"       },
+  { bfd_mach_arm_7,      "cortex-r8"       },
+  { bfd_mach_arm_4T,     "ep9312"          },
+  { bfd_mach_arm_8,      "exynos-m1"       },
+  { bfd_mach_arm_4,      "fa526"           },
+  { bfd_mach_arm_5TE,    "fa606te"         },
+  { bfd_mach_arm_5TE,    "fa616te"         },
+  { bfd_mach_arm_4,      "fa626"           },
+  { bfd_mach_arm_5TE,    "fa626te"         },
+  { bfd_mach_arm_5TE,    "fa726te"         },
+  { bfd_mach_arm_5TE,    "fmp626"          },
+  { bfd_mach_arm_XScale,  "i80200"         },
+  { bfd_mach_arm_7,      "marvell-pj4"     },
+  { bfd_mach_arm_7,      "marvell-whitney" },
+  { bfd_mach_arm_6K,     "mpcore"          },
+  { bfd_mach_arm_6K,     "mpcorenovfp"     },
+  { bfd_mach_arm_4,      "sa1"             },
+  { bfd_mach_arm_4,      "strongarm"       },
+  { bfd_mach_arm_4,      "strongarm1"      },
+  { bfd_mach_arm_4,      "strongarm110"    },
+  { bfd_mach_arm_4,      "strongarm1100"   },
+  { bfd_mach_arm_4,      "strongarm1110"   },
+  { bfd_mach_arm_XScale,  "xscale"         },
+  { bfd_mach_arm_8,      "xgene1"          },
+  { bfd_mach_arm_8,      "xgene2"          },
+  { bfd_mach_arm_ep9312,  "ep9312"         },
+  { bfd_mach_arm_iWMMXt,  "iwmmxt"         },
+  { bfd_mach_arm_iWMMXt2, "iwmmxt2"        },
+  { bfd_mach_arm_unknown, "arm_any"        }
 };
 
 static bfd_boolean
@@ -317,7 +410,9 @@ bfd_arm_update_notes (bfd *abfd, const char *note_section)
   if (! arm_check_note (abfd, buffer, buffer_size, NOTE_ARCH_STRING, & arch_string))
     goto FAIL;
 
-  /* Check the architecture in the note against the architecture of the bfd.  */
+  /* Check the architecture in the note against the architecture of the bfd.
+     Newer architectures versions should not be added here as build attribute
+     are a better mechanism to convey ISA used.  */
   switch (bfd_get_mach (abfd))
     {
     default:
@@ -369,6 +464,9 @@ static struct
   const char * string;
   unsigned int mach;
 }
+
+/* Newer architectures versions should not be added here as build attribute are
+   a better mechanism to convey ISA used.  */
 architectures[] =
 {
   { "armv2",   bfd_mach_arm_2 },
index 112b0f55d4f404deeb5bc9b6df7900df77ed22e4..cf0fc7c8eb18c970ed569bc8db45fac40d889830 100644 (file)
@@ -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 (file)
index 0000000..831c5f3
--- /dev/null
@@ -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 (file)
index 0000000..63a117c
--- /dev/null
@@ -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 (file)
index 0000000..3633d88
--- /dev/null
@@ -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 (file)
index 0000000..a9754b2
--- /dev/null
@@ -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 (file)
index 0000000..8ab834d
--- /dev/null
@@ -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 (file)
index 0000000..19b337a
--- /dev/null
@@ -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 (file)
index 0000000..eb7cf66
--- /dev/null
@@ -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 (file)
index 0000000..718bd3f
--- /dev/null
@@ -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 (file)
index 0000000..c3609d2
--- /dev/null
@@ -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 (file)
index 0000000..41d14a3
--- /dev/null
@@ -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 (file)
index 0000000..4e0f349
--- /dev/null
@@ -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 (file)
index 0000000..37014e2
--- /dev/null
@@ -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 (file)
index 0000000..614a541
--- /dev/null
@@ -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 (file)
index 0000000..724da10
--- /dev/null
@@ -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 (file)
index 0000000..60f0236
--- /dev/null
@@ -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 (file)
index 0000000..8b3a6d2
--- /dev/null
@@ -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 (file)
index 0000000..f01e439
--- /dev/null
@@ -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 (file)
index 0000000..5f5ee8e
--- /dev/null
@@ -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 (file)
index 0000000..46e3650
--- /dev/null
@@ -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 (file)
index 0000000..bc81e70
--- /dev/null
@@ -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 (file)
index 0000000..c9766ae
--- /dev/null
@@ -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 (file)
index 0000000..00f3e55
--- /dev/null
@@ -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 (file)
index 0000000..c983678
--- /dev/null
@@ -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 (file)
index 0000000..2e94a2e
--- /dev/null
@@ -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 (file)
index 0000000..08b0921
--- /dev/null
@@ -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 (file)
index 0000000..ca73087
--- /dev/null
@@ -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 (file)
index 0000000..c4e4286
--- /dev/null
@@ -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 (file)
index 0000000..8a372fd
--- /dev/null
@@ -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 (file)
index 0000000..355c36f
--- /dev/null
@@ -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 (file)
index 0000000..eb88df5
--- /dev/null
@@ -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 (file)
index 0000000..726acfd
--- /dev/null
@@ -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 (file)
index 0000000..6833ac7
--- /dev/null
@@ -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 (file)
index 0000000..0e85092
--- /dev/null
@@ -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 (file)
index 0000000..8a385ef
--- /dev/null
@@ -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 (file)
index 0000000..2738f4e
--- /dev/null
@@ -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 (file)
index 0000000..b348b2d
--- /dev/null
@@ -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 (file)
index 0000000..0cd52b4
--- /dev/null
@@ -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 (file)
index 0000000..a1360a0
--- /dev/null
@@ -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 (file)
index 0000000..e4c689b
--- /dev/null
@@ -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 (file)
index 0000000..0123fe1
--- /dev/null
@@ -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 (file)
index 0000000..e70b0e0
--- /dev/null
@@ -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 (file)
index 0000000..d49d72f
--- /dev/null
@@ -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 (file)
index 0000000..0fe3ee0
--- /dev/null
@@ -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 (file)
index 0000000..99120c5
--- /dev/null
@@ -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 (file)
index 0000000..d1cbe4e
--- /dev/null
@@ -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 (file)
index 0000000..0eefc01
--- /dev/null
@@ -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 (file)
index 0000000..5edc065
--- /dev/null
@@ -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 (file)
index 0000000..0019fc2
--- /dev/null
@@ -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 (file)
index 0000000..b4e2b86
--- /dev/null
@@ -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 (file)
index 0000000..6ca5d0c
--- /dev/null
@@ -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 (file)
index 0000000..764c328
--- /dev/null
@@ -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 (file)
index 0000000..e02e4a8
--- /dev/null
@@ -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 (file)
index 0000000..09df13e
--- /dev/null
@@ -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 (file)
index 0000000..bfc4754
--- /dev/null
@@ -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 (file)
index 0000000..e30769f
--- /dev/null
@@ -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 (file)
index 0000000..503a0d4
--- /dev/null
@@ -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 (file)
index 0000000..cf06164
--- /dev/null
@@ -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 (file)
index 0000000..311144a
--- /dev/null
@@ -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 (file)
index 0000000..2452d60
--- /dev/null
@@ -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 (file)
index 0000000..d6ded75
--- /dev/null
@@ -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 (file)
index 0000000..169cec2
--- /dev/null
@@ -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 (file)
index 0000000..aa21250
--- /dev/null
@@ -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 (file)
index 0000000..dd6f2fa
--- /dev/null
@@ -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 (file)
index 0000000..00f7eb2
--- /dev/null
@@ -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 (file)
index 0000000..ac43152
--- /dev/null
@@ -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 (file)
index 0000000..fc7cacc
--- /dev/null
@@ -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 (file)
index 0000000..8dd3d2e
--- /dev/null
@@ -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 (file)
index 0000000..da9d1ca
--- /dev/null
@@ -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 (file)
index 0000000..c2ab782
--- /dev/null
@@ -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 (file)
index 0000000..1bf529b
--- /dev/null
@@ -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 (file)
index 0000000..5e5f251
--- /dev/null
@@ -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 (file)
index 0000000..1e118f3
--- /dev/null
@@ -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 (file)
index 0000000..bb9f53e
--- /dev/null
@@ -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 (file)
index 0000000..1837fff
--- /dev/null
@@ -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 (file)
index 0000000..eb3c3e3
--- /dev/null
@@ -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 (file)
index 0000000..1623f18
--- /dev/null
@@ -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 (file)
index 0000000..4600462
--- /dev/null
@@ -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 (file)
index 0000000..d4f4260
--- /dev/null
@@ -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 (file)
index 0000000..9392ea7
--- /dev/null
@@ -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 (file)
index 0000000..a43de8b
--- /dev/null
@@ -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 (file)
index 0000000..93527d4
--- /dev/null
@@ -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 (file)
index 0000000..a7c7cf4
--- /dev/null
@@ -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 (file)
index 0000000..6e009c2
--- /dev/null
@@ -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 (file)
index 0000000..ee6082c
--- /dev/null
@@ -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 (file)
index 0000000..4cd0f67
--- /dev/null
@@ -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 (file)
index 0000000..331c22b
--- /dev/null
@@ -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 (file)
index 0000000..a60667f
--- /dev/null
@@ -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 (file)
index 0000000..e8208ab
--- /dev/null
@@ -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 (file)
index 0000000..1071bc6
--- /dev/null
@@ -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 (file)
index 0000000..c17cc16
--- /dev/null
@@ -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 (file)
index 0000000..63fa30d
--- /dev/null
@@ -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 (file)
index 0000000..6169c10
--- /dev/null
@@ -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 (file)
index 0000000..27c118b
--- /dev/null
@@ -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 (file)
index 0000000..9c1995f
--- /dev/null
@@ -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 (file)
index 0000000..7d5005a
--- /dev/null
@@ -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 (file)
index 0000000..1010258
--- /dev/null
@@ -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 (file)
index 0000000..8fdd6f1
--- /dev/null
@@ -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 (file)
index 0000000..9ab07a0
--- /dev/null
@@ -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 (file)
index 0000000..5819a51
--- /dev/null
@@ -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 (file)
index 0000000..9280c59
--- /dev/null
@@ -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 (file)
index 0000000..0d2713a
--- /dev/null
@@ -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 (file)
index 0000000..5ba0084
--- /dev/null
@@ -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 (file)
index 0000000..cb9f8e2
--- /dev/null
@@ -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 (file)
index 0000000..1ca8908
--- /dev/null
@@ -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 (file)
index 0000000..1f712f2
--- /dev/null
@@ -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 (file)
index 0000000..0c653a9
--- /dev/null
@@ -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 (file)
index 0000000..844fe9f
--- /dev/null
@@ -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 (file)
index 0000000..75b2307
--- /dev/null
@@ -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 (file)
index 0000000..2d28199
--- /dev/null
@@ -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 (file)
index 0000000..3bdf4da
--- /dev/null
@@ -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 (file)
index 0000000..a263209
--- /dev/null
@@ -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 (file)
index 0000000..a1bd107
--- /dev/null
@@ -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 (file)
index 0000000..7b2b772
--- /dev/null
@@ -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 (file)
index 0000000..c7728ba
--- /dev/null
@@ -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 (file)
index 0000000..f78ca03
--- /dev/null
@@ -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 (file)
index 0000000..639bd87
--- /dev/null
@@ -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 (file)
index 0000000..4b87fc0
--- /dev/null
@@ -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 (file)
index 0000000..1aaddbb
--- /dev/null
@@ -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 (file)
index 0000000..05751cc
--- /dev/null
@@ -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 (file)
index 0000000..96fa6a8
--- /dev/null
@@ -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 (file)
index 0000000..525d484
--- /dev/null
@@ -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 (file)
index 0000000..b817cf4
--- /dev/null
@@ -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 (file)
index 0000000..c27745a
--- /dev/null
@@ -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 (file)
index 0000000..f7af35a
--- /dev/null
@@ -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 (file)
index 0000000..6c76df7
--- /dev/null
@@ -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 (file)
index 0000000..443a424
--- /dev/null
@@ -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 (file)
index 0000000..abe1b32
--- /dev/null
@@ -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 (file)
index 0000000..d8dd724
--- /dev/null
@@ -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 (file)
index 0000000..cdc513d
--- /dev/null
@@ -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 (file)
index 0000000..5c402c4
--- /dev/null
@@ -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 (file)
index 0000000..127695e
--- /dev/null
@@ -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 (file)
index 0000000..1882fa3
--- /dev/null
@@ -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 (file)
index 0000000..c403d7b
--- /dev/null
@@ -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 (file)
index 0000000..bcddcf1
--- /dev/null
@@ -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 (file)
index 0000000..bc90f30
--- /dev/null
@@ -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 (file)
index 0000000..bf6a81a
--- /dev/null
@@ -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 (file)
index 0000000..b77f565
--- /dev/null
@@ -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 (file)
index 0000000..2761143
--- /dev/null
@@ -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 (file)
index 0000000..d88bf51
--- /dev/null
@@ -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 (file)
index 0000000..8003740
--- /dev/null
@@ -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 (file)
index 0000000..c2d72c1
--- /dev/null
@@ -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 (file)
index 0000000..dd72821
--- /dev/null
@@ -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 (file)
index 0000000..b542eba
--- /dev/null
@@ -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 (file)
index 0000000..eb3beed
--- /dev/null
@@ -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 (file)
index 0000000..6e00eeb
--- /dev/null
@@ -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 (file)
index 0000000..6c4a23a
--- /dev/null
@@ -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 (file)
index 0000000..ee6e72c
--- /dev/null
@@ -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 (file)
index 0000000..d594345
--- /dev/null
@@ -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 (file)
index 0000000..9149f5b
--- /dev/null
@@ -0,0 +1,7 @@
+.section .note.gnu.arm.ident
+.word 8
+.word 6
+.word 2
+.string "arch: "
+.align 2
+.string "XScale"