Fix thinko in new weak undefined function test
authorAlan Modra <amodra@gmail.com>
Thu, 18 Aug 2016 10:54:47 +0000 (20:24 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 18 Aug 2016 10:58:29 +0000 (20:28 +0930)
* testsuite/ld-undefined/weak-undef.exp: Use unsupported not
unresolved.

ld/ChangeLog
ld/testsuite/ld-undefined/weak-undef.exp

index 7fa2283b5331d5fc61f61f220e5d1728ecd22efe..a0e274b298f2a43463686b07872a2e58596c6e30 100644 (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.
index 127628ff9af0567baaa1d7ba40a866c09c4927ff..e20bd98e804f0dedbe7b295e63da698c0f90dfb8 100644 (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