2003-04-15 H.J. Lu <hjl@gnu.org>

* ld-elfcom/elfcom.exp: Fix a typo.
This commit is contained in:
H.J. Lu 2003-04-15 14:56:06 +00:00
parent 731e28d885
commit 37adfc7e9f
2 changed files with 7 additions and 3 deletions

View File

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

View File

@ -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)"] } {