fix ld tls-common test
Alan Modra
amodra@bigpond.net.au
Wed Jun 21 06:16:00 GMT 2006
Applied.
* ld-elf/tls_common.exp: Match 32-bit output.
Index: ld/testsuite/ld-elf/tls_common.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/tls_common.exp,v
retrieving revision 1.1
diff -u -p -r1.1 tls_common.exp
--- ld/testsuite/ld-elf/tls_common.exp 20 Jun 2006 16:36:18 -0000 1.1
+++ ld/testsuite/ld-elf/tls_common.exp 21 Jun 2006 05:34:59 -0000
@@ -61,7 +61,7 @@ if { ![ld_simple_link $ld tmpdir/tls_com
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
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list