]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - binutils/testsuite/binutils-all/x86-64/compressed-1b.d
Don't hardcode offset of .shstrtab section
[thirdparty/binutils-gdb.git] / binutils / testsuite / binutils-all / x86-64 / compressed-1b.d
index ed5a45eddb2b055c391000457bf123f58acb208a..f55efacc53fc869c4566076d4dd3a0d160163d66 100644 (file)
@@ -5,7 +5,7 @@
 #readelf: -S --wide
 #name: strip on uncompressed debug sections
 
-There are 5 section headers, starting at offset 0x78:
+There are 5 section headers, starting at offset 0x[0-9a-f]+:
 
 Section Headers:
   \[Nr\] Name              Type            Address          Off    Size   ES Flg Lk Inf Al
@@ -13,6 +13,6 @@ Section Headers:
   \[ 1\] .text             PROGBITS        0000000000000000 000040 000015 00  AX  0   0 16
   \[ 2\] .data             PROGBITS        0000000000000000 000055 000000 00  WA  0   0  1
   \[ 3\] .bss              NOBITS          0000000000000000 000055 000000 00  WA  0   0  1
-  \[ 4\] .shstrtab         STRTAB          0000000000000000 000055 00001c 00      0   0  1
+  \[ 4\] .shstrtab         STRTAB          0000000000000000 [0-9a-f]+ 00001c 00      0   0  1
 Key to Flags:
 #...