diff options
Diffstat (limited to 'ld/testsuite/ld-arm')
26 files changed, 89 insertions, 1 deletions
diff --git a/ld/testsuite/ld-arm/attr-merge-2.attr b/ld/testsuite/ld-arm/attr-merge-2.attr index 341e6d1..98faefa 100644 --- a/ld/testsuite/ld-arm/attr-merge-2.attr +++ b/ld/testsuite/ld-arm/attr-merge-2.attr @@ -2,6 +2,8 @@ Attribute Section: aeabi File Attributes Tag_CPU_name: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed diff --git a/ld/testsuite/ld-arm/attr-merge-3.attr b/ld/testsuite/ld-arm/attr-merge-3.attr index b539132..e4e06e1 100644 --- a/ld/testsuite/ld-arm/attr-merge-3.attr +++ b/ld/testsuite/ld-arm/attr-merge-3.attr @@ -2,7 +2,7 @@ Attribute Section: aeabi File Attributes Tag_nodefaults: True Tag_CPU_name: "ARM9E" - Tag_CPU_arch: v5TE + Tag_CPU_arch: v5T Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-2 Tag_VFP_arch: VFPv3 diff --git a/ld/testsuite/ld-arm/attr-merge-4.attr b/ld/testsuite/ld-arm/attr-merge-4.attr index e2a4cb9..75fd063 100644 --- a/ld/testsuite/ld-arm/attr-merge-4.attr +++ b/ld/testsuite/ld-arm/attr-merge-4.attr @@ -3,4 +3,6 @@ File Attributes Tag_CPU_name: "ARM7TDMI" Tag_CPU_arch: v4T Tag_CPU_arch_profile: Microcontroller + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 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 9f0e0b2..9d3e971 100644 --- a/ld/testsuite/ld-arm/attr-merge-5.attr +++ b/ld/testsuite/ld-arm/attr-merge-5.attr @@ -1,3 +1,5 @@ Attribute Section: aeabi File Attributes + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_compatibility: flag = 1, vendor = gnu diff --git a/ld/testsuite/ld-arm/attr-merge-arch-1.attr b/ld/testsuite/ld-arm/attr-merge-arch-1.attr index b08f14f..f69f1e7 100644 --- a/ld/testsuite/ld-arm/attr-merge-arch-1.attr +++ b/ld/testsuite/ld-arm/attr-merge-arch-1.attr @@ -2,3 +2,5 @@ Attribute Section: aeabi File Attributes Tag_CPU_name: "ARM v7" Tag_CPU_arch: v7 + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-2 diff --git a/ld/testsuite/ld-arm/attr-merge-arch-2.attr b/ld/testsuite/ld-arm/attr-merge-arch-2.attr index 9d6a7bd..ac7679c 100644 --- a/ld/testsuite/ld-arm/attr-merge-arch-2.attr +++ b/ld/testsuite/ld-arm/attr-merge-arch-2.attr @@ -3,3 +3,5 @@ File Attributes Tag_CPU_raw_name: "arch_v6k" Tag_CPU_name: "MPCORE" Tag_CPU_arch: v6K + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 diff --git a/ld/testsuite/ld-arm/attr-merge-unknown-2.d b/ld/testsuite/ld-arm/attr-merge-unknown-2.d index 7d18571..851b2af 100644 --- a/ld/testsuite/ld-arm/attr-merge-unknown-2.d +++ b/ld/testsuite/ld-arm/attr-merge-unknown-2.d @@ -4,7 +4,11 @@ #ld: #warning: Unknown EABI object attribute 82 #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-unknown-2r.d b/ld/testsuite/ld-arm/attr-merge-unknown-2r.d index 82402b3..4914196 100644 --- a/ld/testsuite/ld-arm/attr-merge-unknown-2r.d +++ b/ld/testsuite/ld-arm/attr-merge-unknown-2r.d @@ -4,7 +4,11 @@ #ld: #warning: Unknown EABI object attribute 82 #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-unknown-3.d b/ld/testsuite/ld-arm/attr-merge-unknown-3.d index b09fcc9..1d08bff 100644 --- a/ld/testsuite/ld-arm/attr-merge-unknown-3.d +++ b/ld/testsuite/ld-arm/attr-merge-unknown-3.d @@ -4,8 +4,12 @@ #ld: #warning: Unknown EABI object attribute 82 #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_unknown_82: 1 \(0x1\) 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 e850c64..922ea40 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d @@ -3,11 +3,15 @@ #as: #ld: -r --no-wchar-size-warning #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: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-00.d b/ld/testsuite/ld-arm/attr-merge-wchar-00.d index 1fcf7c0..af29687 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-00.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-00.d @@ -3,11 +3,15 @@ #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_CPU_name: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 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 f6b7a68..09f815a 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d @@ -3,11 +3,15 @@ #as: #ld: -r --no-wchar-size-warning #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: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 2 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-02.d b/ld/testsuite/ld-arm/attr-merge-wchar-02.d index dc907ee..1c48b00 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-02.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-02.d @@ -3,11 +3,15 @@ #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_CPU_name: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 2 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed 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 b369b78..2bdbab4 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d @@ -3,11 +3,15 @@ #as: #ld: -r --no-wchar-size-warning #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: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-04.d b/ld/testsuite/ld-arm/attr-merge-wchar-04.d index 9aa3c47..8ea1646 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-04.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-04.d @@ -3,11 +3,15 @@ #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_CPU_name: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed 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 8cfb682..d0c8634 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d @@ -3,11 +3,15 @@ #as: #ld: -r --no-wchar-size-warning #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: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 2 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-20.d b/ld/testsuite/ld-arm/attr-merge-wchar-20.d index 1ba47f1..6e02df9 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-20.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-20.d @@ -3,11 +3,15 @@ #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_CPU_name: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 2 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed 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 4a3d37e..17b288d 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d @@ -3,11 +3,15 @@ #as: #ld: -r --no-wchar-size-warning #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: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 2 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-22.d b/ld/testsuite/ld-arm/attr-merge-wchar-22.d index 23c0726..d1c7903 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-22.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-22.d @@ -3,11 +3,15 @@ #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_CPU_name: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 2 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed 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 cadd7da..48825e5 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d @@ -3,11 +3,15 @@ #as: #ld: -r --no-wchar-size-warning #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: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 2 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed 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 9d6e040..8b4b181 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d @@ -3,11 +3,15 @@ #as: #ld: -r --no-wchar-size-warning #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: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-40.d b/ld/testsuite/ld-arm/attr-merge-wchar-40.d index fcf9b54..e77c13b 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-40.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-40.d @@ -3,11 +3,15 @@ #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_CPU_name: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed 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 8dbc442..dbd4e4d 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d @@ -3,11 +3,15 @@ #as: #ld: -r --no-wchar-size-warning #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: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed 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 7566d2a..7e54473 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d @@ -3,11 +3,15 @@ #as: #ld: -r --no-wchar-size-warning #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: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed diff --git a/ld/testsuite/ld-arm/attr-merge-wchar-44.d b/ld/testsuite/ld-arm/attr-merge-wchar-44.d index 430de30..c3c52f0 100644 --- a/ld/testsuite/ld-arm/attr-merge-wchar-44.d +++ b/ld/testsuite/ld-arm/attr-merge-wchar-44.d @@ -3,11 +3,15 @@ #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_CPU_name: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed diff --git a/ld/testsuite/ld-arm/attr-merge.attr b/ld/testsuite/ld-arm/attr-merge.attr index 341e6d1..98faefa 100644 --- a/ld/testsuite/ld-arm/attr-merge.attr +++ b/ld/testsuite/ld-arm/attr-merge.attr @@ -2,6 +2,8 @@ Attribute Section: aeabi File Attributes Tag_CPU_name: "ARM7TDMI" Tag_CPU_arch: v4T + Tag_ARM_ISA_use: Yes + Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed |