]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
mbind gas tests and supports_gnu_osabi testsuite infrastructure
authorAlan Modra <amodra@gmail.com>
Wed, 5 Feb 2020 05:49:17 +0000 (16:19 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 6 Feb 2020 03:27:37 +0000 (13:57 +1030)
commit02e0be69012aee9aac0c7adbba1b0516b4dc9218
treef254f35a15e747f8f6775349b2bf29ca7ce478aa
parentb88237bc21d0e847d5c8808bfd9a789ed213cfb2
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.
binutils/ChangeLog
binutils/testsuite/lib/binutils-common.exp
gas/ChangeLog
gas/testsuite/gas/elf/section12a.d
gas/testsuite/gas/elf/section12b.d
gas/testsuite/gas/elf/section16a.d
gas/testsuite/gas/elf/section16b.d
ld/ChangeLog
ld/testsuite/ld-unique/unique.exp
ld/testsuite/lib/ld-lib.exp