From 692392805ba027a851371ea6e8812a27b22d30d5 Mon Sep 17 00:00:00 2001 From: Matthew Gretton-Dann Date: Fri, 16 Mar 2012 14:02:33 +0000 Subject: [PATCH] * gas/config/tc-arm.c (aeabi_set_public_attributes): Correct handling of Tag_DIV_use. * gas/testsuite/gas/testsuite/gas/arm/any-idiv.d: New testcase. * gas/testsuite/gas/testsuite/gas/arm/any-idiv.s: Likewise. * gas/testsuite/gas/arm/attr-any-armv4t.d: Update expected output. * gas/testsuite/gas/arm/attr-any-thumbv6.d: Likewise. * gas/testsuite/gas/arm/attr-cpu-directive.d: Likewise. * gas/testsuite/gas/arm/attr-default.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv1.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv2.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv2a.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv2s.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv3.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv3m.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv4.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv4t.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv4txm.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv4xm.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv5.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv5t.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv5te.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv5tej.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv5texp.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv5txm.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6-m+os.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6-m.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6j.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6k+sec.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6k.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6kt2.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6s-m.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6t2.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6z.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6zk.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6zkt2.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv6zt2.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv7-a+mp.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv7-a+sec.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv7-a.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv7.d: Likewise. * gas/testsuite/gas/arm/attr-march-armv7a.d: Likewise. * gas/testsuite/gas/arm/attr-march-iwmmxt.d: Likewise. * gas/testsuite/gas/arm/attr-march-iwmmxt2.d: Likewise. * gas/testsuite/gas/arm/attr-march-xscale.d: Likewise. * gas/testsuite/gas/arm/attr-mcpu.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-arm1020e.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-arm1020t.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-arm7500fe.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-fpa.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-fpa10.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-fpa11.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-fpe.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-fpe2.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-fpe3.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-maverick.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-neon.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-softfpa.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-softvfp.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfp.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfp10.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfp3.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfp9.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpv2.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpv3.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpv4.d: Likewise. * gas/testsuite/gas/arm/attr-mfpu-vfpxd.d: Likewise. * gas/testsuite/gas/arm/attr-order.d: Likewise. * gas/testsuite/gas/arm/attr-override-cpu-directive.d: Likewise. * gas/testsuite/gas/arm/attr-override-mcpu.d: Likewise. * gas/testsuite/gas/arm/eabi_attr_1.d: Likewise. * gas/testsuite/gas/arm/mov-highregs-any.d: Likewise. * gas/testsuite/gas/arm/mov-lowregs-any.d: Likewise. * gas/testsuite/gas/arm/pr12198-1.d: Likewise. * gas/testsuite/gas/arm/pr12198-2.d: Likewise. * ld/testsuite/ld-arm/arm-elf.exp: Add new testcases. * ld/testsuite/ld-arm/attr-merge-2.attr: Update ouput. * ld/testsuite/ld-arm/attr-merge-2a.s: Remove Tag_DIV_use test. * ld/testsuite/ld-arm/attr-merge-2b.s: Likewise. * ld/testsuite/ld-arm/attr-merge-3.attr: Updated expected output. * ld/testsuite/ld-arm/attr-merge-4.attr: Likewise. * ld/testsuite/ld-arm/attr-merge-5.attr: Likewise. * ld/testsuite/ld-arm/attr-merge-6.attr: Likewise. * ld/testsuite/ld-arm/attr-merge-7.attr: Likewise. * ld/testsuite/ld-arm/attr-merge-arch-1.attr: Likewise. * ld/testsuite/ld-arm/attr-merge-arch-2.attr: Likewise. * ld/testsuite/ld-arm/attr-merge-unknown-2.d: Likewise. * ld/testsuite/ld-arm/attr-merge-unknown-2r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-unknown-3.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-1.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-2.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-3.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-4.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-5.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-6.d: Likewise. * ld/testsuite/ld-arm/attr-merge-vfp-6r.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-00.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-02.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-04.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-20.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-22.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-40.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. * ld/testsuite/ld-arm/attr-merge-wchar-44.d: Likewise. * ld/testsuite/ld-arm/attr-merge.attr: Likewise. * ld/testsuite/ld-arm/attr-merge-div-0.s: New testcase. * ld/testsuite/ld-arm/attr-merge-div-00.d: Likewise. * ld/testsuite/ld-arm/attr-merge-div-01-m3.d: Likewise. * ld/testsuite/ld-arm/attr-merge-div-01.d: Likewise. * ld/testsuite/ld-arm/attr-merge-div-02.d: Likewise. * ld/testsuite/ld-arm/attr-merge-div-1.s: Likewise. * ld/testsuite/ld-arm/attr-merge-div-10-m3.d: Likewise. * ld/testsuite/ld-arm/attr-merge-div-10.d: Likewise. * ld/testsuite/ld-arm/attr-merge-div-11.d: Likewise. * ld/testsuite/ld-arm/attr-merge-div-12.d: Likewise. * ld/testsuite/ld-arm/attr-merge-div-120.d: Likewise. * ld/testsuite/ld-arm/attr-merge-div-2.s: Likewise. * ld/testsuite/ld-arm/attr-merge-div-20.d: Likewise. * ld/testsuite/ld-arm/attr-merge-div-21.d: Likewise. * ld/testsuite/ld-arm/attr-merge-div-22.d: Likewise. --- gas/ChangeLog | 5 ++ gas/config/tc-arm.c | 30 +++++-- gas/testsuite/ChangeLog | 83 +++++++++++++++++++ gas/testsuite/gas/arm/any-idiv.d | 11 +++ gas/testsuite/gas/arm/any-idiv.s | 4 + gas/testsuite/gas/arm/attr-any-armv4t.d | 1 - gas/testsuite/gas/arm/attr-any-thumbv6.d | 1 - gas/testsuite/gas/arm/attr-cpu-directive.d | 1 - gas/testsuite/gas/arm/attr-default.d | 1 - gas/testsuite/gas/arm/attr-march-armv1.d | 1 - gas/testsuite/gas/arm/attr-march-armv2.d | 1 - gas/testsuite/gas/arm/attr-march-armv2a.d | 1 - gas/testsuite/gas/arm/attr-march-armv2s.d | 1 - gas/testsuite/gas/arm/attr-march-armv3.d | 1 - gas/testsuite/gas/arm/attr-march-armv3m.d | 1 - gas/testsuite/gas/arm/attr-march-armv4.d | 1 - gas/testsuite/gas/arm/attr-march-armv4t.d | 1 - gas/testsuite/gas/arm/attr-march-armv4txm.d | 1 - gas/testsuite/gas/arm/attr-march-armv4xm.d | 1 - gas/testsuite/gas/arm/attr-march-armv5.d | 1 - gas/testsuite/gas/arm/attr-march-armv5t.d | 1 - gas/testsuite/gas/arm/attr-march-armv5te.d | 1 - gas/testsuite/gas/arm/attr-march-armv5tej.d | 1 - gas/testsuite/gas/arm/attr-march-armv5texp.d | 1 - gas/testsuite/gas/arm/attr-march-armv5txm.d | 1 - gas/testsuite/gas/arm/attr-march-armv6-m+os.d | 1 - gas/testsuite/gas/arm/attr-march-armv6-m.d | 1 - gas/testsuite/gas/arm/attr-march-armv6.d | 1 - gas/testsuite/gas/arm/attr-march-armv6j.d | 1 - gas/testsuite/gas/arm/attr-march-armv6k+sec.d | 1 - gas/testsuite/gas/arm/attr-march-armv6k.d | 1 - gas/testsuite/gas/arm/attr-march-armv6kt2.d | 1 - gas/testsuite/gas/arm/attr-march-armv6s-m.d | 1 - gas/testsuite/gas/arm/attr-march-armv6t2.d | 1 - gas/testsuite/gas/arm/attr-march-armv6z.d | 1 - gas/testsuite/gas/arm/attr-march-armv6zk.d | 1 - gas/testsuite/gas/arm/attr-march-armv6zkt2.d | 1 - gas/testsuite/gas/arm/attr-march-armv6zt2.d | 1 - gas/testsuite/gas/arm/attr-march-armv7-a+mp.d | 1 - .../gas/arm/attr-march-armv7-a+sec.d | 1 - gas/testsuite/gas/arm/attr-march-armv7-a.d | 1 - gas/testsuite/gas/arm/attr-march-armv7.d | 1 - gas/testsuite/gas/arm/attr-march-armv7a.d | 1 - gas/testsuite/gas/arm/attr-march-iwmmxt.d | 1 - gas/testsuite/gas/arm/attr-march-iwmmxt2.d | 1 - gas/testsuite/gas/arm/attr-march-xscale.d | 1 - gas/testsuite/gas/arm/attr-mcpu.d | 1 - gas/testsuite/gas/arm/attr-mfpu-arm1020e.d | 1 - gas/testsuite/gas/arm/attr-mfpu-arm1020t.d | 1 - gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d | 1 - gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d | 1 - gas/testsuite/gas/arm/attr-mfpu-arm7500fe.d | 1 - gas/testsuite/gas/arm/attr-mfpu-fpa.d | 1 - gas/testsuite/gas/arm/attr-mfpu-fpa10.d | 1 - gas/testsuite/gas/arm/attr-mfpu-fpa11.d | 1 - gas/testsuite/gas/arm/attr-mfpu-fpe.d | 1 - gas/testsuite/gas/arm/attr-mfpu-fpe2.d | 1 - gas/testsuite/gas/arm/attr-mfpu-fpe3.d | 1 - gas/testsuite/gas/arm/attr-mfpu-maverick.d | 1 - gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d | 1 - gas/testsuite/gas/arm/attr-mfpu-neon.d | 1 - gas/testsuite/gas/arm/attr-mfpu-softfpa.d | 1 - gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d | 1 - gas/testsuite/gas/arm/attr-mfpu-softvfp.d | 1 - gas/testsuite/gas/arm/attr-mfpu-vfp.d | 1 - gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d | 1 - gas/testsuite/gas/arm/attr-mfpu-vfp10.d | 1 - gas/testsuite/gas/arm/attr-mfpu-vfp3.d | 1 - gas/testsuite/gas/arm/attr-mfpu-vfp9.d | 1 - gas/testsuite/gas/arm/attr-mfpu-vfpv2.d | 1 - gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d | 1 - gas/testsuite/gas/arm/attr-mfpu-vfpv3.d | 1 - gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d | 1 - gas/testsuite/gas/arm/attr-mfpu-vfpv4.d | 1 - gas/testsuite/gas/arm/attr-mfpu-vfpxd.d | 1 - gas/testsuite/gas/arm/attr-order.d | 1 - .../gas/arm/attr-override-cpu-directive.d | 1 - gas/testsuite/gas/arm/attr-override-mcpu.d | 1 - gas/testsuite/gas/arm/eabi_attr_1.d | 1 - gas/testsuite/gas/arm/mov-highregs-any.d | 1 - gas/testsuite/gas/arm/mov-lowregs-any.d | 1 - gas/testsuite/gas/arm/pr12198-1.d | 1 - gas/testsuite/gas/arm/pr12198-2.d | 1 - ld/testsuite/ChangeLog | 61 ++++++++++++++ ld/testsuite/ld-arm/arm-elf.exp | 12 +++ ld/testsuite/ld-arm/attr-merge-2.attr | 1 - ld/testsuite/ld-arm/attr-merge-2a.s | 1 - ld/testsuite/ld-arm/attr-merge-2b.s | 1 - ld/testsuite/ld-arm/attr-merge-3.attr | 1 + ld/testsuite/ld-arm/attr-merge-4.attr | 1 - ld/testsuite/ld-arm/attr-merge-5.attr | 1 - ld/testsuite/ld-arm/attr-merge-6.attr | 1 - ld/testsuite/ld-arm/attr-merge-7.attr | 1 - ld/testsuite/ld-arm/attr-merge-arch-1.attr | 1 - ld/testsuite/ld-arm/attr-merge-arch-2.attr | 1 - ld/testsuite/ld-arm/attr-merge-div-0.s | 1 + ld/testsuite/ld-arm/attr-merge-div-00.d | 12 +++ ld/testsuite/ld-arm/attr-merge-div-01-m3.d | 14 ++++ ld/testsuite/ld-arm/attr-merge-div-01.d | 13 +++ ld/testsuite/ld-arm/attr-merge-div-02.d | 13 +++ ld/testsuite/ld-arm/attr-merge-div-1.s | 1 + ld/testsuite/ld-arm/attr-merge-div-10-m3.d | 14 ++++ ld/testsuite/ld-arm/attr-merge-div-10.d | 13 +++ ld/testsuite/ld-arm/attr-merge-div-11.d | 13 +++ ld/testsuite/ld-arm/attr-merge-div-12.d | 13 +++ ld/testsuite/ld-arm/attr-merge-div-120.d | 16 ++++ ld/testsuite/ld-arm/attr-merge-div-2.s | 1 + ld/testsuite/ld-arm/attr-merge-div-20.d | 13 +++ ld/testsuite/ld-arm/attr-merge-div-21.d | 13 +++ ld/testsuite/ld-arm/attr-merge-div-22.d | 13 +++ ld/testsuite/ld-arm/attr-merge-unknown-2.d | 1 - ld/testsuite/ld-arm/attr-merge-unknown-2r.d | 1 - ld/testsuite/ld-arm/attr-merge-unknown-3.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-1.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-1r.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-2.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-2r.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-3.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-3r.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-4.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-4r.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-5.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-5r.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-6.d | 1 - ld/testsuite/ld-arm/attr-merge-vfp-6r.d | 1 - .../ld-arm/attr-merge-wchar-00-nowarn.d | 1 - ld/testsuite/ld-arm/attr-merge-wchar-00.d | 1 - .../ld-arm/attr-merge-wchar-02-nowarn.d | 1 - ld/testsuite/ld-arm/attr-merge-wchar-02.d | 1 - .../ld-arm/attr-merge-wchar-04-nowarn.d | 1 - ld/testsuite/ld-arm/attr-merge-wchar-04.d | 1 - .../ld-arm/attr-merge-wchar-20-nowarn.d | 1 - ld/testsuite/ld-arm/attr-merge-wchar-20.d | 1 - .../ld-arm/attr-merge-wchar-22-nowarn.d | 1 - ld/testsuite/ld-arm/attr-merge-wchar-22.d | 1 - .../ld-arm/attr-merge-wchar-24-nowarn.d | 1 - .../ld-arm/attr-merge-wchar-40-nowarn.d | 1 - ld/testsuite/ld-arm/attr-merge-wchar-40.d | 1 - .../ld-arm/attr-merge-wchar-42-nowarn.d | 1 - .../ld-arm/attr-merge-wchar-44-nowarn.d | 1 - ld/testsuite/ld-arm/attr-merge-wchar-44.d | 1 - ld/testsuite/ld-arm/attr-merge.attr | 1 - 142 files changed, 361 insertions(+), 128 deletions(-) create mode 100644 gas/testsuite/gas/arm/any-idiv.d create mode 100644 gas/testsuite/gas/arm/any-idiv.s create mode 100644 ld/testsuite/ld-arm/attr-merge-div-0.s create mode 100644 ld/testsuite/ld-arm/attr-merge-div-00.d create mode 100644 ld/testsuite/ld-arm/attr-merge-div-01-m3.d create mode 100644 ld/testsuite/ld-arm/attr-merge-div-01.d create mode 100644 ld/testsuite/ld-arm/attr-merge-div-02.d create mode 100644 ld/testsuite/ld-arm/attr-merge-div-1.s create mode 100644 ld/testsuite/ld-arm/attr-merge-div-10-m3.d create mode 100644 ld/testsuite/ld-arm/attr-merge-div-10.d create mode 100644 ld/testsuite/ld-arm/attr-merge-div-11.d create mode 100644 ld/testsuite/ld-arm/attr-merge-div-12.d create mode 100644 ld/testsuite/ld-arm/attr-merge-div-120.d create mode 100644 ld/testsuite/ld-arm/attr-merge-div-2.s create mode 100644 ld/testsuite/ld-arm/attr-merge-div-20.d create mode 100644 ld/testsuite/ld-arm/attr-merge-div-21.d create mode 100644 ld/testsuite/ld-arm/attr-merge-div-22.d diff --git a/gas/ChangeLog b/gas/ChangeLog index cbd6237281f..12382554f8a 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2012-03-16 Matthew Gretton-Dann + + * config/tc-arm.c (aeabi_set_public_attributes): Correct + handling of Tag_DIV_use. + 2012-03-15 Thomas Schwinge * doc/as.texinfo (Bundle directives): Fix typo. diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index b2e0d86d6eb..8b0f6da5ede 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -23698,6 +23698,7 @@ static void aeabi_set_public_attributes (void) { int arch; + char profile; int virt_sec = 0; arm_feature_set flags; arm_feature_set tmp; @@ -23775,11 +23776,16 @@ aeabi_set_public_attributes (void) /* Tag_CPU_arch_profile. */ if (ARM_CPU_HAS_FEATURE (flags, arm_ext_v7a)) - aeabi_set_attribute_int (Tag_CPU_arch_profile, 'A'); + profile = 'A'; else if (ARM_CPU_HAS_FEATURE (flags, arm_ext_v7r)) - aeabi_set_attribute_int (Tag_CPU_arch_profile, 'R'); + profile = 'R'; else if (ARM_CPU_HAS_FEATURE (flags, arm_ext_m)) - aeabi_set_attribute_int (Tag_CPU_arch_profile, 'M'); + profile = 'M'; + else + profile = '\0'; + + if (profile != '\0') + aeabi_set_attribute_int (Tag_CPU_arch_profile, profile); /* Tag_ARM_ISA_use. */ if (ARM_CPU_HAS_FEATURE (flags, arm_ext_v1) @@ -23828,13 +23834,19 @@ aeabi_set_public_attributes (void) if (ARM_CPU_HAS_FEATURE (flags, fpu_vfp_fp16)) aeabi_set_attribute_int (Tag_VFP_HP_extension, 1); - /* Tag_DIV_use. */ - if (ARM_CPU_HAS_FEATURE (flags, arm_ext_adiv)) + /* Tag_DIV_use. + + We set Tag_DIV_use to two when integer divide instructions have been used + in ARM state, or when Thumb integer divide instructions have been used, + but we have no architecture profile set, nor have we any ARM instructions. + + For new architectures we will have to check these tests. */ + gas_assert (arch <= TAG_CPU_ARCH_V7E_M); + if (ARM_CPU_HAS_FEATURE (flags, arm_ext_adiv) + || (profile == '\0' + && ARM_CPU_HAS_FEATURE (flags, arm_ext_div) + && !ARM_CPU_HAS_FEATURE (arm_arch_used, arm_arch_any))) aeabi_set_attribute_int (Tag_DIV_use, 2); - else if (ARM_CPU_HAS_FEATURE (flags, arm_ext_div)) - aeabi_set_attribute_int (Tag_DIV_use, 0); - else - aeabi_set_attribute_int (Tag_DIV_use, 1); /* Tag_MP_extension_use. */ if (ARM_CPU_HAS_FEATURE (flags, arm_ext_mp)) diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 878321dc5d0..7ac59cd7002 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,86 @@ +2012-03-16 Matthew Gretton-Dann + + * gas/testsuite/gas/arm/any-idiv.d: New testcase. + * gas/testsuite/gas/arm/any-idiv.s: Likewise. + * gas/arm/attr-any-armv4t.d: Update expected output. + * gas/arm/attr-any-thumbv6.d: Likewise. + * gas/arm/attr-cpu-directive.d: Likewise. + * gas/arm/attr-default.d: Likewise. + * gas/arm/attr-march-armv1.d: Likewise. + * gas/arm/attr-march-armv2.d: Likewise. + * gas/arm/attr-march-armv2a.d: Likewise. + * gas/arm/attr-march-armv2s.d: Likewise. + * gas/arm/attr-march-armv3.d: Likewise. + * gas/arm/attr-march-armv3m.d: Likewise. + * gas/arm/attr-march-armv4.d: Likewise. + * gas/arm/attr-march-armv4t.d: Likewise. + * gas/arm/attr-march-armv4txm.d: Likewise. + * gas/arm/attr-march-armv4xm.d: Likewise. + * gas/arm/attr-march-armv5.d: Likewise. + * gas/arm/attr-march-armv5t.d: Likewise. + * gas/arm/attr-march-armv5te.d: Likewise. + * gas/arm/attr-march-armv5tej.d: Likewise. + * gas/arm/attr-march-armv5texp.d: Likewise. + * gas/arm/attr-march-armv5txm.d: Likewise. + * gas/arm/attr-march-armv6-m+os.d: Likewise. + * gas/arm/attr-march-armv6-m.d: Likewise. + * gas/arm/attr-march-armv6.d: Likewise. + * gas/arm/attr-march-armv6j.d: Likewise. + * gas/arm/attr-march-armv6k+sec.d: Likewise. + * gas/arm/attr-march-armv6k.d: Likewise. + * gas/arm/attr-march-armv6kt2.d: Likewise. + * gas/arm/attr-march-armv6s-m.d: Likewise. + * gas/arm/attr-march-armv6t2.d: Likewise. + * gas/arm/attr-march-armv6z.d: Likewise. + * gas/arm/attr-march-armv6zk.d: Likewise. + * gas/arm/attr-march-armv6zkt2.d: Likewise. + * gas/arm/attr-march-armv6zt2.d: Likewise. + * gas/arm/attr-march-armv7-a+mp.d: Likewise. + * gas/arm/attr-march-armv7-a+sec.d: Likewise. + * gas/arm/attr-march-armv7-a.d: Likewise. + * gas/arm/attr-march-armv7.d: Likewise. + * gas/arm/attr-march-armv7a.d: Likewise. + * gas/arm/attr-march-iwmmxt.d: Likewise. + * gas/arm/attr-march-iwmmxt2.d: Likewise. + * gas/arm/attr-march-xscale.d: Likewise. + * gas/arm/attr-mcpu.d: Likewise. + * gas/arm/attr-mfpu-arm1020e.d: Likewise. + * gas/arm/attr-mfpu-arm1020t.d: Likewise. + * gas/arm/attr-mfpu-arm1136jf-s.d: Likewise. + * gas/arm/attr-mfpu-arm1136jfs.d: Likewise. + * gas/arm/attr-mfpu-arm7500fe.d: Likewise. + * gas/arm/attr-mfpu-fpa.d: Likewise. + * gas/arm/attr-mfpu-fpa10.d: Likewise. + * gas/arm/attr-mfpu-fpa11.d: Likewise. + * gas/arm/attr-mfpu-fpe.d: Likewise. + * gas/arm/attr-mfpu-fpe2.d: Likewise. + * gas/arm/attr-mfpu-fpe3.d: Likewise. + * gas/arm/attr-mfpu-maverick.d: Likewise. + * gas/arm/attr-mfpu-neon-fp16.d: Likewise. + * gas/arm/attr-mfpu-neon.d: Likewise. + * gas/arm/attr-mfpu-softfpa.d: Likewise. + * gas/arm/attr-mfpu-softvfp+vfp.d: Likewise. + * gas/arm/attr-mfpu-softvfp.d: Likewise. + * gas/arm/attr-mfpu-vfp.d: Likewise. + * gas/arm/attr-mfpu-vfp10-r0.d: Likewise. + * gas/arm/attr-mfpu-vfp10.d: Likewise. + * gas/arm/attr-mfpu-vfp3.d: Likewise. + * gas/arm/attr-mfpu-vfp9.d: Likewise. + * gas/arm/attr-mfpu-vfpv2.d: Likewise. + * gas/arm/attr-mfpu-vfpv3-d16.d: Likewise. + * gas/arm/attr-mfpu-vfpv3.d: Likewise. + * gas/arm/attr-mfpu-vfpv4-d16.d: Likewise. + * gas/arm/attr-mfpu-vfpv4.d: Likewise. + * gas/arm/attr-mfpu-vfpxd.d: Likewise. + * gas/arm/attr-order.d: Likewise. + * gas/arm/attr-override-cpu-directive.d: Likewise. + * gas/arm/attr-override-mcpu.d: Likewise. + * gas/arm/eabi_attr_1.d: Likewise. + * gas/arm/mov-highregs-any.d: Likewise. + * gas/arm/mov-lowregs-any.d: Likewise. + * gas/arm/pr12198-1.d: Likewise. + * gas/arm/pr12198-2.d: Likewise. + 2012-03-15 Alan Modra * gas/i386/bundle-lock.d: Ignore trailing nops. diff --git a/gas/testsuite/gas/arm/any-idiv.d b/gas/testsuite/gas/arm/any-idiv.d new file mode 100644 index 00000000000..05a89dd0d7b --- /dev/null +++ b/gas/testsuite/gas/arm/any-idiv.d @@ -0,0 +1,11 @@ +# name: attributes for 'any' CPU with Thumb integer divide +# as: +# readelf: -A +# This test is only valid on EABI based ports. +# target: *-*-*eabi + +Attribute Section: aeabi +File Attributes + Tag_CPU_arch: v7 + Tag_THUMB_ISA_use: Thumb-2 + Tag_DIV_use: Allowed in v7-A with integer division extension diff --git a/gas/testsuite/gas/arm/any-idiv.s b/gas/testsuite/gas/arm/any-idiv.s new file mode 100644 index 00000000000..bdbe9c4a92f --- /dev/null +++ b/gas/testsuite/gas/arm/any-idiv.s @@ -0,0 +1,4 @@ + .syntax unified + .text + .thumb + udiv r0, r1, r2 diff --git a/gas/testsuite/gas/arm/attr-any-armv4t.d b/gas/testsuite/gas/arm/attr-any-armv4t.d index 14be589ebd2..21e28dfbe64 100644 --- a/gas/testsuite/gas/arm/attr-any-armv4t.d +++ b/gas/testsuite/gas/arm/attr-any-armv4t.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_arch: v4T Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-any-thumbv6.d b/gas/testsuite/gas/arm/attr-any-thumbv6.d index be8ec46b466..d2b427696ed 100644 --- a/gas/testsuite/gas/arm/attr-any-thumbv6.d +++ b/gas/testsuite/gas/arm/attr-any-thumbv6.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_CPU_arch: v6 Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-cpu-directive.d b/gas/testsuite/gas/arm/attr-cpu-directive.d index db0edfeb69c..f3c1081d2cc 100644 --- a/gas/testsuite/gas/arm/attr-cpu-directive.d +++ b/gas/testsuite/gas/arm/attr-cpu-directive.d @@ -12,5 +12,4 @@ File Attributes Tag_CPU_arch_profile: Application Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 - Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone diff --git a/gas/testsuite/gas/arm/attr-default.d b/gas/testsuite/gas/arm/attr-default.d index 93d5bf636f2..4439180dfeb 100644 --- a/gas/testsuite/gas/arm/attr-default.d +++ b/gas/testsuite/gas/arm/attr-default.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv1.d b/gas/testsuite/gas/arm/attr-march-armv1.d index 8c09564f70a..4867087637c 100644 --- a/gas/testsuite/gas/arm/attr-march-armv1.d +++ b/gas/testsuite/gas/arm/attr-march-armv1.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_name: "1" Tag_CPU_arch: v4 Tag_ARM_ISA_use: Yes - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv2.d b/gas/testsuite/gas/arm/attr-march-armv2.d index 0ed663a45e1..352e38f1f79 100644 --- a/gas/testsuite/gas/arm/attr-march-armv2.d +++ b/gas/testsuite/gas/arm/attr-march-armv2.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_name: "2" Tag_CPU_arch: v4 Tag_ARM_ISA_use: Yes - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv2a.d b/gas/testsuite/gas/arm/attr-march-armv2a.d index 862ec74d144..956f6fd3046 100644 --- a/gas/testsuite/gas/arm/attr-march-armv2a.d +++ b/gas/testsuite/gas/arm/attr-march-armv2a.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_name: "2A" Tag_CPU_arch: v4 Tag_ARM_ISA_use: Yes - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv2s.d b/gas/testsuite/gas/arm/attr-march-armv2s.d index 6db9d34ed0c..67ba746148f 100644 --- a/gas/testsuite/gas/arm/attr-march-armv2s.d +++ b/gas/testsuite/gas/arm/attr-march-armv2s.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_name: "2S" Tag_CPU_arch: v4 Tag_ARM_ISA_use: Yes - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv3.d b/gas/testsuite/gas/arm/attr-march-armv3.d index aea9cf7ef58..e3b606c1f77 100644 --- a/gas/testsuite/gas/arm/attr-march-armv3.d +++ b/gas/testsuite/gas/arm/attr-march-armv3.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_name: "3" Tag_CPU_arch: v4 Tag_ARM_ISA_use: Yes - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv3m.d b/gas/testsuite/gas/arm/attr-march-armv3m.d index a7df5a2d410..b3878cdbba9 100644 --- a/gas/testsuite/gas/arm/attr-march-armv3m.d +++ b/gas/testsuite/gas/arm/attr-march-armv3m.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_name: "3M" Tag_CPU_arch: v4 Tag_ARM_ISA_use: Yes - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv4.d b/gas/testsuite/gas/arm/attr-march-armv4.d index 649d02c1fec..c0c3b92bd48 100644 --- a/gas/testsuite/gas/arm/attr-march-armv4.d +++ b/gas/testsuite/gas/arm/attr-march-armv4.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_name: "4" Tag_CPU_arch: v4 Tag_ARM_ISA_use: Yes - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv4t.d b/gas/testsuite/gas/arm/attr-march-armv4t.d index 0ac758ffbb4..c2a5d98a1d7 100644 --- a/gas/testsuite/gas/arm/attr-march-armv4t.d +++ b/gas/testsuite/gas/arm/attr-march-armv4t.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v4T Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv4txm.d b/gas/testsuite/gas/arm/attr-march-armv4txm.d index 260e6a696cd..2b29db5f854 100644 --- a/gas/testsuite/gas/arm/attr-march-armv4txm.d +++ b/gas/testsuite/gas/arm/attr-march-armv4txm.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v4T Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv4xm.d b/gas/testsuite/gas/arm/attr-march-armv4xm.d index dea944bfcd1..b1966019ccc 100644 --- a/gas/testsuite/gas/arm/attr-march-armv4xm.d +++ b/gas/testsuite/gas/arm/attr-march-armv4xm.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_name: "4XM" Tag_CPU_arch: v4 Tag_ARM_ISA_use: Yes - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv5.d b/gas/testsuite/gas/arm/attr-march-armv5.d index c21d80b50c4..2ed81c9603b 100644 --- a/gas/testsuite/gas/arm/attr-march-armv5.d +++ b/gas/testsuite/gas/arm/attr-march-armv5.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_name: "5" Tag_CPU_arch: v5T Tag_ARM_ISA_use: Yes - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv5t.d b/gas/testsuite/gas/arm/attr-march-armv5t.d index 1270fd4271a..23e132468e3 100644 --- a/gas/testsuite/gas/arm/attr-march-armv5t.d +++ b/gas/testsuite/gas/arm/attr-march-armv5t.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v5T Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv5te.d b/gas/testsuite/gas/arm/attr-march-armv5te.d index 26015458194..25699959cb6 100644 --- a/gas/testsuite/gas/arm/attr-march-armv5te.d +++ b/gas/testsuite/gas/arm/attr-march-armv5te.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v5TE Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv5tej.d b/gas/testsuite/gas/arm/attr-march-armv5tej.d index 3b4b636cb7f..780a9f98a9c 100644 --- a/gas/testsuite/gas/arm/attr-march-armv5tej.d +++ b/gas/testsuite/gas/arm/attr-march-armv5tej.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v5TEJ Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv5texp.d b/gas/testsuite/gas/arm/attr-march-armv5texp.d index 67a773070f7..4f3a75f013d 100644 --- a/gas/testsuite/gas/arm/attr-march-armv5texp.d +++ b/gas/testsuite/gas/arm/attr-march-armv5texp.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v5TE Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv5txm.d b/gas/testsuite/gas/arm/attr-march-armv5txm.d index e4d75c20127..e78ca3fe7ee 100644 --- a/gas/testsuite/gas/arm/attr-march-armv5txm.d +++ b/gas/testsuite/gas/arm/attr-march-armv5txm.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v5T Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv6-m+os.d b/gas/testsuite/gas/arm/attr-march-armv6-m+os.d index 7dd7a73f241..e5d320851ca 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6-m+os.d +++ b/gas/testsuite/gas/arm/attr-march-armv6-m+os.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v6S-M Tag_CPU_arch_profile: Microcontroller Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv6-m.d b/gas/testsuite/gas/arm/attr-march-armv6-m.d index 36ac3c8c778..ad793473984 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6-m.d +++ b/gas/testsuite/gas/arm/attr-march-armv6-m.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v6-M Tag_CPU_arch_profile: Microcontroller Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv6.d b/gas/testsuite/gas/arm/attr-march-armv6.d index a8561e1233c..f509d5faea6 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6.d +++ b/gas/testsuite/gas/arm/attr-march-armv6.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v6 Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv6j.d b/gas/testsuite/gas/arm/attr-march-armv6j.d index 627986c2515..d8b37ec8cda 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6j.d +++ b/gas/testsuite/gas/arm/attr-march-armv6j.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v6 Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv6k+sec.d b/gas/testsuite/gas/arm/attr-march-armv6k+sec.d index cff3f3acf30..a50e8d4cb07 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6k+sec.d +++ b/gas/testsuite/gas/arm/attr-march-armv6k+sec.d @@ -11,5 +11,4 @@ File Attributes Tag_CPU_arch: v6KZ Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone diff --git a/gas/testsuite/gas/arm/attr-march-armv6k.d b/gas/testsuite/gas/arm/attr-march-armv6k.d index 321ecf2af7c..4ff70574b0a 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6k.d +++ b/gas/testsuite/gas/arm/attr-march-armv6k.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v6K Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv6kt2.d b/gas/testsuite/gas/arm/attr-march-armv6kt2.d index db2fe9aa63e..43db36b19e7 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6kt2.d +++ b/gas/testsuite/gas/arm/attr-march-armv6kt2.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v6T2 Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv6s-m.d b/gas/testsuite/gas/arm/attr-march-armv6s-m.d index 36ac3c8c778..ad793473984 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6s-m.d +++ b/gas/testsuite/gas/arm/attr-march-armv6s-m.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v6-M Tag_CPU_arch_profile: Microcontroller Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv6t2.d b/gas/testsuite/gas/arm/attr-march-armv6t2.d index ac2aa238f6f..d0074f13a63 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6t2.d +++ b/gas/testsuite/gas/arm/attr-march-armv6t2.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v6T2 Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv6z.d b/gas/testsuite/gas/arm/attr-march-armv6z.d index 6464be049cc..97b14df9913 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6z.d +++ b/gas/testsuite/gas/arm/attr-march-armv6z.d @@ -11,5 +11,4 @@ File Attributes Tag_CPU_arch: v6KZ Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone diff --git a/gas/testsuite/gas/arm/attr-march-armv6zk.d b/gas/testsuite/gas/arm/attr-march-armv6zk.d index 47b8ea81944..85f639b44bf 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6zk.d +++ b/gas/testsuite/gas/arm/attr-march-armv6zk.d @@ -11,5 +11,4 @@ File Attributes Tag_CPU_arch: v6KZ Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone diff --git a/gas/testsuite/gas/arm/attr-march-armv6zkt2.d b/gas/testsuite/gas/arm/attr-march-armv6zkt2.d index 326acdec515..5bc1c722b63 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6zkt2.d +++ b/gas/testsuite/gas/arm/attr-march-armv6zkt2.d @@ -11,5 +11,4 @@ File Attributes Tag_CPU_arch: v6T2 Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 - Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone diff --git a/gas/testsuite/gas/arm/attr-march-armv6zt2.d b/gas/testsuite/gas/arm/attr-march-armv6zt2.d index e07dca52f52..14e2c1202fc 100644 --- a/gas/testsuite/gas/arm/attr-march-armv6zt2.d +++ b/gas/testsuite/gas/arm/attr-march-armv6zt2.d @@ -11,5 +11,4 @@ File Attributes Tag_CPU_arch: v6T2 Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 - Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone diff --git a/gas/testsuite/gas/arm/attr-march-armv7-a+mp.d b/gas/testsuite/gas/arm/attr-march-armv7-a+mp.d index 663a889ecd0..74ff80dc3d8 100644 --- a/gas/testsuite/gas/arm/attr-march-armv7-a+mp.d +++ b/gas/testsuite/gas/arm/attr-march-armv7-a+mp.d @@ -13,4 +13,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 Tag_MPextension_use: Allowed - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv7-a+sec.d b/gas/testsuite/gas/arm/attr-march-armv7-a+sec.d index 190189ee3c9..1d5ed4eb6af 100644 --- a/gas/testsuite/gas/arm/attr-march-armv7-a+sec.d +++ b/gas/testsuite/gas/arm/attr-march-armv7-a+sec.d @@ -12,5 +12,4 @@ File Attributes Tag_CPU_arch_profile: Application Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 - Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone diff --git a/gas/testsuite/gas/arm/attr-march-armv7-a.d b/gas/testsuite/gas/arm/attr-march-armv7-a.d index 3a6fb3b5160..da687a75f03 100644 --- a/gas/testsuite/gas/arm/attr-march-armv7-a.d +++ b/gas/testsuite/gas/arm/attr-march-armv7-a.d @@ -12,4 +12,3 @@ File Attributes Tag_CPU_arch_profile: Application Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv7.d b/gas/testsuite/gas/arm/attr-march-armv7.d index 57e021e1fae..8ca9e7d6d54 100644 --- a/gas/testsuite/gas/arm/attr-march-armv7.d +++ b/gas/testsuite/gas/arm/attr-march-armv7.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_name: "7" Tag_CPU_arch: v7 Tag_THUMB_ISA_use: Thumb-2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-armv7a.d b/gas/testsuite/gas/arm/attr-march-armv7a.d index 6ce60ef70c2..055b3cfcad0 100644 --- a/gas/testsuite/gas/arm/attr-march-armv7a.d +++ b/gas/testsuite/gas/arm/attr-march-armv7a.d @@ -12,4 +12,3 @@ File Attributes Tag_CPU_arch_profile: Application Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-iwmmxt.d b/gas/testsuite/gas/arm/attr-march-iwmmxt.d index b6471473822..ccc496164af 100644 --- a/gas/testsuite/gas/arm/attr-march-iwmmxt.d +++ b/gas/testsuite/gas/arm/attr-march-iwmmxt.d @@ -12,4 +12,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_WMMX_arch: WMMXv1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-iwmmxt2.d b/gas/testsuite/gas/arm/attr-march-iwmmxt2.d index 69c3ef80ccf..be46d221534 100644 --- a/gas/testsuite/gas/arm/attr-march-iwmmxt2.d +++ b/gas/testsuite/gas/arm/attr-march-iwmmxt2.d @@ -12,4 +12,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_WMMX_arch: WMMXv2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-march-xscale.d b/gas/testsuite/gas/arm/attr-march-xscale.d index 7b1761766ab..5c80a6d86c4 100644 --- a/gas/testsuite/gas/arm/attr-march-xscale.d +++ b/gas/testsuite/gas/arm/attr-march-xscale.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v5TE Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mcpu.d b/gas/testsuite/gas/arm/attr-mcpu.d index 459f94ab050..32da24887e4 100644 --- a/gas/testsuite/gas/arm/attr-mcpu.d +++ b/gas/testsuite/gas/arm/attr-mcpu.d @@ -14,5 +14,4 @@ File Attributes Tag_THUMB_ISA_use: Thumb-2 Tag_FP_arch: VFPv3 Tag_Advanced_SIMD_arch: NEONv1 - Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone diff --git a/gas/testsuite/gas/arm/attr-mfpu-arm1020e.d b/gas/testsuite/gas/arm/attr-mfpu-arm1020e.d index b6db97db987..95ea725dd03 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-arm1020e.d +++ b/gas/testsuite/gas/arm/attr-mfpu-arm1020e.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-arm1020t.d b/gas/testsuite/gas/arm/attr-mfpu-arm1020t.d index efc2cd534eb..19b001b926b 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-arm1020t.d +++ b/gas/testsuite/gas/arm/attr-mfpu-arm1020t.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d b/gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d index ed065e7db89..f25aebe2122 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d +++ b/gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d b/gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d index f2de9befe2a..4b8fce6bdfa 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d +++ b/gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-arm7500fe.d b/gas/testsuite/gas/arm/attr-mfpu-arm7500fe.d index 5f1ca3032ba..5e14e3f69ce 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-arm7500fe.d +++ b/gas/testsuite/gas/arm/attr-mfpu-arm7500fe.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-fpa.d b/gas/testsuite/gas/arm/attr-mfpu-fpa.d index da56a7d601f..425e44df1d7 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-fpa.d +++ b/gas/testsuite/gas/arm/attr-mfpu-fpa.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-fpa10.d b/gas/testsuite/gas/arm/attr-mfpu-fpa10.d index 6399fff4ddc..339daf08b44 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-fpa10.d +++ b/gas/testsuite/gas/arm/attr-mfpu-fpa10.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-fpa11.d b/gas/testsuite/gas/arm/attr-mfpu-fpa11.d index 1a4b9e701c8..5b94ac51152 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-fpa11.d +++ b/gas/testsuite/gas/arm/attr-mfpu-fpa11.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-fpe.d b/gas/testsuite/gas/arm/attr-mfpu-fpe.d index 87283b3731e..416bb5bd0bf 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-fpe.d +++ b/gas/testsuite/gas/arm/attr-mfpu-fpe.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-fpe2.d b/gas/testsuite/gas/arm/attr-mfpu-fpe2.d index bfcfb4afcc7..a34cc6f82b7 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-fpe2.d +++ b/gas/testsuite/gas/arm/attr-mfpu-fpe2.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-fpe3.d b/gas/testsuite/gas/arm/attr-mfpu-fpe3.d index a578f750e26..c9174549e94 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-fpe3.d +++ b/gas/testsuite/gas/arm/attr-mfpu-fpe3.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-maverick.d b/gas/testsuite/gas/arm/attr-mfpu-maverick.d index 994d4b69ca1..afbbc6ce2e3 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-maverick.d +++ b/gas/testsuite/gas/arm/attr-mfpu-maverick.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d b/gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d index 6f401bfbc31..3866572b283 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d +++ b/gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d @@ -12,4 +12,3 @@ File Attributes Tag_FP_arch: VFPv3 Tag_Advanced_SIMD_arch: NEONv1 Tag_FP_HP_extension: Allowed - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-neon.d b/gas/testsuite/gas/arm/attr-mfpu-neon.d index 1dd33a58812..1d7d33b801b 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-neon.d +++ b/gas/testsuite/gas/arm/attr-mfpu-neon.d @@ -11,4 +11,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv3 Tag_Advanced_SIMD_arch: NEONv1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-softfpa.d b/gas/testsuite/gas/arm/attr-mfpu-softfpa.d index abe315afbde..d46115bc35c 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-softfpa.d +++ b/gas/testsuite/gas/arm/attr-mfpu-softfpa.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d b/gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d index 462bc139b99..d0524c29aea 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d +++ b/gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-softvfp.d b/gas/testsuite/gas/arm/attr-mfpu-softvfp.d index 8d9a8942415..bab19b607d3 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-softvfp.d +++ b/gas/testsuite/gas/arm/attr-mfpu-softvfp.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfp.d b/gas/testsuite/gas/arm/attr-mfpu-vfp.d index 9c66044e800..331b81a1803 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfp.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfp.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d b/gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d index bc44861f218..6f89e6abe09 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfp10.d b/gas/testsuite/gas/arm/attr-mfpu-vfp10.d index 6f16f12b991..37af0758170 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfp10.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfp10.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfp3.d b/gas/testsuite/gas/arm/attr-mfpu-vfp3.d index 5c0964c369e..f02d2cdb54b 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfp3.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfp3.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv3 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfp9.d b/gas/testsuite/gas/arm/attr-mfpu-vfp9.d index 516b8b6e939..57f5df7eb22 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfp9.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfp9.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpv2.d b/gas/testsuite/gas/arm/attr-mfpu-vfpv2.d index b259b8207be..678eb9eeb60 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpv2.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpv2.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv2 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d b/gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d index 88d9ca73827..36d9914bdeb 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv3-D16 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpv3.d b/gas/testsuite/gas/arm/attr-mfpu-vfpv3.d index 9b22499af73..b6cf496d7dd 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpv3.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpv3.d @@ -10,4 +10,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv3 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d b/gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d index 3ec64bd3d7c..967e912a542 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d @@ -11,4 +11,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv4-D16 Tag_FP_HP_extension: Allowed - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpv4.d b/gas/testsuite/gas/arm/attr-mfpu-vfpv4.d index 4d2726f0b15..fd92773a6a6 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpv4.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpv4.d @@ -11,4 +11,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv4 Tag_FP_HP_extension: Allowed - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-mfpu-vfpxd.d b/gas/testsuite/gas/arm/attr-mfpu-vfpxd.d index 9a1a9f55477..6896d17669d 100644 --- a/gas/testsuite/gas/arm/attr-mfpu-vfpxd.d +++ b/gas/testsuite/gas/arm/attr-mfpu-vfpxd.d @@ -11,4 +11,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv1 Tag_ABI_HardFP_use: SP only - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-order.d b/gas/testsuite/gas/arm/attr-order.d index 99ecd7ba48a..83f9f68bffb 100644 --- a/gas/testsuite/gas/arm/attr-order.d +++ b/gas/testsuite/gas/arm/attr-order.d @@ -13,7 +13,6 @@ File Attributes Tag_CPU_arch: v4T Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed Tag_unknown_63: "val" Tag_also_compatible_with: v6-M Tag_T2EE_use: Allowed diff --git a/gas/testsuite/gas/arm/attr-override-cpu-directive.d b/gas/testsuite/gas/arm/attr-override-cpu-directive.d index 9423392ffa2..54c5e37bb14 100644 --- a/gas/testsuite/gas/arm/attr-override-cpu-directive.d +++ b/gas/testsuite/gas/arm/attr-override-cpu-directive.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_name: "custom name" Tag_CPU_arch: v7 Tag_THUMB_ISA_use: \?\?\? \(10\) - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/attr-override-mcpu.d b/gas/testsuite/gas/arm/attr-override-mcpu.d index 425f0959ff5..cfa11b9d7fc 100644 --- a/gas/testsuite/gas/arm/attr-override-mcpu.d +++ b/gas/testsuite/gas/arm/attr-override-mcpu.d @@ -11,4 +11,3 @@ File Attributes Tag_CPU_arch: v4T Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/eabi_attr_1.d b/gas/testsuite/gas/arm/eabi_attr_1.d index a8762ff29b9..e3e3982d419 100644 --- a/gas/testsuite/gas/arm/eabi_attr_1.d +++ b/gas/testsuite/gas/arm/eabi_attr_1.d @@ -10,6 +10,5 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_VFP_args: VFP registers Tag_compatibility: flag = 3, vendor = GNU - Tag_DIV_use: Not allowed Tag_unknown_128: 1234 \(0x4d2\) Tag_unknown_129: "bar" diff --git a/gas/testsuite/gas/arm/mov-highregs-any.d b/gas/testsuite/gas/arm/mov-highregs-any.d index 5f93ccd9d5b..0759de09eb1 100644 --- a/gas/testsuite/gas/arm/mov-highregs-any.d +++ b/gas/testsuite/gas/arm/mov-highregs-any.d @@ -5,5 +5,4 @@ Attribute Section: aeabi File Attributes Tag_CPU_arch: v4T Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/mov-lowregs-any.d b/gas/testsuite/gas/arm/mov-lowregs-any.d index 1549df35508..a6382f17f44 100644 --- a/gas/testsuite/gas/arm/mov-lowregs-any.d +++ b/gas/testsuite/gas/arm/mov-lowregs-any.d @@ -5,5 +5,4 @@ Attribute Section: aeabi File Attributes Tag_CPU_arch: v6 Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/pr12198-1.d b/gas/testsuite/gas/arm/pr12198-1.d index c5f7718745f..5bbd828b2dc 100644 --- a/gas/testsuite/gas/arm/pr12198-1.d +++ b/gas/testsuite/gas/arm/pr12198-1.d @@ -9,4 +9,3 @@ Attribute Section: aeabi File Attributes Tag_CPU_arch: v4T Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/gas/testsuite/gas/arm/pr12198-2.d b/gas/testsuite/gas/arm/pr12198-2.d index 39465c88838..6935bcfea93 100644 --- a/gas/testsuite/gas/arm/pr12198-2.d +++ b/gas/testsuite/gas/arm/pr12198-2.d @@ -10,4 +10,3 @@ File Attributes Tag_CPU_arch: v6S-M Tag_CPU_arch_profile: Microcontroller Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 3af56663fb4..a02c6f0eb98 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,64 @@ +2012-03-16 Matthew Gretton-Dann + + * ld-arm/arm-elf.exp: Add new testcases. + * ld-arm/attr-merge-2.attr: Update ouput. + * ld-arm/attr-merge-2a.s: Remove Tag_DIV_use test. + * ld-arm/attr-merge-2b.s: Likewise. + * ld-arm/attr-merge-3.attr: Updated expected output. + * ld-arm/attr-merge-4.attr: Likewise. + * ld-arm/attr-merge-5.attr: Likewise. + * ld-arm/attr-merge-6.attr: Likewise. + * ld-arm/attr-merge-7.attr: Likewise. + * ld-arm/attr-merge-arch-1.attr: Likewise. + * ld-arm/attr-merge-arch-2.attr: Likewise. + * ld-arm/attr-merge-unknown-2.d: Likewise. + * ld-arm/attr-merge-unknown-2r.d: Likewise. + * ld-arm/attr-merge-unknown-3.d: Likewise. + * ld-arm/attr-merge-vfp-1.d: Likewise. + * ld-arm/attr-merge-vfp-1r.d: Likewise. + * ld-arm/attr-merge-vfp-2.d: Likewise. + * ld-arm/attr-merge-vfp-2r.d: Likewise. + * ld-arm/attr-merge-vfp-3.d: Likewise. + * ld-arm/attr-merge-vfp-3r.d: Likewise. + * ld-arm/attr-merge-vfp-4.d: Likewise. + * ld-arm/attr-merge-vfp-4r.d: Likewise. + * ld-arm/attr-merge-vfp-5.d: Likewise. + * ld-arm/attr-merge-vfp-5r.d: Likewise. + * ld-arm/attr-merge-vfp-6.d: Likewise. + * ld-arm/attr-merge-vfp-6r.d: Likewise. + * ld-arm/attr-merge-wchar-00-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-00.d: Likewise. + * ld-arm/attr-merge-wchar-02-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-02.d: Likewise. + * ld-arm/attr-merge-wchar-04-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-04.d: Likewise. + * ld-arm/attr-merge-wchar-20-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-20.d: Likewise. + * ld-arm/attr-merge-wchar-22-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-22.d: Likewise. + * ld-arm/attr-merge-wchar-24-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-40-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-40.d: Likewise. + * ld-arm/attr-merge-wchar-42-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-44-nowarn.d: Likewise. + * ld-arm/attr-merge-wchar-44.d: Likewise. + * ld-arm/attr-merge.attr: Likewise. + * ld-arm/attr-merge-div-0.s: New testcase. + * ld-arm/attr-merge-div-00.d: Likewise. + * ld-arm/attr-merge-div-01-m3.d: Likewise. + * ld-arm/attr-merge-div-01.d: Likewise. + * ld-arm/attr-merge-div-02.d: Likewise. + * ld-arm/attr-merge-div-1.s: Likewise. + * ld-arm/attr-merge-div-10-m3.d: Likewise. + * ld-arm/attr-merge-div-10.d: Likewise. + * ld-arm/attr-merge-div-11.d: Likewise. + * ld-arm/attr-merge-div-12.d: Likewise. + * ld-arm/attr-merge-div-120.d: Likewise. + * ld-arm/attr-merge-div-2.s: Likewise. + * ld-arm/attr-merge-div-20.d: Likewise. + * ld-arm/attr-merge-div-21.d: Likewise. + * ld-arm/attr-merge-div-22.d: Likewise. + 2012-03-16 Alan Modra * ld-gc/pr13683.d: Accept powerpc64 function descriptor syms. diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp index c7a0b2c33ed..789c7425f2f 100644 --- a/ld/testsuite/ld-arm/arm-elf.exp +++ b/ld/testsuite/ld-arm/arm-elf.exp @@ -690,6 +690,18 @@ set armeabitests { } run_ld_link_tests $armeabitests +run_dump_test "attr-merge-div-00" +run_dump_test "attr-merge-div-01" +run_dump_test "attr-merge-div-10" +run_dump_test "attr-merge-div-01-m3" +run_dump_test "attr-merge-div-10-m3" +run_dump_test "attr-merge-div-11" +run_dump_test "attr-merge-div-12" +run_dump_test "attr-merge-div-120" +run_dump_test "attr-merge-div-21" +run_dump_test "attr-merge-div-22" +run_dump_test "attr-merge-div-02" +run_dump_test "attr-merge-div-20" run_dump_test "attr-merge-wchar-00" run_dump_test "attr-merge-wchar-02" run_dump_test "attr-merge-wchar-04" diff --git a/ld/testsuite/ld-arm/attr-merge-2.attr b/ld/testsuite/ld-arm/attr-merge-2.attr index e34111b9d7a..578333b2633 100644 --- a/ld/testsuite/ld-arm/attr-merge-2.attr +++ b/ld/testsuite/ld-arm/attr-merge-2.attr @@ -12,4 +12,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Allowed in v7-A with integer division extension diff --git a/ld/testsuite/ld-arm/attr-merge-2a.s b/ld/testsuite/ld-arm/attr-merge-2a.s index 9d9ae18485c..03031634b00 100644 --- a/ld/testsuite/ld-arm/attr-merge-2a.s +++ b/ld/testsuite/ld-arm/attr-merge-2a.s @@ -7,5 +7,4 @@ .eabi_attribute 25, 1 .eabi_attribute 26, 1 .eabi_attribute 30, 6 - .eabi_attribute Tag_DIV_use, 1 .file "attr-merge-2a.s" diff --git a/ld/testsuite/ld-arm/attr-merge-2b.s b/ld/testsuite/ld-arm/attr-merge-2b.s index 6aa8da90249..047890a04d1 100644 --- a/ld/testsuite/ld-arm/attr-merge-2b.s +++ b/ld/testsuite/ld-arm/attr-merge-2b.s @@ -8,5 +8,4 @@ .eabi_attribute 26, 1 .eabi_attribute 30, 6 .eabi_attribute 18, 4 - .eabi_attribute Tag_DIV_use, 2 .file "attr-merge-2b.s" diff --git a/ld/testsuite/ld-arm/attr-merge-3.attr b/ld/testsuite/ld-arm/attr-merge-3.attr index b0f8ef97c6e..8d7d1c33702 100644 --- a/ld/testsuite/ld-arm/attr-merge-3.attr +++ b/ld/testsuite/ld-arm/attr-merge-3.attr @@ -27,5 +27,6 @@ File Attributes Tag_CPU_unaligned_access: v6 Tag_FP_HP_extension: Allowed Tag_MPextension_use: Allowed + Tag_DIV_use: Not allowed Tag_T2EE_use: Allowed Tag_Virtualization_use: TrustZone diff --git a/ld/testsuite/ld-arm/attr-merge-4.attr b/ld/testsuite/ld-arm/attr-merge-4.attr index c8fc7ecffea..75fd063117d 100644 --- a/ld/testsuite/ld-arm/attr-merge-4.attr +++ b/ld/testsuite/ld-arm/attr-merge-4.attr @@ -5,5 +5,4 @@ File Attributes Tag_CPU_arch_profile: Microcontroller Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed Tag_also_compatible_with: v6-M diff --git a/ld/testsuite/ld-arm/attr-merge-5.attr b/ld/testsuite/ld-arm/attr-merge-5.attr index f016708d9f5..9d3e97100b5 100644 --- a/ld/testsuite/ld-arm/attr-merge-5.attr +++ b/ld/testsuite/ld-arm/attr-merge-5.attr @@ -3,4 +3,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_compatibility: flag = 1, vendor = gnu - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-6.attr b/ld/testsuite/ld-arm/attr-merge-6.attr index 9e2324ff2fe..0af32f7751d 100644 --- a/ld/testsuite/ld-arm/attr-merge-6.attr +++ b/ld/testsuite/ld-arm/attr-merge-6.attr @@ -6,5 +6,4 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 Tag_MPextension_use: Allowed - Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone diff --git a/ld/testsuite/ld-arm/attr-merge-7.attr b/ld/testsuite/ld-arm/attr-merge-7.attr index 9e2324ff2fe..0af32f7751d 100644 --- a/ld/testsuite/ld-arm/attr-merge-7.attr +++ b/ld/testsuite/ld-arm/attr-merge-7.attr @@ -6,5 +6,4 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 Tag_MPextension_use: Allowed - Tag_DIV_use: Not allowed Tag_Virtualization_use: TrustZone diff --git a/ld/testsuite/ld-arm/attr-merge-arch-1.attr b/ld/testsuite/ld-arm/attr-merge-arch-1.attr index b39634fe23a..f69f1e76c28 100644 --- a/ld/testsuite/ld-arm/attr-merge-arch-1.attr +++ b/ld/testsuite/ld-arm/attr-merge-arch-1.attr @@ -4,4 +4,3 @@ File Attributes Tag_CPU_arch: v7 Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-arch-2.attr b/ld/testsuite/ld-arm/attr-merge-arch-2.attr index ab8916ba706..55f69659c90 100644 --- a/ld/testsuite/ld-arm/attr-merge-arch-2.attr +++ b/ld/testsuite/ld-arm/attr-merge-arch-2.attr @@ -5,4 +5,3 @@ File Attributes Tag_CPU_arch: v6K Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-div-0.s b/ld/testsuite/ld-arm/attr-merge-div-0.s new file mode 100644 index 00000000000..2ebcfd8bdb0 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-0.s @@ -0,0 +1 @@ + .eabi_attribute Tag_DIV_use, 0 diff --git a/ld/testsuite/ld-arm/attr-merge-div-00.d b/ld/testsuite/ld-arm/attr-merge-div-00.d new file mode 100644 index 00000000000..942662ec6e0 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-00.d @@ -0,0 +1,12 @@ +#source: attr-merge-div-0.s +#source: attr-merge-div-0.s +#as: +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 diff --git a/ld/testsuite/ld-arm/attr-merge-div-01-m3.d b/ld/testsuite/ld-arm/attr-merge-div-01-m3.d new file mode 100644 index 00000000000..c0cdd495e6d --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-01-m3.d @@ -0,0 +1,14 @@ +#source: attr-merge-div-0.s +#source: attr-merge-div-1.s +#as: -mcpu=cortex-m3 +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_CPU_name: "Cortex-M3" + Tag_CPU_arch: v7 + Tag_CPU_arch_profile: Microcontroller + Tag_THUMB_ISA_use: Thumb-2 diff --git a/ld/testsuite/ld-arm/attr-merge-div-01.d b/ld/testsuite/ld-arm/attr-merge-div-01.d new file mode 100644 index 00000000000..f81a81e65ee --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-01.d @@ -0,0 +1,13 @@ +#source: attr-merge-div-0.s +#source: attr-merge-div-1.s +#as: +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 + Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-div-02.d b/ld/testsuite/ld-arm/attr-merge-div-02.d new file mode 100644 index 00000000000..368495039af --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-02.d @@ -0,0 +1,13 @@ +#source: attr-merge-div-0.s +#source: attr-merge-div-2.s +#as: +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 + Tag_DIV_use: Allowed in v7-A with integer division extension diff --git a/ld/testsuite/ld-arm/attr-merge-div-1.s b/ld/testsuite/ld-arm/attr-merge-div-1.s new file mode 100644 index 00000000000..d74812d0ee3 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-1.s @@ -0,0 +1 @@ + .eabi_attribute Tag_DIV_use, 1 diff --git a/ld/testsuite/ld-arm/attr-merge-div-10-m3.d b/ld/testsuite/ld-arm/attr-merge-div-10-m3.d new file mode 100644 index 00000000000..3736e590c4d --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-10-m3.d @@ -0,0 +1,14 @@ +#source: attr-merge-div-1.s +#source: attr-merge-div-0.s +#as: -mcpu=cortex-m3 +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_CPU_name: "Cortex-M3" + Tag_CPU_arch: v7 + Tag_CPU_arch_profile: Microcontroller + Tag_THUMB_ISA_use: Thumb-2 diff --git a/ld/testsuite/ld-arm/attr-merge-div-10.d b/ld/testsuite/ld-arm/attr-merge-div-10.d new file mode 100644 index 00000000000..32614ee317d --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-10.d @@ -0,0 +1,13 @@ +#source: attr-merge-div-1.s +#source: attr-merge-div-0.s +#as: +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 + Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-div-11.d b/ld/testsuite/ld-arm/attr-merge-div-11.d new file mode 100644 index 00000000000..95dc8db4cd5 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-11.d @@ -0,0 +1,13 @@ +#source: attr-merge-div-1.s +#source: attr-merge-div-1.s +#as: +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 + Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-div-12.d b/ld/testsuite/ld-arm/attr-merge-div-12.d new file mode 100644 index 00000000000..73d70ffcb02 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-12.d @@ -0,0 +1,13 @@ +#source: attr-merge-div-1.s +#source: attr-merge-div-2.s +#as: +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 + Tag_DIV_use: Allowed in v7-A with integer division extension diff --git a/ld/testsuite/ld-arm/attr-merge-div-120.d b/ld/testsuite/ld-arm/attr-merge-div-120.d new file mode 100644 index 00000000000..8891e4b2030 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-120.d @@ -0,0 +1,16 @@ +#source: attr-merge-div-1.s +#source: attr-merge-div-2.s +#source: attr-merge-div-0.s +#as: -mcpu=cortex-m3 +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_CPU_name: "Cortex-M3" + Tag_CPU_arch: v7 + Tag_CPU_arch_profile: Microcontroller + Tag_THUMB_ISA_use: Thumb-2 + Tag_DIV_use: Allowed in v7-A with integer division extension diff --git a/ld/testsuite/ld-arm/attr-merge-div-2.s b/ld/testsuite/ld-arm/attr-merge-div-2.s new file mode 100644 index 00000000000..20394c81b0a --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-2.s @@ -0,0 +1 @@ + .eabi_attribute Tag_DIV_use, 2 diff --git a/ld/testsuite/ld-arm/attr-merge-div-20.d b/ld/testsuite/ld-arm/attr-merge-div-20.d new file mode 100644 index 00000000000..fd494bbf78a --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-20.d @@ -0,0 +1,13 @@ +#source: attr-merge-div-2.s +#source: attr-merge-div-0.s +#as: +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 + Tag_DIV_use: Allowed in v7-A with integer division extension diff --git a/ld/testsuite/ld-arm/attr-merge-div-21.d b/ld/testsuite/ld-arm/attr-merge-div-21.d new file mode 100644 index 00000000000..afd0f8d7147 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-21.d @@ -0,0 +1,13 @@ +#source: attr-merge-div-2.s +#source: attr-merge-div-1.s +#as: +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 + Tag_DIV_use: Allowed in v7-A with integer division extension diff --git a/ld/testsuite/ld-arm/attr-merge-div-22.d b/ld/testsuite/ld-arm/attr-merge-div-22.d new file mode 100644 index 00000000000..c70da032f72 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-div-22.d @@ -0,0 +1,13 @@ +#source: attr-merge-div-2.s +#source: attr-merge-div-2.s +#as: +#ld: -r +#readelf: -A +# This test is only valid on ELF based ports. +# not-target: *-*-*coff *-*-pe *-*-wince *-*-*aout* *-*-netbsd *-*-riscix* + +Attribute Section: aeabi +File Attributes + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 + Tag_DIV_use: Allowed in v7-A with integer division extension diff --git a/ld/testsuite/ld-arm/attr-merge-unknown-2.d b/ld/testsuite/ld-arm/attr-merge-unknown-2.d index 5755803a80c..bf44f43c714 100644 --- a/ld/testsuite/ld-arm/attr-merge-unknown-2.d +++ b/ld/testsuite/ld-arm/attr-merge-unknown-2.d @@ -11,4 +11,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-unknown-2r.d b/ld/testsuite/ld-arm/attr-merge-unknown-2r.d index d950b3ec247..6d523fb06b8 100644 --- a/ld/testsuite/ld-arm/attr-merge-unknown-2r.d +++ b/ld/testsuite/ld-arm/attr-merge-unknown-2r.d @@ -11,4 +11,3 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-unknown-3.d b/ld/testsuite/ld-arm/attr-merge-unknown-3.d index c210a06d01c..b02ba6d6d29 100644 --- a/ld/testsuite/ld-arm/attr-merge-unknown-3.d +++ b/ld/testsuite/ld-arm/attr-merge-unknown-3.d @@ -11,5 +11,4 @@ Attribute Section: aeabi File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 - Tag_DIV_use: Not allowed Tag_unknown_82: 1 \(0x1\) diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-1.d b/ld/testsuite/ld-arm/attr-merge-vfp-1.d index 99fc8e47fad..86257351767 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-1.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-1.d @@ -11,4 +11,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv3-D16 - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-1r.d b/ld/testsuite/ld-arm/attr-merge-vfp-1r.d index 42bfe995137..d7a15d7bb64 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-1r.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-1r.d @@ -11,4 +11,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv3-D16 - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-2.d b/ld/testsuite/ld-arm/attr-merge-vfp-2.d index 3161e1196d7..6444bd00a3d 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-2.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-2.d @@ -11,4 +11,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv3 - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-2r.d b/ld/testsuite/ld-arm/attr-merge-vfp-2r.d index 9c6367f49e1..1d36983304e 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-2r.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-2r.d @@ -11,4 +11,3 @@ File Attributes Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv3 - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-3.d b/ld/testsuite/ld-arm/attr-merge-vfp-3.d index 9853879acdb..ee89384a28b 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-3.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-3.d @@ -12,4 +12,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv4-D16 Tag_FP_HP_extension: Allowed - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-3r.d b/ld/testsuite/ld-arm/attr-merge-vfp-3r.d index 24df9729928..d06bd2732c4 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-3r.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-3r.d @@ -12,4 +12,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv4-D16 Tag_FP_HP_extension: Allowed - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-4.d b/ld/testsuite/ld-arm/attr-merge-vfp-4.d index 469fc9ba3f0..c18d672d194 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-4.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-4.d @@ -12,4 +12,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv4 Tag_FP_HP_extension: Allowed - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-4r.d b/ld/testsuite/ld-arm/attr-merge-vfp-4r.d index c84e50800c7..327e0c384fe 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-4r.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-4r.d @@ -12,4 +12,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv4 Tag_FP_HP_extension: Allowed - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-5.d b/ld/testsuite/ld-arm/attr-merge-vfp-5.d index dc0c6ee8161..cd55a86b742 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-5.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-5.d @@ -12,4 +12,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv4 Tag_FP_HP_extension: Allowed - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-5r.d b/ld/testsuite/ld-arm/attr-merge-vfp-5r.d index 5e1d23af29d..505c31b36c0 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-5r.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-5r.d @@ -12,4 +12,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv4 Tag_FP_HP_extension: Allowed - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-6.d b/ld/testsuite/ld-arm/attr-merge-vfp-6.d index ca891814391..54d063fac29 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-6.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-6.d @@ -12,4 +12,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv3 Tag_ABI_HardFP_use: SP and DP - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-6r.d b/ld/testsuite/ld-arm/attr-merge-vfp-6r.d index f5336322531..f32d4fcb58e 100644 --- a/ld/testsuite/ld-arm/attr-merge-vfp-6r.d +++ b/ld/testsuite/ld-arm/attr-merge-vfp-6r.d @@ -12,4 +12,3 @@ File Attributes Tag_THUMB_ISA_use: Thumb-1 Tag_FP_arch: VFPv3 Tag_ABI_HardFP_use: SP and DP - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d b/ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d index 88e5d2519e7..8a01f2d2104 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d @@ -19,4 +19,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-00.d b/ld/testsuite/ld-arm/attr-merge-wchar-00.d index 73df821fbbd..4242822c8d5 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-00.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-00.d @@ -19,4 +19,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d b/ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d index f55bf52a222..f3935169d38 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-02.d b/ld/testsuite/ld-arm/attr-merge-wchar-02.d index 500b6a9facd..f662120c56c 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-02.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-02.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d b/ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d index c1d4efd0866..16cc469683b 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-04.d b/ld/testsuite/ld-arm/attr-merge-wchar-04.d index cd119803e21..41413b9d6bf 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-04.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-04.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d b/ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d index b60e458e7cd..c0b12488a52 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-20.d b/ld/testsuite/ld-arm/attr-merge-wchar-20.d index 96738b1d193..b81fb158850 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-20.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-20.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d b/ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d index 22539de4973..e9a1e944e48 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-22.d b/ld/testsuite/ld-arm/attr-merge-wchar-22.d index c0e67dcaf8f..bf756606de0 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-22.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-22.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d b/ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d index e7f25663888..0c9b33e574f 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d b/ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d index efeafccd841..54f0c54a44e 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-40.d b/ld/testsuite/ld-arm/attr-merge-wchar-40.d index 39cb58a5021..46be48c2238 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-40.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-40.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d b/ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d index b989f35451a..cc72d3e4da1 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d b/ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d index 988dd6ebd7e..35eb756e1c3 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-44.d b/ld/testsuite/ld-arm/attr-merge-wchar-44.d index acda7e7bacf..c0fba85666b 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-44.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-44.d @@ -20,4 +20,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed diff --git a/ld/testsuite/ld-arm/attr-merge.attr b/ld/testsuite/ld-arm/attr-merge.attr index f07930e2b61..578333b2633 100644 --- a/ld/testsuite/ld-arm/attr-merge.attr +++ b/ld/testsuite/ld-arm/attr-merge.attr @@ -12,4 +12,3 @@ File Attributes Tag_ABI_align_preserved: 8-byte, except leaf SP Tag_ABI_enum_size: small Tag_ABI_optimization_goals: Aggressive Debug - Tag_DIV_use: Not allowed -- 2.30.2