aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-elfcomm
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2006-08-11 14:05:12 +0000
committerThiemo Seufer <ths@networkno.de>2006-08-11 14:05:12 +0000
commitf46cb541990fb0488c752c47c80e865de3c3972e (patch)
tree1e07586e1b096b27ee32fe3d615946f693dc83d1 /ld/testsuite/ld-elfcomm
parent54938e2a648765ca4e9d20201611b7d077f89349 (diff)
downloadgdb-f46cb541990fb0488c752c47c80e865de3c3972e.zip
gdb-f46cb541990fb0488c752c47c80e865de3c3972e.tar.gz
gdb-f46cb541990fb0488c752c47c80e865de3c3972e.tar.bz2
* ld-elfcomm/elfcomm.exp (dump_common1): Extend regexp to match also
MIPS small commons.
Diffstat (limited to 'ld/testsuite/ld-elfcomm')
-rw-r--r--ld/testsuite/ld-elfcomm/elfcomm.exp2
1 files changed, 1 insertions, 1 deletions
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