diff options
author | Alan Modra <amodra@gmail.com> | 2020-02-05 16:19:17 +1030 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-02-06 13:57:37 +1030 |
commit | 02e0be69012aee9aac0c7adbba1b0516b4dc9218 (patch) | |
tree | f254f35a15e747f8f6775349b2bf29ca7ce478aa /ld/testsuite/lib/ld-lib.exp | |
parent | b88237bc21d0e847d5c8808bfd9a789ed213cfb2 (diff) | |
download | gdb-02e0be69012aee9aac0c7adbba1b0516b4dc9218.zip gdb-02e0be69012aee9aac0c7adbba1b0516b4dc9218.tar.gz gdb-02e0be69012aee9aac0c7adbba1b0516b4dc9218.tar.bz2 |
mbind gas tests and supports_gnu_osabi testsuite infrastructure
With the addition of section16 tests we have multiple tests
advertising themselves as "mbind sections" and "mbind section
contents". This patch fixes that, and fails on quite a few targets
that force an OSABI value. It's a pain specifying all the relevant
arm targets on an xfail line, so I wrote supports_gnu_osabi.
binutils/
* testsuite/lib/binutils-common.exp (match_target): Accept '!' before
TCL procedure.
(supports_gnu_osabi): New procedure.
(is_generic): New, from ld-lib.exp.
(supports_gnu_unique): Use the above.
gas/
* testsuite/gas/elf/section12a.d: Use supports_gnu_osabi in
xfail, and rename test.
* testsuite/gas/elf/section12b.d: Likewise.
* testsuite/gas/elf/section16a.d: Likewise.
* testsuite/gas/elf/section16b.d: Likewise.
ld/
* testsuite/lib/ld-lib.exp (is_generic): Delete.
* testsuite/ld-unique/unique.exp: Exclude tic6x.
Diffstat (limited to 'ld/testsuite/lib/ld-lib.exp')
-rw-r--r-- | ld/testsuite/lib/ld-lib.exp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/ld/testsuite/lib/ld-lib.exp b/ld/testsuite/lib/ld-lib.exp index 6752a76..bed5add 100644 --- a/ld/testsuite/lib/ld-lib.exp +++ b/ld/testsuite/lib/ld-lib.exp @@ -1088,18 +1088,6 @@ proc check_gc_sections_available { } { return $gc_sections_available_saved } -# Return true if target uses the generic_link_hash_table linker. -proc is_generic { } { - if { [istarget "d30v-*-*"] - || [istarget "dlx-*-*"] - || [istarget "pj*-*-*"] - || [istarget "s12z-*-*"] - || [istarget "xgate-*-*"] } { - return 1 - } - return 0 -} - # Return true if target uses genelf.em. proc uses_genelf { } { if { [istarget "d30v-*-*"] |