* gas/elf/section5.e, gas/elf/section5.l: Replace [:digit:],
authorHans-Peter Nilsson <hp@axis.com>
Tue, 21 Dec 2004 13:09:55 +0000 (13:09 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 21 Dec 2004 13:09:55 +0000 (13:09 +0000)
[: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.

gas/testsuite/ChangeLog
gas/testsuite/gas/elf/section5.e
gas/testsuite/gas/elf/section5.l

index 11c7d9d..05b1274 100644 (file)
@@ -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
index f1c4f7a..4474f36 100644 (file)
@@ -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]+.*
index 82a1b4b..ed54758 100644 (file)
 .*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[    ]*