summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl@lucon.org>2003-04-15 14:56:06 +0000
committerH.J. Lu <hjl@lucon.org>2003-04-15 14:56:06 +0000
commiteb604c51db8e4bcbc5cf944b110705a291a61b4f (patch)
treec75a845fe8056b9d7cc12a3f1849a49901f14dcf
parentf15e574cf25e819719e8374c346a2e067a218324 (diff)
downloadbinutils-redhat-eb604c51db8e4bcbc5cf944b110705a291a61b4f.tar.gz
2003-04-15 H.J. Lu <hjl@gnu.org>
* ld-elfcom/elfcom.exp: Fix a typo.
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-elfcomm/elfcomm.exp6
2 files changed, 7 insertions, 3 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index b9cf3490d8..70ab6718e2 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-15 H.J. Lu <hjl@gnu.org>
+
+ * ld-elfcom/elfcom.exp: Fix a typo.
+
2003-04-14 H.J. Lu <hjl@gnu.org>
* ld-elfcom: New directory.
diff --git a/ld/testsuite/ld-elfcomm/elfcomm.exp b/ld/testsuite/ld-elfcomm/elfcomm.exp
index 199e83e3ba..a205f566c3 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)"] } {