From: Alan Modra Date: Thu, 18 Aug 2016 10:54:47 +0000 (+0930) Subject: Fix thinko in new weak undefined function test X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=626c539f2edd20e351732cc23e30988853b08ca1;p=binutils-gdb.git Fix thinko in new weak undefined function test * testsuite/ld-undefined/weak-undef.exp: Use unsupported not unresolved. --- 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