From 626c539f2edd20e351732cc23e30988853b08ca1 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 18 Aug 2016 20:24:47 +0930 Subject: [PATCH] Fix thinko in new weak undefined function test * testsuite/ld-undefined/weak-undef.exp: Use unsupported not unresolved. --- ld/ChangeLog | 5 +++++ ld/testsuite/ld-undefined/weak-undef.exp | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 7fa2283b533..a0e274b298f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2016-08-18 Alan Modra + + * testsuite/ld-undefined/weak-undef.exp: Use unsupported not + unresolved. + 2016-08-12 Alan Modra * testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info. diff --git a/ld/testsuite/ld-undefined/weak-undef.exp b/ld/testsuite/ld-undefined/weak-undef.exp index 127628ff9af..e20bd98e804 100644 --- a/ld/testsuite/ld-undefined/weak-undef.exp +++ b/ld/testsuite/ld-undefined/weak-undef.exp @@ -67,7 +67,7 @@ switch -glob $target_triplet { } if { $asflags == "" || ![is_elf_format] || ![check_shared_lib_support]} then { - unresolved $testname + unsupported $testname } elseif {![ld_assemble $as "$asflags $srcdir/$subdir/weak-fundef.s" \ tmpdir/weak-fundef.o]} then { fail $testname -- 2.30.2