From b5ab31636d36e1252791cec179aa11ab9d9b87e9 Mon Sep 17 00:00:00 2001 From: Thomas Preud'homme Date: Tue, 27 Nov 2018 18:27:35 +0000 Subject: [PATCH] [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. .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 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. --- bfd/ChangeLog | 8 + bfd/cpu-arm.c | 160 ++++++++++++++++---- gas/ChangeLog | 152 +++++++++++++++++++ gas/testsuite/gas/arm/cpu-arm1020.d | 6 + gas/testsuite/gas/arm/cpu-arm1020e.d | 6 + gas/testsuite/gas/arm/cpu-arm1020t.d | 6 + gas/testsuite/gas/arm/cpu-arm1022e.d | 6 + gas/testsuite/gas/arm/cpu-arm1026ej-s.d | 6 + gas/testsuite/gas/arm/cpu-arm1026ejs.d | 6 + gas/testsuite/gas/arm/cpu-arm10e.d | 6 + gas/testsuite/gas/arm/cpu-arm10t.d | 6 + gas/testsuite/gas/arm/cpu-arm10tdmi.d | 6 + gas/testsuite/gas/arm/cpu-arm1136j-s.d | 6 + gas/testsuite/gas/arm/cpu-arm1136jf-s.d | 6 + gas/testsuite/gas/arm/cpu-arm1136jfs.d | 6 + gas/testsuite/gas/arm/cpu-arm1136js.d | 6 + gas/testsuite/gas/arm/cpu-arm1156t2-s.d | 6 + gas/testsuite/gas/arm/cpu-arm1156t2f-s.d | 6 + gas/testsuite/gas/arm/cpu-arm1176jz-s.d | 6 + gas/testsuite/gas/arm/cpu-arm1176jzf-s.d | 6 + gas/testsuite/gas/arm/cpu-arm2.d | 6 + gas/testsuite/gas/arm/cpu-arm250.d | 6 + gas/testsuite/gas/arm/cpu-arm3.d | 6 + gas/testsuite/gas/arm/cpu-arm6.d | 6 + gas/testsuite/gas/arm/cpu-arm60.d | 6 + gas/testsuite/gas/arm/cpu-arm600.d | 6 + gas/testsuite/gas/arm/cpu-arm610.d | 6 + gas/testsuite/gas/arm/cpu-arm620.d | 6 + gas/testsuite/gas/arm/cpu-arm7.d | 6 + gas/testsuite/gas/arm/cpu-arm70.d | 6 + gas/testsuite/gas/arm/cpu-arm700.d | 6 + gas/testsuite/gas/arm/cpu-arm700i.d | 6 + gas/testsuite/gas/arm/cpu-arm710.d | 6 + gas/testsuite/gas/arm/cpu-arm7100.d | 6 + gas/testsuite/gas/arm/cpu-arm710c.d | 6 + gas/testsuite/gas/arm/cpu-arm710t.d | 6 + gas/testsuite/gas/arm/cpu-arm720.d | 6 + gas/testsuite/gas/arm/cpu-arm720t.d | 6 + gas/testsuite/gas/arm/cpu-arm740t.d | 6 + gas/testsuite/gas/arm/cpu-arm7500.d | 6 + gas/testsuite/gas/arm/cpu-arm7500fe.d | 6 + gas/testsuite/gas/arm/cpu-arm7d.d | 6 + gas/testsuite/gas/arm/cpu-arm7di.d | 6 + gas/testsuite/gas/arm/cpu-arm7dm.d | 6 + gas/testsuite/gas/arm/cpu-arm7dmi.d | 6 + gas/testsuite/gas/arm/cpu-arm7m.d | 6 + gas/testsuite/gas/arm/cpu-arm7t.d | 6 + gas/testsuite/gas/arm/cpu-arm7tdmi-s.d | 6 + gas/testsuite/gas/arm/cpu-arm7tdmi.d | 6 + gas/testsuite/gas/arm/cpu-arm8.d | 6 + gas/testsuite/gas/arm/cpu-arm810.d | 6 + gas/testsuite/gas/arm/cpu-arm9.d | 6 + gas/testsuite/gas/arm/cpu-arm920.d | 6 + gas/testsuite/gas/arm/cpu-arm920t.d | 6 + gas/testsuite/gas/arm/cpu-arm922t.d | 6 + gas/testsuite/gas/arm/cpu-arm926ej-s.d | 6 + gas/testsuite/gas/arm/cpu-arm926ej.d | 6 + gas/testsuite/gas/arm/cpu-arm926ejs.d | 6 + gas/testsuite/gas/arm/cpu-arm940t.d | 6 + gas/testsuite/gas/arm/cpu-arm946e-r0.d | 6 + gas/testsuite/gas/arm/cpu-arm946e-s.d | 6 + gas/testsuite/gas/arm/cpu-arm946e.d | 6 + gas/testsuite/gas/arm/cpu-arm966e-r0.d | 6 + gas/testsuite/gas/arm/cpu-arm966e-s.d | 6 + gas/testsuite/gas/arm/cpu-arm966e.d | 6 + gas/testsuite/gas/arm/cpu-arm968e-s.d | 6 + gas/testsuite/gas/arm/cpu-arm9e-r0.d | 6 + gas/testsuite/gas/arm/cpu-arm9e.d | 6 + gas/testsuite/gas/arm/cpu-arm9tdmi.d | 6 + gas/testsuite/gas/arm/cpu-arm_any.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a12.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a15.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a17.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a32.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a35.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a5.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a53.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a55.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a57.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a7.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a72.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a73.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a75.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a76.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a8.d | 6 + gas/testsuite/gas/arm/cpu-cortex-a9.d | 6 + gas/testsuite/gas/arm/cpu-cortex-m0.d | 6 + gas/testsuite/gas/arm/cpu-cortex-m0plus.d | 6 + gas/testsuite/gas/arm/cpu-cortex-m1.d | 6 + gas/testsuite/gas/arm/cpu-cortex-m23.d | 6 + gas/testsuite/gas/arm/cpu-cortex-m3.d | 6 + gas/testsuite/gas/arm/cpu-cortex-m33.d | 6 + gas/testsuite/gas/arm/cpu-cortex-m4.d | 6 + gas/testsuite/gas/arm/cpu-cortex-m7.d | 6 + gas/testsuite/gas/arm/cpu-cortex-r4.d | 6 + gas/testsuite/gas/arm/cpu-cortex-r4f.d | 6 + gas/testsuite/gas/arm/cpu-cortex-r5.d | 6 + gas/testsuite/gas/arm/cpu-cortex-r52.d | 6 + gas/testsuite/gas/arm/cpu-cortex-r7.d | 6 + gas/testsuite/gas/arm/cpu-cortex-r8.d | 6 + gas/testsuite/gas/arm/cpu-ep9312.d | 6 + gas/testsuite/gas/arm/cpu-exynos-m1.d | 6 + gas/testsuite/gas/arm/cpu-fa526.d | 6 + gas/testsuite/gas/arm/cpu-fa606te.d | 6 + gas/testsuite/gas/arm/cpu-fa616te.d | 6 + gas/testsuite/gas/arm/cpu-fa626.d | 6 + gas/testsuite/gas/arm/cpu-fa626te.d | 6 + gas/testsuite/gas/arm/cpu-fa726te.d | 6 + gas/testsuite/gas/arm/cpu-fmp626.d | 6 + gas/testsuite/gas/arm/cpu-i80200.d | 6 + gas/testsuite/gas/arm/cpu-iwmmxt.d | 6 + gas/testsuite/gas/arm/cpu-iwmmxt2.d | 6 + gas/testsuite/gas/arm/cpu-marvell-pj4.d | 6 + gas/testsuite/gas/arm/cpu-marvell-whitney.d | 6 + gas/testsuite/gas/arm/cpu-mpcore.d | 6 + gas/testsuite/gas/arm/cpu-mpcorenovfp.d | 6 + gas/testsuite/gas/arm/cpu-sa1.d | 6 + gas/testsuite/gas/arm/cpu-strongarm.d | 6 + gas/testsuite/gas/arm/cpu-strongarm1.d | 6 + gas/testsuite/gas/arm/cpu-strongarm110.d | 6 + gas/testsuite/gas/arm/cpu-strongarm1100.d | 6 + gas/testsuite/gas/arm/cpu-strongarm1110.d | 6 + gas/testsuite/gas/arm/cpu-xgene1.d | 6 + gas/testsuite/gas/arm/cpu-xgene2.d | 6 + gas/testsuite/gas/arm/cpu-xscale.d | 6 + gas/testsuite/gas/arm/nop-asm.s | 1 + gas/testsuite/gas/arm/note-march-armv2.d | 13 ++ gas/testsuite/gas/arm/note-march-armv2.s | 7 + gas/testsuite/gas/arm/note-march-armv2a.d | 13 ++ gas/testsuite/gas/arm/note-march-armv2a.s | 7 + gas/testsuite/gas/arm/note-march-armv3.d | 13 ++ gas/testsuite/gas/arm/note-march-armv3.s | 7 + gas/testsuite/gas/arm/note-march-armv3m.d | 13 ++ gas/testsuite/gas/arm/note-march-armv3m.s | 7 + gas/testsuite/gas/arm/note-march-armv4.d | 13 ++ gas/testsuite/gas/arm/note-march-armv4.s | 7 + gas/testsuite/gas/arm/note-march-armv4t.d | 13 ++ gas/testsuite/gas/arm/note-march-armv4t.s | 7 + gas/testsuite/gas/arm/note-march-armv5.d | 13 ++ gas/testsuite/gas/arm/note-march-armv5.s | 7 + gas/testsuite/gas/arm/note-march-armv5t.d | 13 ++ gas/testsuite/gas/arm/note-march-armv5t.s | 7 + gas/testsuite/gas/arm/note-march-armv5te.d | 13 ++ gas/testsuite/gas/arm/note-march-armv5te.s | 7 + gas/testsuite/gas/arm/note-march-ep9312.d | 13 ++ gas/testsuite/gas/arm/note-march-ep9312.s | 7 + gas/testsuite/gas/arm/note-march-iwmmxt.d | 13 ++ gas/testsuite/gas/arm/note-march-iwmmxt.s | 7 + gas/testsuite/gas/arm/note-march-iwmmxt2.d | 13 ++ gas/testsuite/gas/arm/note-march-iwmmxt2.s | 7 + gas/testsuite/gas/arm/note-march-xscale.d | 13 ++ gas/testsuite/gas/arm/note-march-xscale.s | 7 + 152 files changed, 1282 insertions(+), 31 deletions(-) create mode 100644 gas/testsuite/gas/arm/cpu-arm1020.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1020e.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1020t.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1022e.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1026ej-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1026ejs.d create mode 100644 gas/testsuite/gas/arm/cpu-arm10e.d create mode 100644 gas/testsuite/gas/arm/cpu-arm10t.d create mode 100644 gas/testsuite/gas/arm/cpu-arm10tdmi.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1136j-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1136jf-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1136jfs.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1136js.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1156t2-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1156t2f-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1176jz-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm1176jzf-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm2.d create mode 100644 gas/testsuite/gas/arm/cpu-arm250.d create mode 100644 gas/testsuite/gas/arm/cpu-arm3.d create mode 100644 gas/testsuite/gas/arm/cpu-arm6.d create mode 100644 gas/testsuite/gas/arm/cpu-arm60.d create mode 100644 gas/testsuite/gas/arm/cpu-arm600.d create mode 100644 gas/testsuite/gas/arm/cpu-arm610.d create mode 100644 gas/testsuite/gas/arm/cpu-arm620.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7.d create mode 100644 gas/testsuite/gas/arm/cpu-arm70.d create mode 100644 gas/testsuite/gas/arm/cpu-arm700.d create mode 100644 gas/testsuite/gas/arm/cpu-arm700i.d create mode 100644 gas/testsuite/gas/arm/cpu-arm710.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7100.d create mode 100644 gas/testsuite/gas/arm/cpu-arm710c.d create mode 100644 gas/testsuite/gas/arm/cpu-arm710t.d create mode 100644 gas/testsuite/gas/arm/cpu-arm720.d create mode 100644 gas/testsuite/gas/arm/cpu-arm720t.d create mode 100644 gas/testsuite/gas/arm/cpu-arm740t.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7500.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7500fe.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7d.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7di.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7dm.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7dmi.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7m.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7t.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7tdmi-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm7tdmi.d create mode 100644 gas/testsuite/gas/arm/cpu-arm8.d create mode 100644 gas/testsuite/gas/arm/cpu-arm810.d create mode 100644 gas/testsuite/gas/arm/cpu-arm9.d create mode 100644 gas/testsuite/gas/arm/cpu-arm920.d create mode 100644 gas/testsuite/gas/arm/cpu-arm920t.d create mode 100644 gas/testsuite/gas/arm/cpu-arm922t.d create mode 100644 gas/testsuite/gas/arm/cpu-arm926ej-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm926ej.d create mode 100644 gas/testsuite/gas/arm/cpu-arm926ejs.d create mode 100644 gas/testsuite/gas/arm/cpu-arm940t.d create mode 100644 gas/testsuite/gas/arm/cpu-arm946e-r0.d create mode 100644 gas/testsuite/gas/arm/cpu-arm946e-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm946e.d create mode 100644 gas/testsuite/gas/arm/cpu-arm966e-r0.d create mode 100644 gas/testsuite/gas/arm/cpu-arm966e-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm966e.d create mode 100644 gas/testsuite/gas/arm/cpu-arm968e-s.d create mode 100644 gas/testsuite/gas/arm/cpu-arm9e-r0.d create mode 100644 gas/testsuite/gas/arm/cpu-arm9e.d create mode 100644 gas/testsuite/gas/arm/cpu-arm9tdmi.d create mode 100644 gas/testsuite/gas/arm/cpu-arm_any.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a12.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a15.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a17.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a32.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a35.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a5.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a53.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a55.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a57.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a7.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a72.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a73.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a75.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a76.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a8.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-a9.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-m0.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-m0plus.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-m1.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-m23.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-m3.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-m33.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-m4.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-m7.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-r4.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-r4f.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-r5.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-r52.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-r7.d create mode 100644 gas/testsuite/gas/arm/cpu-cortex-r8.d create mode 100644 gas/testsuite/gas/arm/cpu-ep9312.d create mode 100644 gas/testsuite/gas/arm/cpu-exynos-m1.d create mode 100644 gas/testsuite/gas/arm/cpu-fa526.d create mode 100644 gas/testsuite/gas/arm/cpu-fa606te.d create mode 100644 gas/testsuite/gas/arm/cpu-fa616te.d create mode 100644 gas/testsuite/gas/arm/cpu-fa626.d create mode 100644 gas/testsuite/gas/arm/cpu-fa626te.d create mode 100644 gas/testsuite/gas/arm/cpu-fa726te.d create mode 100644 gas/testsuite/gas/arm/cpu-fmp626.d create mode 100644 gas/testsuite/gas/arm/cpu-i80200.d create mode 100644 gas/testsuite/gas/arm/cpu-iwmmxt.d create mode 100644 gas/testsuite/gas/arm/cpu-iwmmxt2.d create mode 100644 gas/testsuite/gas/arm/cpu-marvell-pj4.d create mode 100644 gas/testsuite/gas/arm/cpu-marvell-whitney.d create mode 100644 gas/testsuite/gas/arm/cpu-mpcore.d create mode 100644 gas/testsuite/gas/arm/cpu-mpcorenovfp.d create mode 100644 gas/testsuite/gas/arm/cpu-sa1.d create mode 100644 gas/testsuite/gas/arm/cpu-strongarm.d create mode 100644 gas/testsuite/gas/arm/cpu-strongarm1.d create mode 100644 gas/testsuite/gas/arm/cpu-strongarm110.d create mode 100644 gas/testsuite/gas/arm/cpu-strongarm1100.d create mode 100644 gas/testsuite/gas/arm/cpu-strongarm1110.d create mode 100644 gas/testsuite/gas/arm/cpu-xgene1.d create mode 100644 gas/testsuite/gas/arm/cpu-xgene2.d create mode 100644 gas/testsuite/gas/arm/cpu-xscale.d create mode 100644 gas/testsuite/gas/arm/nop-asm.s create mode 100644 gas/testsuite/gas/arm/note-march-armv2.d create mode 100644 gas/testsuite/gas/arm/note-march-armv2.s create mode 100644 gas/testsuite/gas/arm/note-march-armv2a.d create mode 100644 gas/testsuite/gas/arm/note-march-armv2a.s create mode 100644 gas/testsuite/gas/arm/note-march-armv3.d create mode 100644 gas/testsuite/gas/arm/note-march-armv3.s create mode 100644 gas/testsuite/gas/arm/note-march-armv3m.d create mode 100644 gas/testsuite/gas/arm/note-march-armv3m.s create mode 100644 gas/testsuite/gas/arm/note-march-armv4.d create mode 100644 gas/testsuite/gas/arm/note-march-armv4.s create mode 100644 gas/testsuite/gas/arm/note-march-armv4t.d create mode 100644 gas/testsuite/gas/arm/note-march-armv4t.s create mode 100644 gas/testsuite/gas/arm/note-march-armv5.d create mode 100644 gas/testsuite/gas/arm/note-march-armv5.s create mode 100644 gas/testsuite/gas/arm/note-march-armv5t.d create mode 100644 gas/testsuite/gas/arm/note-march-armv5t.s create mode 100644 gas/testsuite/gas/arm/note-march-armv5te.d create mode 100644 gas/testsuite/gas/arm/note-march-armv5te.s create mode 100644 gas/testsuite/gas/arm/note-march-ep9312.d create mode 100644 gas/testsuite/gas/arm/note-march-ep9312.s create mode 100644 gas/testsuite/gas/arm/note-march-iwmmxt.d create mode 100644 gas/testsuite/gas/arm/note-march-iwmmxt.s create mode 100644 gas/testsuite/gas/arm/note-march-iwmmxt2.d create mode 100644 gas/testsuite/gas/arm/note-march-iwmmxt2.s create mode 100644 gas/testsuite/gas/arm/note-march-xscale.d create mode 100644 gas/testsuite/gas/arm/note-march-xscale.s diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 60eceaa2b58..57633e4fcf9 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,11 @@ +2018-11-27 Thomas Preud'homme + + * 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 * elfxx-mips.c (_bfd_mips_elf_check_relocs) diff --git a/bfd/cpu-arm.c b/bfd/cpu-arm.c index 4ef409b4516..120e57fc657 100644 --- a/bfd/cpu-arm.c +++ b/bfd/cpu-arm.c @@ -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 }, diff --git a/gas/ChangeLog b/gas/ChangeLog index 112b0f55d4f..cf0fc7c8eb1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,155 @@ +2018-11-27 Thomas Preud'homme + + * 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 * 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 00000000000..831c5f393bb --- /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 00000000000..63a117cd972 --- /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 00000000000..3633d880d78 --- /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 00000000000..a9754b20ca8 --- /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 00000000000..8ab834d24a7 --- /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 00000000000..19b337a8049 --- /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 00000000000..eb7cf661c56 --- /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 00000000000..718bd3f71be --- /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 00000000000..c3609d2c27e --- /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 00000000000..41d14a34d8f --- /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 00000000000..4e0f349a982 --- /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 00000000000..37014e2bb3f --- /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 00000000000..614a541c682 --- /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 00000000000..724da10eaf2 --- /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 00000000000..60f02369161 --- /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 00000000000..8b3a6d20e97 --- /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 00000000000..f01e4393e96 --- /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 00000000000..5f5ee8ec785 --- /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 00000000000..46e365015cb --- /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 00000000000..bc81e70023e --- /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 00000000000..c9766ae4673 --- /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 00000000000..00f3e55995e --- /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 00000000000..c983678275d --- /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 00000000000..2e94a2ef4a5 --- /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 00000000000..08b0921694b --- /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 00000000000..ca730877a10 --- /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 00000000000..c4e42861895 --- /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 00000000000..8a372fd4e0c --- /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 00000000000..355c36f4623 --- /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 00000000000..eb88df584f1 --- /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 00000000000..726acfdae2f --- /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 00000000000..6833ac70a3b --- /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 00000000000..0e85092e088 --- /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 00000000000..8a385ef37ff --- /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 00000000000..2738f4e1dac --- /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 00000000000..b348b2d85d7 --- /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 00000000000..0cd52b40cc5 --- /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 00000000000..a1360a088f0 --- /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 00000000000..e4c689b86c2 --- /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 00000000000..0123fe13bf1 --- /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 00000000000..e70b0e0a635 --- /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 00000000000..d49d72f7a3d --- /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 00000000000..0fe3ee0c112 --- /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 00000000000..99120c58a50 --- /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 00000000000..d1cbe4e7140 --- /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 00000000000..0eefc0141e4 --- /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 00000000000..5edc0657f84 --- /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 00000000000..0019fc2b4bd --- /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 00000000000..b4e2b867678 --- /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 00000000000..6ca5d0ce37e --- /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 00000000000..764c328984d --- /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 00000000000..e02e4a8a204 --- /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 00000000000..09df13efe9d --- /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 00000000000..bfc475418b6 --- /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 00000000000..e30769f86a5 --- /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 00000000000..503a0d47173 --- /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 00000000000..cf0616461f8 --- /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 00000000000..311144ada6f --- /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 00000000000..2452d6022fa --- /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 00000000000..d6ded75aaab --- /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 00000000000..169cec2e0f1 --- /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 00000000000..aa212505f45 --- /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 00000000000..dd6f2fad311 --- /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 00000000000..00f7eb2b2c1 --- /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 00000000000..ac43152b0a2 --- /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 00000000000..fc7cacc2d13 --- /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 00000000000..8dd3d2e17d5 --- /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 00000000000..da9d1cab1d7 --- /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 00000000000..c2ab782905c --- /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 00000000000..1bf529bbfa2 --- /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 00000000000..5e5f2518d1e --- /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 00000000000..1e118f317ea --- /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 00000000000..bb9f53e143f --- /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 00000000000..1837fff60e5 --- /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 00000000000..eb3c3e3aaa9 --- /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 00000000000..1623f186ff8 --- /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 00000000000..46004623e37 --- /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 00000000000..d4f4260d2b4 --- /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 00000000000..9392ea7014d --- /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 00000000000..a43de8b00dd --- /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 00000000000..93527d44a37 --- /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 00000000000..a7c7cf4d9c8 --- /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 00000000000..6e009c203d8 --- /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 00000000000..ee6082c542d --- /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 00000000000..4cd0f67051c --- /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 00000000000..331c22bfb22 --- /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 00000000000..a60667f44ab --- /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 00000000000..e8208abb2e7 --- /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 00000000000..1071bc60c02 --- /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 00000000000..c17cc16e378 --- /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 00000000000..63fa30d03b6 --- /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 00000000000..6169c102253 --- /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 00000000000..27c118bc76c --- /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 00000000000..9c1995f9a8e --- /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 00000000000..7d5005a52b3 --- /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 00000000000..10102589f22 --- /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 00000000000..8fdd6f1cbbe --- /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 00000000000..9ab07a029bc --- /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 00000000000..5819a511567 --- /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 00000000000..9280c59c4e1 --- /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 00000000000..0d2713ab4d6 --- /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 00000000000..5ba00840950 --- /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 00000000000..cb9f8e29217 --- /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 00000000000..1ca8908fc60 --- /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 00000000000..1f712f26cd5 --- /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 00000000000..0c653a98ffd --- /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 00000000000..844fe9fe3d1 --- /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 00000000000..75b2307d0d3 --- /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 00000000000..2d28199b179 --- /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 00000000000..3bdf4dad3aa --- /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 00000000000..a26320911d0 --- /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 00000000000..a1bd107a234 --- /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 00000000000..7b2b772a2fa --- /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 00000000000..c7728ba7180 --- /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 00000000000..f78ca036fb1 --- /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 00000000000..639bd8756b6 --- /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 00000000000..4b87fc0421a --- /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 00000000000..1aaddbbdd8e --- /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 00000000000..05751cc42b1 --- /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 00000000000..96fa6a8c2ba --- /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 00000000000..525d4848031 --- /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 00000000000..b817cf4fac9 --- /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 00000000000..c27745a58f6 --- /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 00000000000..f7af35a9290 --- /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 00000000000..6c76df7abe5 --- /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 00000000000..443a424718c --- /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 00000000000..abe1b326546 --- /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 00000000000..d8dd724c52c --- /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 00000000000..cdc513db4a0 --- /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 00000000000..5c402c470ee --- /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 00000000000..127695ec478 --- /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 00000000000..1882fa3f97a --- /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 00000000000..c403d7bc5a2 --- /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 00000000000..bcddcf17938 --- /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 00000000000..bc90f30a095 --- /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 00000000000..bf6a81a04d6 --- /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 00000000000..b77f5653b7e --- /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 00000000000..2761143091a --- /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 00000000000..d88bf51ddd2 --- /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 00000000000..8003740135b --- /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 00000000000..c2d72c17d38 --- /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 00000000000..dd728216300 --- /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 00000000000..b542eba2e8a --- /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 00000000000..eb3beede367 --- /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 00000000000..6e00eeb8148 --- /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 00000000000..6c4a23a1abd --- /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 00000000000..ee6e72cbe7d --- /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 00000000000..d5943457c8d --- /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 00000000000..9149f5b967b --- /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" -- 2.30.2