diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2004-12-21 13:09:55 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2004-12-21 13:09:55 +0000 |
commit | 7f1c66244cb6de1538de71311e3cf98c488b9022 (patch) | |
tree | 29eb4042d3481bc87e1a4ffd7e903b4595f0f028 /gas | |
parent | 0b48a2912061d39173863a6824470beb73eab2ca (diff) | |
download | gdb-7f1c66244cb6de1538de71311e3cf98c488b9022.zip gdb-7f1c66244cb6de1538de71311e3cf98c488b9022.tar.gz gdb-7f1c66244cb6de1538de71311e3cf98c488b9022.tar.bz2 |
* gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],
[:xdigit:] and {N} in regexps with [0-9], [0-9a-fA-F] and N
copies, to cater to tcl versions before Tcl 8.2.3.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/section5.e | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/elf/section5.l | 48 |
3 files changed, 35 insertions, 29 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 11c7d9d..05b1274 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2004-12-21 Hans-Peter Nilsson <hp@axis.com> + + * gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:], + [:xdigit:] and {N} in regexps with [0-9], [0-9a-fA-F] and N + copies, to cater to tcl versions before Tcl 8.2.3. + 2004-12-20 Nick Clifton <nickc@redhat.com> * gas/elf/section5.[ls]: Use % instead of @ in .section diff --git a/gas/testsuite/gas/elf/section5.e b/gas/testsuite/gas/elf/section5.e index f1c4f7a..4474f36 100644 --- a/gas/testsuite/gas/elf/section5.e +++ b/gas/testsuite/gas/elf/section5.e @@ -1,8 +1,8 @@ -.* \.test0[ ]+PROGBITS[ ]+([[:xdigit:]]+[ ]+){4}[ ]+[[:digit:]]+.* -.* \.test1[ ]+PROGBITS[ ]+([[:xdigit:]]+[ ]+){4}[ ]+[[:digit:]]+.* +.* \.test0[ ]+PROGBITS[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[ ]+[0-9]+.* +.* \.test1[ ]+PROGBITS[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[ ]+[0-9]+.* .* \.rela?\.test1[ ]+RELA?[ ]+.* -.* \.test2[ ]+PROGBITS[ ]+([[:xdigit:]]+[ ]+){4}[ ]+[[:digit:]]+.* +.* \.test2[ ]+PROGBITS[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[ ]+[0-9]+.* .* \.rela?\.test2[ ]+RELA?[ ]+.* -.* \.test3[ ]+PROGBITS[ ]+([[:xdigit:]]+[ ]+){4}WA[ ]+[[:digit:]]+.* +.* \.test3[ ]+PROGBITS[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+WA[ ]+[0-9]+.* .* \.rela?\.test3[ ]+RELA?[ ]+.* -.* \.test4[ ]+NOBITS[ ]+([[:xdigit:]]+[ ]+){4}WA[ ]+[[:digit:]]+.* +.* \.test4[ ]+NOBITS[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+[0-9a-fA-F]+[ ]+WA[ ]+[0-9]+.* diff --git a/gas/testsuite/gas/elf/section5.l b/gas/testsuite/gas/elf/section5.l index 82a1b4b..ed54758 100644 --- a/gas/testsuite/gas/elf/section5.l +++ b/gas/testsuite/gas/elf/section5.l @@ -11,27 +11,27 @@ .*GAS.* -[ ]+[[:digit:]]+[ ]+.section[ ]+.test0[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.test1,[ ]*"",[ ]*%progbits[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.test2[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.test3,[ ]*"aw"[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.test4,[ ]*"aw",[ ]*%nobits[ ]* -[ ]+[[:digit:]]+[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.test1,[ ]*"aw",[ ]*%nobits[ ]* -[ ]+[[:digit:]]+[ ]+.* -[ ]+[[:digit:]]+[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.test2,[ ]*"w"[ ]* -[ ]+[[:digit:]]+[ ]+.* -[ ]+[[:digit:]]+[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.test3,[ ]*"aw",[ ]*%progbits[ ]* -[ ]+[[:digit:]]+[ ]+.* -[ ]+[[:digit:]]+[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.test4,[ ]*"aw"[ ]* -[ ]+[[:digit:]]+[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.data,[ ]*"a"[ ]* -[ ]+[[:digit:]]+[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.bss,[ ]*"a"[ ]* -[ ]+[[:digit:]]+[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.data,[ ]*"aw",[ ]*%nobits[ ]* -[ ]+[[:digit:]]+[ ]* -[ ]+[[:digit:]]+[ ]+.section[ ]+.bss,[ ]*"aw",[ ]*%progbits[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.test0[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.test1,[ ]*"",[ ]*%progbits[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.test2[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.test3,[ ]*"aw"[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.test4,[ ]*"aw",[ ]*%nobits[ ]* +[ ]+[0-9]+[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.test1,[ ]*"aw",[ ]*%nobits[ ]* +[ ]+[0-9]+[ ]+.* +[ ]+[0-9]+[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.test2,[ ]*"w"[ ]* +[ ]+[0-9]+[ ]+.* +[ ]+[0-9]+[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.test3,[ ]*"aw",[ ]*%progbits[ ]* +[ ]+[0-9]+[ ]+.* +[ ]+[0-9]+[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.test4,[ ]*"aw"[ ]* +[ ]+[0-9]+[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.data,[ ]*"a"[ ]* +[ ]+[0-9]+[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.bss,[ ]*"a"[ ]* +[ ]+[0-9]+[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.data,[ ]*"aw",[ ]*%nobits[ ]* +[ ]+[0-9]+[ ]* +[ ]+[0-9]+[ ]+.section[ ]+.bss,[ ]*"aw",[ ]*%progbits[ ]* |