diff options
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 19 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/arm-elf.exp | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-1.d | 13 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-1r.d | 13 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-2.d | 13 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-2.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-2r.d | 13 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-3-d16.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-3.d | 14 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-3.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-3r.d | 14 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-4-d16.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-4.d | 14 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-4.s | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-4r.d | 14 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-5.d | 14 | ||||
-rw-r--r-- | ld/testsuite/ld-arm/attr-merge-vfp-5r.d | 14 |
17 files changed, 175 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index dcfae5f..a0c73c6 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,22 @@ +2009-11-02 Paul Brook <paul@codesourcery.com> + + * ld-arm/arm-elf.exp: Add new attr-merge-vfp tests. + * ld-arm/attr-merge-vfp-1.d: New test. + * ld-arm/attr-merge-vfp-1r.d: New test. + * ld-arm/attr-merge-vfp-2.d: New test. + * ld-arm/attr-merge-vfp-2r.d: New test. + * ld-arm/attr-merge-vfp-3.d: New test. + * ld-arm/attr-merge-vfp-3r.d: New test. + * ld-arm/attr-merge-vfp-4.d: New test. + * ld-arm/attr-merge-vfp-4r.d: New test. + * ld-arm/attr-merge-vfp-5.d: New test. + * ld-arm/attr-merge-vfp-5r.d: New test. + * ld-arm/attr-merge-vfp-2.s: New test. + * ld-arm/attr-merge-vfp-3.s: New test. + * ld-arm/attr-merge-vfp-3-d16.s: New test. + * ld-arm/attr-merge-vfp-4.s: New test. + * ld-arm/attr-merge-vfp-4-d16.s: New test. + 2009-11-02 Alan Modra <amodra@bigpond.net.au> * ld-scripts/phdrs3.exp (LDFLAGS): Add "--local-store 0:0" for SPU. diff --git a/ld/testsuite/ld-arm/arm-elf.exp b/ld/testsuite/ld-arm/arm-elf.exp index d88fb37..21ec225 100644 --- a/ld/testsuite/ld-arm/arm-elf.exp +++ b/ld/testsuite/ld-arm/arm-elf.exp @@ -450,3 +450,13 @@ run_dump_test "unwind-2" run_dump_test "unwind-3" run_dump_test "unwind-4" run_dump_test "unwind-5" +run_dump_test "attr-merge-vfp-1" +run_dump_test "attr-merge-vfp-1r" +run_dump_test "attr-merge-vfp-2" +run_dump_test "attr-merge-vfp-2r" +run_dump_test "attr-merge-vfp-3" +run_dump_test "attr-merge-vfp-3r" +run_dump_test "attr-merge-vfp-4" +run_dump_test "attr-merge-vfp-4r" +run_dump_test "attr-merge-vfp-5" +run_dump_test "attr-merge-vfp-5r" diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-1.d b/ld/testsuite/ld-arm/attr-merge-vfp-1.d new file mode 100644 index 0000000..01ffae5 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-1.d @@ -0,0 +1,13 @@ +#source: attr-merge-vfp-2.s +#source: attr-merge-vfp-3-d16.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_VFP_arch: VFPv3-D16 diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-1r.d b/ld/testsuite/ld-arm/attr-merge-vfp-1r.d new file mode 100644 index 0000000..7494cc4 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-1r.d @@ -0,0 +1,13 @@ +#source: attr-merge-vfp-3-d16.s +#source: attr-merge-vfp-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_VFP_arch: VFPv3-D16 diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-2.d b/ld/testsuite/ld-arm/attr-merge-vfp-2.d new file mode 100644 index 0000000..b81a9eb --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-2.d @@ -0,0 +1,13 @@ +#source: attr-merge-vfp-3.s +#source: attr-merge-vfp-3-d16.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_VFP_arch: VFPv3 diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-2.s b/ld/testsuite/ld-arm/attr-merge-vfp-2.s new file mode 100644 index 0000000..32657d3 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-2.s @@ -0,0 +1,2 @@ +.fpu vfpv2 + diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-2r.d b/ld/testsuite/ld-arm/attr-merge-vfp-2r.d new file mode 100644 index 0000000..47758d6 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-2r.d @@ -0,0 +1,13 @@ +#source: attr-merge-vfp-3-d16.s +#source: attr-merge-vfp-3.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_VFP_arch: VFPv3 diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-3-d16.s b/ld/testsuite/ld-arm/attr-merge-vfp-3-d16.s new file mode 100644 index 0000000..74729e0 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-3-d16.s @@ -0,0 +1,2 @@ +.fpu vfpv3-d16 + diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-3.d b/ld/testsuite/ld-arm/attr-merge-vfp-3.d new file mode 100644 index 0000000..36f8947 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-3.d @@ -0,0 +1,14 @@ +#source: attr-merge-vfp-3-d16.s +#source: attr-merge-vfp-4-d16.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_VFP_arch: VFPv4-D16 + Tag_VFP_HP_extension: Allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-3.s b/ld/testsuite/ld-arm/attr-merge-vfp-3.s new file mode 100644 index 0000000..4d60323 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-3.s @@ -0,0 +1,2 @@ +.fpu vfpv3 + diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-3r.d b/ld/testsuite/ld-arm/attr-merge-vfp-3r.d new file mode 100644 index 0000000..fa110e6 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-3r.d @@ -0,0 +1,14 @@ +#source: attr-merge-vfp-4-d16.s +#source: attr-merge-vfp-3-d16.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_VFP_arch: VFPv4-D16 + Tag_VFP_HP_extension: Allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-4-d16.s b/ld/testsuite/ld-arm/attr-merge-vfp-4-d16.s new file mode 100644 index 0000000..8d8aedd --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-4-d16.s @@ -0,0 +1,2 @@ +.fpu vfpv4-d16 + diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-4.d b/ld/testsuite/ld-arm/attr-merge-vfp-4.d new file mode 100644 index 0000000..c027883 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-4.d @@ -0,0 +1,14 @@ +#source: attr-merge-vfp-3.s +#source: attr-merge-vfp-4-d16.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_VFP_arch: VFPv4 + Tag_VFP_HP_extension: Allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-4.s b/ld/testsuite/ld-arm/attr-merge-vfp-4.s new file mode 100644 index 0000000..190cdc0 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-4.s @@ -0,0 +1,2 @@ +.fpu vfpv4 + diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-4r.d b/ld/testsuite/ld-arm/attr-merge-vfp-4r.d new file mode 100644 index 0000000..4247e7e --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-4r.d @@ -0,0 +1,14 @@ +#source: attr-merge-vfp-4-d16.s +#source: attr-merge-vfp-3.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_VFP_arch: VFPv4 + Tag_VFP_HP_extension: Allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-5.d b/ld/testsuite/ld-arm/attr-merge-vfp-5.d new file mode 100644 index 0000000..a1c8631 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-5.d @@ -0,0 +1,14 @@ +#source: attr-merge-vfp-4.s +#source: attr-merge-vfp-4-d16.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_VFP_arch: VFPv4 + Tag_VFP_HP_extension: Allowed diff --git a/ld/testsuite/ld-arm/attr-merge-vfp-5r.d b/ld/testsuite/ld-arm/attr-merge-vfp-5r.d new file mode 100644 index 0000000..6de0da6 --- /dev/null +++ b/ld/testsuite/ld-arm/attr-merge-vfp-5r.d @@ -0,0 +1,14 @@ +#source: attr-merge-vfp-4-d16.s +#source: attr-merge-vfp-4.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_VFP_arch: VFPv4 + Tag_VFP_HP_extension: Allowed |