aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-08-18 20:24:47 +0930
committerAlan Modra <amodra@gmail.com>2016-08-18 20:28:29 +0930
commit626c539f2edd20e351732cc23e30988853b08ca1 (patch)
treef8a57b702ee75ca90e7598a764e4bb4b6dae36f8 /ld
parent38326bfc8bdba796967f3bb78aa62c2a29d29b34 (diff)
downloadgdb-626c539f2edd20e351732cc23e30988853b08ca1.zip
gdb-626c539f2edd20e351732cc23e30988853b08ca1.tar.gz
gdb-626c539f2edd20e351732cc23e30988853b08ca1.tar.bz2
Fix thinko in new weak undefined function test
* testsuite/ld-undefined/weak-undef.exp: Use unsupported not unresolved.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/testsuite/ld-undefined/weak-undef.exp2
2 files changed, 6 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 7fa2283..a0e274b 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
diff --git a/ld/testsuite/ld-undefined/weak-undef.exp b/ld/testsuite/ld-undefined/weak-undef.exp
index 127628f..e20bd98 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