* ld-elf/tls_common.exp: Match 32-bit output.
authorAlan Modra <amodra@gmail.com>
Wed, 21 Jun 2006 05:36:17 +0000 (05:36 +0000)
committerAlan Modra <amodra@gmail.com>
Wed, 21 Jun 2006 05:36:17 +0000 (05:36 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-elf/tls_common.exp

index f8faba82b3f8d010d76b184bd2da7acc8461bea0..f65b95e435c39d0de0f32ceb7809ff2ce6739bdd 100644 (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.
index 1a53f8adebf4124aacefeba64417c85dff2e655f..512689f167be4c8da092a76bf09c2fe8e44d8738 100644 (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