From b3066ae8259d3adb4e00ee8145c55df16c3d7261 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sun, 17 Jan 2016 12:13:43 +1030 Subject: m68hc11/12 and xgate config.sub weirdness Oddly, config.sub converts a duple ending in -elf for these target to -unknown-none, which means they aren't seen as elf targets by binutils. So, counter that. This exposes a number of testsuite issues (ones you would have seen if configuring with a full triple, say m68hc11-unknown-elf). binutils/ * testsuite/lib/binutils-common.exp (is_elf_format): Return true for m68hc11/12 and xgate triples. gas/ * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test. ld/ * testsuite/lib/ld-lib.exp (check_shared_lib_support): Exclude xgate. * testsuite/ld-elf/endsym.d: xfail m68hc11/12 and xgate. * testsuite/ld-elf/pr14156a.d: Likewise. * testsuite/ld-elf/pr14926.d: Don't run for m68hc11/12 and xgate. * testsuite/ld-elf/sec64k.exp: Likewise. --- gas/ChangeLog | 4 ++++ gas/testsuite/gas/cfi/cfi.exp | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 59e31a7..424c790 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2016-01-17 Alan Modra + + * testsuite/gas/cfi/cfi.exp: Exclude m68hc11/12 from m68k test. + 2016-01-14 Nick Clifton * testsuite/gas/rl78/sp-relative-movw.s: New test. diff --git a/gas/testsuite/gas/cfi/cfi.exp b/gas/testsuite/gas/cfi/cfi.exp index 7cda4d2..379e6f4 100644 --- a/gas/testsuite/gas/cfi/cfi.exp +++ b/gas/testsuite/gas/cfi/cfi.exp @@ -73,7 +73,7 @@ if { [istarget "i*86-*-*"] || [istarget "x86_64-*-*"] } then { run_dump_test "cfi-s390x-1" } -} elseif { [istarget "m68*-*"] } then { +} elseif { [istarget "m68*-*"] && ![istarget "m68hc1*-*"] } then { run_dump_test "cfi-m68k" } elseif { [istarget sparc*-*-*] } then { -- cgit v1.1