This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

fix ld tls-common test


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]