* ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also
authorThiemo Seufer <ths@networkno.de>
Fri, 11 Aug 2006 14:05:12 +0000 (14:05 +0000)
committerThiemo Seufer <ths@networkno.de>
Fri, 11 Aug 2006 14:05:12 +0000 (14:05 +0000)
MIPS small commons.

ld/testsuite/ChangeLog
ld/testsuite/ld-elfcomm/elfcomm.exp

index de2f8a08a2a25a8dafce46681382d024c0eb87b1..4fc6599c83f2e3d527cbc016befd08afa18ab1fc 100644 (file)
@@ -1,3 +1,8 @@
+2006-08-11  Thiemo Seufer  <ths@mips.com>
+
+       * ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also
+       MIPS small commons.
+
 2006-08-08  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/3009
index 5b3db4986b7da62985275982aea995f80b1910bd..ebcebf172904317193c9de84413261dc2b3303f1 100644 (file)
@@ -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