* 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 11c7d9ddd4abd19d0f444903949090819e410b68..05b127417b68440b3bda5487c7707a7544dbef63 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 f1c4f7a02500ef014e0e9c4b9c31a21ed895000e..4474f3614a4df23284ac08a76da5f75eb6c32e6d 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 82a1b4b2ff4241daaec29b847a85a26fa84499f4..ed547583d733b6a2cc10c1f768b75467f1add31d 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[    ]*