From: Thiemo Seufer Date: Fri, 11 Aug 2006 14:05:12 +0000 (+0000) Subject: * ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also X-Git-Tag: gdb_6_6-2006-11-15-branchpoint~664 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f46cb541990fb0488c752c47c80e865de3c3972e;p=platform%2Fupstream%2Fbinutils.git * ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also MIPS small commons. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index de2f8a0..4fc6599 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2006-08-11 Thiemo Seufer + + * ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also + MIPS small commons. + 2006-08-08 H.J. Lu PR ld/3009 diff --git a/ld/testsuite/ld-elfcomm/elfcomm.exp b/ld/testsuite/ld-elfcomm/elfcomm.exp index 5b3db49..ebcebf1 100644 --- a/ld/testsuite/ld-elfcomm/elfcomm.exp +++ b/ld/testsuite/ld-elfcomm/elfcomm.exp @@ -45,7 +45,7 @@ proc dump_common1 { testname } { send_log "$READELF -s tmpdir/common1.o | grep foo\n" catch "exec $READELF -s tmpdir/common1.o | grep foo" exec_output - if { ![regexp "(\[ \]*)(\[0-9\]+):(\[ \]*)(\[0\]*)80(\[ \]+)4(\[ \]+)OBJECT(\[ \]+)GLOBAL(\[ \]+)DEFAULT(\[ \]+)(PRC\\\[0xff03\\\]|COM)(\[ \]+)_?foo2" $exec_output] + if { ![regexp "(\[ \]*)(\[0-9\]+):(\[ \]*)(\[0\]*)80(\[ \]+)4(\[ \]+)OBJECT(\[ \]+)GLOBAL(\[ \]+)DEFAULT(\[ \]+)(PRC\\\[0xff03\\\]|COM|SCOM)(\[ \]+)_?foo2" $exec_output] || ![regexp "(\[ \]*)(\[0-9\]+):(\[ \]*)(\[0-9\]+)(\[ \]+)21(\[ \]+)OBJECT(\[ \]+)GLOBAL(\[ \]+)DEFAULT(\[ \]+)(\[0-9\]+)(\[ \]+)_?foo1" $exec_output] } { send_log "$exec_output\n" verbose $exec_output