]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
ld/testsuite/ld-pe: Escape dots in regular expressions
authorLIU Hao <lh_mouse@126.com>
Mon, 31 Mar 2025 07:41:09 +0000 (15:41 +0800)
committerJan Beulich <jbeulich@suse.com>
Thu, 3 Apr 2025 07:18:03 +0000 (09:18 +0200)
Signed-off-by: LIU Hao <lh_mouse@126.com>
ld/ChangeLog:
* testsuite/ld-pe/secidx.d: Escape dots in regular expressions.

ld/testsuite/ld-pe/secidx.d

index 184cc9f05baae9ed361399b17b2a7c93977aead3..d0e52c96166670c94b545d1b0a1c58d5f7a748b6 100644 (file)
@@ -1,11 +1,11 @@
 
 tmpdir/secidx\.x: +file format pei-.*
 
-Contents of section .text:
+Contents of section \.text:
  .*1000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c  >>>><<<<>>>>><<<
  .*1010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c  >>>>>><<>>>>>>><
  .*1020 3c3c3c3c 3e3e3e3e 3e909090           <<<<>>>>>...    
-Contents of section .data:
+Contents of section \.data:
  .*2000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c  >>>><<<<>>>>><<<
  .*2010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c  >>>>>><<>>>>>>><
  .*2020 3e3e3e3e 01001101 00110100 11010011  >>>>............
@@ -15,13 +15,13 @@ Contents of section .data:
  .*2060 3c3c3c3c 3c3c3c3c 3e3e3e3e 01001102  <<<<<<<<>>>>....
  .*2070 00110300 113c3c3c 3c3c3c3c 3c000000  .....<<<<<<<<...
  .*2080 3c3c3c3e 3e3e3e3e 3e000000           <<<>>>>>>...    
-Contents of section .rdata:
+Contents of section \.rdata:
  .*3000 3e3e3e3e 3c3c3c3c 3e3e3e3e 3e3c3c3c  >>>><<<<>>>>><<<
  .*3010 3e3e3e3e 3e3e3c3c 3e3e3e3e 3e3e3e3c  >>>>>><<>>>>>>><
  .*3020 3e3e3e3e 00000000 00000000 00000000  >>>>............
  .*3030 3c3c3c3e 3e3e3e3e 3e000000 ffffffff  <<<>>>>>>.......
  .*3040 00000000 ffffffff 00000000           ............    
-Contents of section .idata:
+Contents of section \.idata:
  .*4000 00000000 00000000 00000000 00000000  ................
  .*4010 00000000                             ....            
 #...