aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elf
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2006-06-21 05:36:17 +0000
committerAlan Modra <amodra@gmail.com>2006-06-21 05:36:17 +0000
commitc219a7a5ff169269793f3a9fef0ce31e945a4128 (patch)
tree334b0cd235d4565ce1ed204b70c282639dfa79bf /ld/testsuite/ld-elf
parenta4308b792c484d8591846e1ee1850d62739aba3e (diff)
downloadgdb-c219a7a5ff169269793f3a9fef0ce31e945a4128.zip
gdb-c219a7a5ff169269793f3a9fef0ce31e945a4128.tar.gz
gdb-c219a7a5ff169269793f3a9fef0ce31e945a4128.tar.bz2
* ld-elf/tls_common.exp: Match 32-bit output.
Diffstat (limited to 'ld/testsuite/ld-elf')
-rw-r--r--ld/testsuite/ld-elf/tls_common.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-elf/tls_common.exp b/ld/testsuite/ld-elf/tls_common.exp
index 1a53f8a..512689f 100644
--- a/ld/testsuite/ld-elf/tls_common.exp
+++ b/ld/testsuite/ld-elf/tls_common.exp
@@ -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