* ld-elf/tls_common.exp: Match 32-bit output.

This commit is contained in:
Alan Modra 2006-06-21 05:36:17 +00:00
parent a4308b792c
commit c219a7a5ff
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2006-06-21 Alan Modra <amodra@bigpond.net.au>
* ld-elf/tls_common.exp: Match 32-bit output.
2006-06-20 Jakub Jelinek <jakub@redhat.com>
* ld-elf/tls_common.exp: New test.

View File

@ -61,7 +61,7 @@ if { ![ld_simple_link $ld tmpdir/tls_common "tmpdir/tls_common1.o"] } {
send_log "$READELF -l --wide tmpdir/tls_common\n"
catch "exec $READELF -l --wide tmpdir/tls_common" readelf_output
if ![string match "*TLS*0x000000 0x000004 R *" $readelf_output] then {
if ![regexp ".*TLS.*0x0+ 0x0+4 R .*" $readelf_output] then {
send_log "$readelf_output\n"
fail "tls_common"
return