Fix thinko in new weak undefined function test

* testsuite/ld-undefined/weak-undef.exp: Use unsupported not
	unresolved.
This commit is contained in:
Alan Modra 2016-08-18 20:24:47 +09:30
parent 38326bfc8b
commit 626c539f2e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2016-08-18 Alan Modra <amodra@gmail.com>
* testsuite/ld-undefined/weak-undef.exp: Use unsupported not
unresolved.
2016-08-12 Alan Modra <amodra@gmail.com>
* testsuite/ld-tic6x/shlib-1.rd: Correct expected .dynsym sh_info.

View File

@ -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