aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfcomm
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2003-04-15 14:56:06 +0000
committerH.J. Lu <hjl.tools@gmail.com>2003-04-15 14:56:06 +0000
commit37adfc7e9fc6982772fc6e6093aad43d0020ad30 (patch)
tree4f348241a0b7b4f89513899076f4a2533c439030 /ld/testsuite/ld-elfcomm
parent731e28d885703e3a17a9567c6c6465bdd923846c (diff)
downloadgdb-37adfc7e9fc6982772fc6e6093aad43d0020ad30.zip
gdb-37adfc7e9fc6982772fc6e6093aad43d0020ad30.tar.gz
gdb-37adfc7e9fc6982772fc6e6093aad43d0020ad30.tar.bz2
2003-04-15 H.J. Lu <hjl@gnu.org>
* ld-elfcom/elfcom.exp: Fix a typo.
Diffstat (limited to 'ld/testsuite/ld-elfcomm')
-rw-r--r--ld/testsuite/ld-elfcomm/elfcomm.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/ld/testsuite/ld-elfcomm/elfcomm.exp b/ld/testsuite/ld-elfcomm/elfcomm.exp
index 199e83e..a205f56 100644
--- a/ld/testsuite/ld-elfcomm/elfcomm.exp
+++ b/ld/testsuite/ld-elfcomm/elfcomm.exp
@@ -61,7 +61,7 @@ global ld
global link_output
if { [ld_simple_link $ld tmpdir/common1.o "-r tmpdir/common1a.o tmpdir/common1b.o"] } {
- unresolved $test1
+ unresolved "$test1 (warning 1)"
return
}
@@ -77,14 +77,14 @@ if { [dump_common1 "$test1 (change 1)"] } {
}
if { [ld_simple_link $ld tmpdir/common1.o "-r tmpdir/common1b.o tmpdir/common1a.o"] } {
- unresolved $test1
+ unresolved "$test1 (warning 2)"
return
}
if { ![regexp "Warning: alignment 1 of symbol \`foo1\' in tmpdir/common1b.o is smaller than 64 in tmpdir/common1a.o" $link_output] } {
fail "$test1 (warning 2)"
} else {
- pass "$test1 (warningi 2)"
+ pass "$test1 (warning 2)"
}
if { [dump_common1 "$test1 (change 2)"] } {