aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/testsuite/ChangeLog9
-rw-r--r--binutils/testsuite/binutils-all/i386/compressed-1b.d4
-rw-r--r--binutils/testsuite/binutils-all/i386/compressed-1c.d4
-rw-r--r--binutils/testsuite/binutils-all/readelf.s-642
-rw-r--r--binutils/testsuite/binutils-all/x86-64/compressed-1b.d4
-rw-r--r--binutils/testsuite/binutils-all/x86-64/compressed-1c.d4
-rw-r--r--gas/testsuite/ChangeLog22
-rw-r--r--gas/testsuite/gas/i386/ilp32/x86-64-unwind.d8
-rw-r--r--gas/testsuite/gas/i386/x86-64-unwind.d8
-rw-r--r--gas/testsuite/gas/ia64/alias-ilp32.d2
-rw-r--r--gas/testsuite/gas/ia64/alias.d2
-rw-r--r--gas/testsuite/gas/ia64/group-1.d2
-rw-r--r--gas/testsuite/gas/ia64/group-2.d2
-rw-r--r--gas/testsuite/gas/ia64/secname-ilp32.d2
-rw-r--r--gas/testsuite/gas/ia64/secname.d2
-rw-r--r--gas/testsuite/gas/ia64/unwind-ilp32.d2
-rw-r--r--gas/testsuite/gas/ia64/unwind.d2
-rw-r--r--gas/testsuite/gas/mmix/bspec-1.d2
-rw-r--r--gas/testsuite/gas/mmix/byte-1.d2
-rw-r--r--gas/testsuite/gas/mmix/loc-1.d2
-rw-r--r--gas/testsuite/gas/mmix/loc-2.d2
-rw-r--r--gas/testsuite/gas/mmix/loc-3.d2
-rw-r--r--gas/testsuite/gas/mmix/loc-4.d2
-rw-r--r--gas/testsuite/gas/mmix/loc-5.d2
-rw-r--r--gas/testsuite/gas/tic6x/scomm-directive-4.d2
-rw-r--r--ld/testsuite/ChangeLog29
-rw-r--r--ld/testsuite/ld-mmix/bspec1.d2
-rw-r--r--ld/testsuite/ld-mmix/bspec2.d2
-rw-r--r--ld/testsuite/ld-mmix/local1.d2
-rw-r--r--ld/testsuite/ld-mmix/local3.d2
-rw-r--r--ld/testsuite/ld-mmix/local5.d2
-rw-r--r--ld/testsuite/ld-mmix/local7.d2
-rw-r--r--ld/testsuite/ld-mmix/undef-3.d2
-rw-r--r--ld/testsuite/ld-sh/sh64/crangerel1.rd2
-rw-r--r--ld/testsuite/ld-sh/sh64/crangerel2.rd2
-rw-r--r--ld/testsuite/ld-tic6x/common.d2
-rw-r--r--ld/testsuite/ld-tic6x/shlib-1.rd2
-rw-r--r--ld/testsuite/ld-tic6x/shlib-1b.rd2
-rw-r--r--ld/testsuite/ld-tic6x/shlib-1r.rd2
-rw-r--r--ld/testsuite/ld-tic6x/shlib-1rb.rd2
-rw-r--r--ld/testsuite/ld-tic6x/shlib-app-1.rd2
-rw-r--r--ld/testsuite/ld-tic6x/shlib-app-1b.rd2
-rw-r--r--ld/testsuite/ld-tic6x/shlib-app-1r.rd2
-rw-r--r--ld/testsuite/ld-tic6x/shlib-app-1rb.rd2
-rw-r--r--ld/testsuite/ld-tic6x/shlib-noindex.rd2
-rw-r--r--ld/testsuite/ld-tic6x/static-app-1.rd2
-rw-r--r--ld/testsuite/ld-tic6x/static-app-1b.rd2
-rw-r--r--ld/testsuite/ld-tic6x/static-app-1r.rd2
-rw-r--r--ld/testsuite/ld-tic6x/static-app-1rb.rd2
-rw-r--r--ld/testsuite/ld-x86-64/ilp32-4.d2
-rw-r--r--ld/testsuite/ld-x86-64/split-by-file-nacl.rd2
-rw-r--r--ld/testsuite/ld-x86-64/split-by-file.rd2
52 files changed, 119 insertions, 59 deletions
diff --git a/binutils/testsuite/ChangeLog b/binutils/testsuite/ChangeLog
index b97f412..066aa7e 100644
--- a/binutils/testsuite/ChangeLog
+++ b/binutils/testsuite/ChangeLog
@@ -1,3 +1,12 @@
+2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * binutils-all/i386/compressed-1b.d: Don't hardcode offset of
+ .shstrtab section.
+ * binutils-all/i386/compressed-1c.d: Likewise.
+ * binutils-all/readelf.s-64: Likewise.
+ * binutils-all/x86-64/compressed-1b.d: Likewise.
+ * binutils-all/x86-64/compressed-1c.d: Likewise.
+
2015-04-08 H.J. Lu <hongjiu.lu@intel.com>
* compress.exp: Add tests for
diff --git a/binutils/testsuite/binutils-all/i386/compressed-1b.d b/binutils/testsuite/binutils-all/i386/compressed-1b.d
index 8cc9653..40bd5e6 100644
--- a/binutils/testsuite/binutils-all/i386/compressed-1b.d
+++ b/binutils/testsuite/binutils-all/i386/compressed-1b.d
@@ -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 Addr Off Size ES Flg Lk Inf Al
@@ -13,6 +13,6 @@ Section Headers:
\[ 1\] .text PROGBITS 00000000 000040 00001b 00 AX 0 0 16
\[ 2\] .data PROGBITS 00000000 00005b 000000 00 WA 0 0 1
\[ 3\] .bss NOBITS 00000000 00005b 000000 00 WA 0 0 1
- \[ 4\] .shstrtab STRTAB 00000000 00005b 00001c 00 0 0 1
+ \[ 4\] .shstrtab STRTAB 00000000 [0-9a-f]+ 00001c 00 0 0 1
Key to Flags:
#...
diff --git a/binutils/testsuite/binutils-all/i386/compressed-1c.d b/binutils/testsuite/binutils-all/i386/compressed-1c.d
index f05380f..1f46e3c 100644
--- a/binutils/testsuite/binutils-all/i386/compressed-1c.d
+++ b/binutils/testsuite/binutils-all/i386/compressed-1c.d
@@ -5,7 +5,7 @@
#readelf: -S --wide
#name: strip on compressed 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 Addr Off Size ES Flg Lk Inf Al
@@ -13,6 +13,6 @@ Section Headers:
\[ 1\] .text PROGBITS 00000000 000040 00001b 00 AX 0 0 16
\[ 2\] .data PROGBITS 00000000 00005b 000000 00 WA 0 0 1
\[ 3\] .bss NOBITS 00000000 00005b 000000 00 WA 0 0 1
- \[ 4\] .shstrtab STRTAB 00000000 00005b 00001c 00 0 0 1
+ \[ 4\] .shstrtab STRTAB 00000000 [0-9a-f]+ 00001c 00 0 0 1
Key to Flags:
#...
diff --git a/binutils/testsuite/binutils-all/readelf.s-64 b/binutils/testsuite/binutils-all/readelf.s-64
index acebab9..40b1f5a 100644
--- a/binutils/testsuite/binutils-all/readelf.s-64
+++ b/binutils/testsuite/binutils-all/readelf.s-64
@@ -13,7 +13,7 @@ Section Headers:
+000000000000000[48] +0000000000000000 +WA +0 +0 +.*
+\[ 4\] .bss +NOBITS +0000000000000000 +000000(4c|50|54|58)
+0000000000000000 +0000000000000000 +WA +0 +0 +.*
- +\[ 5\] .shstrtab +STRTAB +0000000000000000 +000000(4c|50|54|58)
+ +\[ 5\] .shstrtab +STRTAB +0000000000000000 +[0-9a-f]+
+00000000000000.. +0000000000000000 +0 +0 +.*
+\[ 6\] .symtab +SYMTAB +0000000000000000 +0+.*
# aarch64-elf targets have one more data symbol.
diff --git a/binutils/testsuite/binutils-all/x86-64/compressed-1b.d b/binutils/testsuite/binutils-all/x86-64/compressed-1b.d
index ed5a45e..f55efac 100644
--- a/binutils/testsuite/binutils-all/x86-64/compressed-1b.d
+++ b/binutils/testsuite/binutils-all/x86-64/compressed-1b.d
@@ -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:
#...
diff --git a/binutils/testsuite/binutils-all/x86-64/compressed-1c.d b/binutils/testsuite/binutils-all/x86-64/compressed-1c.d
index a0308c8..bb8f6e3 100644
--- a/binutils/testsuite/binutils-all/x86-64/compressed-1c.d
+++ b/binutils/testsuite/binutils-all/x86-64/compressed-1c.d
@@ -5,7 +5,7 @@
#readelf: -S --wide
#name: strip on compressed 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:
#...
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 5fa02ac..2690770 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,25 @@
+2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * gas/i386/ilp32/x86-64-unwind.d: Don't hardcode offset of
+ .shstrtab section.
+ * gas/i386/x86-64-unwind.d: Likewise.
+ * gas/ia64/alias-ilp32.d: Likewise.
+ * gas/ia64/alias.d: Likewise.
+ * gas/ia64/group-1.d: Likewise.
+ * gas/ia64/group-2.d: Likewise.
+ * gas/ia64/secname-ilp32.d: Likewise.
+ * gas/ia64/secname.d: Likewise.
+ * gas/ia64/unwind-ilp32.d: Likewise.
+ * gas/ia64/unwind.d: Likewise.
+ * gas/mmix/bspec-1.d: Likewise.
+ * gas/mmix/byte-1.d: Likewise.
+ * gas/mmix/loc-1.d: Likewise.
+ * gas/mmix/loc-2.d: Likewise.
+ * gas/mmix/loc-3.d: Likewise.
+ * gas/mmix/loc-4.d: Likewise.
+ * gas/mmix/loc-5.d: Likewise.
+ * gas/tic6x/scomm-directive-4.d: Likewise.
+
2015-04-15 H.J. Lu <hongjiu.lu@intel.com>
PR binutils/17898
diff --git a/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d b/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
index f2c045f..4f6f155 100644
--- a/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
+++ b/gas/testsuite/gas/i386/ilp32/x86-64-unwind.d
@@ -2,7 +2,7 @@
#readelf: -S
#name: x86-64 (ILP32) unwind
-There are 8 section headers, starting at offset 0xc8:
+There are 8 section headers, starting at offset 0x[0-9a-f]+:
Section Headers:
\[Nr\] Name Type Addr Off Size ES Flg Lk Inf Al
@@ -11,9 +11,9 @@ Section Headers:
\[ 2\] .data PROGBITS 00000000 000034 000000 00 WA 0 0 1
\[ 3\] .bss NOBITS 00000000 000034 000000 00 WA 0 0 1
\[ 4\] .eh_frame X86_64_UNWIND 00000000 000034 000008 00 A 0 0 1
- \[ 5\] .shstrtab STRTAB 00000000 00003c 000036 00 0 0 1
- \[ 6\] .symtab SYMTAB 00000000 000074 000050 10 7 5 4
- \[ 7\] .strtab STRTAB 00000000 0000c4 000001 00 0 0 1
+ \[ 5\] .shstrtab STRTAB 00000000 [0-9a-f]+ 000036 00 0 0 1
+ \[ 6\] .symtab SYMTAB 00000000 [0-9a-f]+ 000050 10 7 5 4
+ \[ 7\] .strtab STRTAB 00000000 [0-9a-f]+ 000001 00 0 0 1
Key to Flags:
W \(write\), A \(alloc\), X \(execute\), M \(merge\), S \(strings\), l \(large\)
I \(info\), L \(link order\), G \(group\), T \(TLS\), E \(exclude\), x \(unknown\)
diff --git a/gas/testsuite/gas/i386/x86-64-unwind.d b/gas/testsuite/gas/i386/x86-64-unwind.d
index 7842597..613760f 100644
--- a/gas/testsuite/gas/i386/x86-64-unwind.d
+++ b/gas/testsuite/gas/i386/x86-64-unwind.d
@@ -1,7 +1,7 @@
#readelf: -S
#name: x86-64 unwind
-There are 8 section headers, starting at offset 0x100:
+There are 8 section headers, starting at offset 0x[0-9a-f]+:
Section Headers:
\[Nr\] Name Type Address Offset
@@ -16,11 +16,11 @@ Section Headers:
0000000000000000 0000000000000000 WA 0 0 1
\[ 4\] \.eh_frame X86_64_UNWIND 0000000000000000 00000040
0000000000000008 0000000000000000 A 0 0 1
- \[ 5\] \.shstrtab STRTAB 0000000000000000 00000048
+ \[ 5\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+
0000000000000036 0000000000000000 0 0 1
- \[ 6\] \.symtab SYMTAB 0000000000000000 00000080
+ \[ 6\] \.symtab SYMTAB 0000000000000000 [0-9a-f]+
0000000000000078 0000000000000018 7 5 8
- \[ 7\] \.strtab STRTAB 0000000000000000 000000f8
+ \[ 7\] \.strtab STRTAB 0000000000000000 [0-9a-f]+
0000000000000001 0000000000000000 0 0 1
Key to Flags:
#...
diff --git a/gas/testsuite/gas/ia64/alias-ilp32.d b/gas/testsuite/gas/ia64/alias-ilp32.d
index 8dbb7d8..d882b3c 100644
--- a/gas/testsuite/gas/ia64/alias-ilp32.d
+++ b/gas/testsuite/gas/ia64/alias-ilp32.d
@@ -12,7 +12,7 @@ Section Headers:
+\[ 2\] .data +PROGBITS +00000000 000040 000000 00 +WA +0 +0 +1
+\[ 3\] .bss +NOBITS +00000000 000040 000000 00 +WA +0 +0 +1
+\[ 4\] 1234 +PROGBITS +00000000 000040 000005 00 +WA +0 +0 +1
- +\[ 5\] .shstrtab +STRTAB +00000000 000045 000031 00 +0 +0 +1
+ +\[ 5\] .shstrtab +STRTAB +00000000 [0-9a-f]+ 000031 00 +0 +0 +1
+\[ 6\] .symtab +SYMTAB +00000000 [0-9a-f]+ 000060 10 +7 +6 +4
+\[ 7\] .strtab +STRTAB +00000000 [0-9a-f]+ 000006 00 +0 +0 +1
Key to Flags:
diff --git a/gas/testsuite/gas/ia64/alias.d b/gas/testsuite/gas/ia64/alias.d
index 833e07e..398bff4 100644
--- a/gas/testsuite/gas/ia64/alias.d
+++ b/gas/testsuite/gas/ia64/alias.d
@@ -16,7 +16,7 @@ Section Headers:
+0000000000000000 +0000000000000000 +WA +0 +0 +1
+\[ 4\] 1234 +PROGBITS +0000000000000000 +00000040
+0000000000000005 +0000000000000000 +WA +0 +0 +1
- +\[ 5\] \.shstrtab +STRTAB +0000000000000000 +00000045
+ +\[ 5\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+
+0000000000000031 +0000000000000000 +0 +0 +1
+\[ 6\] \.symtab +SYMTAB +0000000000000000 .*
+0000000000000090 +0000000000000018 +7 +6 +8
diff --git a/gas/testsuite/gas/ia64/group-1.d b/gas/testsuite/gas/ia64/group-1.d
index 3a20e5a..3ae3c80 100644
--- a/gas/testsuite/gas/ia64/group-1.d
+++ b/gas/testsuite/gas/ia64/group-1.d
@@ -18,7 +18,7 @@ Section Headers:
0000000000000000 0000000000000000 WA 0 0 1
\[ 5\] \.text PROGBITS 0000000000000000 00000050
0000000000000010 0000000000000000 AXG 0 0 16
- \[ 6\] \.shstrtab STRTAB 0000000000000000 00000060
+ \[ 6\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+
0000000000000033 0000000000000000 0 0 1
\[ 7\] \.symtab SYMTAB 0000000000000000 .*
00000000000000c0 0000000000000018 8 8 8
diff --git a/gas/testsuite/gas/ia64/group-2.d b/gas/testsuite/gas/ia64/group-2.d
index 205bd6b..7370367 100644
--- a/gas/testsuite/gas/ia64/group-2.d
+++ b/gas/testsuite/gas/ia64/group-2.d
@@ -25,7 +25,7 @@ Section Headers:
0000000000000018 0000000000000000 ALG 5 5 8
\[ 8\] \.rela\.gnu\.linkonc RELA 0000000000000000 .*
0000000000000048 0000000000000018 I 10 7 8
- \[ 9\] \.shstrtab STRTAB 0000000000000000 00000078
+ \[ 9\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+
0000000000000081 0000000000000000 0 0 1
\[10\] \.symtab SYMTAB 0000000000000000 .*
00000000000000d8 0000000000000018 11 9 8
diff --git a/gas/testsuite/gas/ia64/secname-ilp32.d b/gas/testsuite/gas/ia64/secname-ilp32.d
index e1cf066..4146307 100644
--- a/gas/testsuite/gas/ia64/secname-ilp32.d
+++ b/gas/testsuite/gas/ia64/secname-ilp32.d
@@ -12,7 +12,7 @@ Section Headers:
\[ 2\] .data PROGBITS 00000000 000040 000000 00 WA 0 0 1
\[ 3\] .bss NOBITS 00000000 000040 000000 00 WA 0 0 1
\[ 4\] .foo PROGBITS 00000000 000040 000008 00 WA 0 0 8
- \[ 5\] .shstrtab STRTAB 00000000 000048 000031 00 0 0 1
+ \[ 5\] .shstrtab STRTAB 00000000 [0-9a-f]+ 000031 00 0 0 1
\[ 6\] .symtab SYMTAB 00000000 [0-9a-f]+ 000050 10 7 5 4
\[ 7\] .strtab STRTAB 00000000 [0-9a-f]+ 000001 00 0 0 1
Key to Flags:
diff --git a/gas/testsuite/gas/ia64/secname.d b/gas/testsuite/gas/ia64/secname.d
index d77ac52..79f1e33 100644
--- a/gas/testsuite/gas/ia64/secname.d
+++ b/gas/testsuite/gas/ia64/secname.d
@@ -16,7 +16,7 @@ Section Headers:
0000000000000000 0000000000000000 WA 0 0 1
\[ 4\] \.foo PROGBITS 0000000000000000 00000040
0000000000000008 0000000000000000 WA 0 0 8
- \[ 5\] \.shstrtab STRTAB 0000000000000000 00000048
+ \[ 5\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+
0000000000000031 0000000000000000 0 0 1
\[ 6\] \.symtab SYMTAB 0000000000000000 .*
0000000000000078 0000000000000018 7 5 8
diff --git a/gas/testsuite/gas/ia64/unwind-ilp32.d b/gas/testsuite/gas/ia64/unwind-ilp32.d
index b263756..cd25b0d 100644
--- a/gas/testsuite/gas/ia64/unwind-ilp32.d
+++ b/gas/testsuite/gas/ia64/unwind-ilp32.d
@@ -13,7 +13,7 @@ Section Headers:
\[ 3\] .bss NOBITS 00000000 000040 000000 00 WA 0 0 1
\[ 4\] .IA_64.unwind_inf PROGBITS 00000000 000040 000008 00 A 0 0 8
\[ 5\] .IA_64.unwind IA_64_UNWIND 00000000 000048 000008 00 AL 1 1 8
- \[ 6\] .shstrtab STRTAB 00000000 000050 00004d 00 0 0 1
+ \[ 6\] .shstrtab STRTAB 00000000 [0-9a-f]+ 00004d 00 0 0 1
\[ 7\] .symtab SYMTAB 00000000 [0-9a-f]+ 000060 10 8 6 4
\[ 8\] .strtab STRTAB 00000000 [0-9a-f]+ 000001 00 0 0 1
Key to Flags:
diff --git a/gas/testsuite/gas/ia64/unwind.d b/gas/testsuite/gas/ia64/unwind.d
index e2bfdae..ce71a7a 100644
--- a/gas/testsuite/gas/ia64/unwind.d
+++ b/gas/testsuite/gas/ia64/unwind.d
@@ -18,7 +18,7 @@ Section Headers:
0000000000000008 0000000000000000 A 0 0 8
\[ 5\] \.IA_64\.unwind IA_64_UNWIND 0000000000000000 00000048
0000000000000008 0000000000000000 AL 1 1 8
- \[ 6\] \.shstrtab STRTAB 0000000000000000 00000050
+ \[ 6\] \.shstrtab STRTAB 0000000000000000 [0-9a-f]+
000000000000004d 0000000000000000 0 0 1
\[ 7\] \.symtab SYMTAB 0000000000000000 .*
0000000000000090 0000000000000018 8 6 8
diff --git a/gas/testsuite/gas/mmix/bspec-1.d b/gas/testsuite/gas/mmix/bspec-1.d
index 63d9d62..a18d242 100644
--- a/gas/testsuite/gas/mmix/bspec-1.d
+++ b/gas/testsuite/gas/mmix/bspec-1.d
@@ -6,7 +6,7 @@ There are 9 section headers, starting at offset .*:
+\[ 5\] \.rela\.MMIX\.spec_d +RELA +0+ +.*
+0+18 +0+18 +I +7 +4 +8
#...
-Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x... contains 1 entries:
+Relocation section '\.rela\.MMIX\.spec_data\.2' at offset 0x[0-9a-f]+ contains 1 entries:
.*
0+ +0+500000004 R_MMIX_32 +0+ +forw +\+ 0
diff --git a/gas/testsuite/gas/mmix/byte-1.d b/gas/testsuite/gas/mmix/byte-1.d
index 0882ba5..b6c2768 100644
--- a/gas/testsuite/gas/mmix/byte-1.d
+++ b/gas/testsuite/gas/mmix/byte-1.d
@@ -12,7 +12,7 @@ Section Headers:
+0000000000000000 +0000000000000000 +WA +0 +0 +1
+\[ 3\] \.bss +NOBITS +0000000000000000 +00000056
+0000000000000000 +0000000000000000 +WA +0 +0 +1
- +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +00000056
+ +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+
+000000000000002c +0000000000000000 +0 +0 +1
+\[ 5\] \.symtab +SYMTAB +0000000000000000 .*
+00000000000000c0 +0000000000000018 +6 +7 +8
diff --git a/gas/testsuite/gas/mmix/loc-1.d b/gas/testsuite/gas/mmix/loc-1.d
index 31d6465..e45b1d5 100644
--- a/gas/testsuite/gas/mmix/loc-1.d
+++ b/gas/testsuite/gas/mmix/loc-1.d
@@ -13,7 +13,7 @@ Section Headers:
+0000000000000004 +0000000000000000 +WA +0 +0 +4
+\[ 3\] \.bss +NOBITS +0000000000000000 +00000064
+0000000000000000 +0000000000000000 +WA +0 +0 +1
- +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +00000064
+ +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+
+000000000000002c +0000000000000000 +0 +0 +1
+\[ 5\] \.symtab +SYMTAB +0000000000000000 .*
+00000000000000c0 +0000000000000018 +6 +6 +8
diff --git a/gas/testsuite/gas/mmix/loc-2.d b/gas/testsuite/gas/mmix/loc-2.d
index de7e5c5..b92cabb 100644
--- a/gas/testsuite/gas/mmix/loc-2.d
+++ b/gas/testsuite/gas/mmix/loc-2.d
@@ -13,7 +13,7 @@ Section Headers:
+0000000000000000 +0000000000000000 +WA +0 +0 +1
+\[ 3\] \.bss +NOBITS +0000000000000000 +00000048
+0000000000000000 +0000000000000000 +WA +0 +0 +1
- +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +00000048
+ +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+
+000000000000002c +0000000000000000 +0 +0 +1
+\[ 5\] \.symtab +SYMTAB +0000000000000000 .*
+0000000000000090 +0000000000000018 +6 +4 +8
diff --git a/gas/testsuite/gas/mmix/loc-3.d b/gas/testsuite/gas/mmix/loc-3.d
index a481efd..1191084 100644
--- a/gas/testsuite/gas/mmix/loc-3.d
+++ b/gas/testsuite/gas/mmix/loc-3.d
@@ -12,7 +12,7 @@ Section Headers:
+0000000000000008 +0000000000000000 +WA +0 +0 +4
+\[ 3\] \.bss +NOBITS +0000000000000000 +00000054
+0000000000000000 +0000000000000000 +WA +0 +0 +1
- +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +00000054
+ +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+
+000000000000002c +0000000000000000 +0 +0 +1
+\[ 5\] \.symtab +SYMTAB +0000000000000000 .*
+00000000000000c0 +0000000000000018 +6 +5 +8
diff --git a/gas/testsuite/gas/mmix/loc-4.d b/gas/testsuite/gas/mmix/loc-4.d
index 2e74514..1efc084 100644
--- a/gas/testsuite/gas/mmix/loc-4.d
+++ b/gas/testsuite/gas/mmix/loc-4.d
@@ -12,7 +12,7 @@ Section Headers:
+0000000000000004 +0000000000000000 +WA +0 +0 +4
+\[ 3\] \.bss +NOBITS +0000000000000000 +0000005c
+0000000000000000 +0000000000000000 +WA +0 +0 +1
- +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +0000005c
+ +\[ 4\] \.shstrtab +STRTAB +0000000000000000 +[0-9a-f]+
+000000000000002c +0000000000000000 +0 +0 +1
+\[ 5\] \.symtab +SYMTAB +0000000000000000 .*
+00000000000000c0 +0000000000000018 +6 +5 +8
diff --git a/gas/testsuite/gas/mmix/loc-5.d b/gas/testsuite/gas/mmix/loc-5.d
index c5abf78..eec81ad 100644
--- a/gas/testsuite/gas/mmix/loc-5.d
+++ b/gas/testsuite/gas/mmix/loc-5.d
@@ -12,7 +12,7 @@ Section Headers:
+0+24 +0+ +WA +0 +0 +4
+\[ 3\] \.bss +NOBITS +0+ +0+6c
+0+ +0+ +WA +0 +0 +1
- +\[ 4\] \.shstrtab +STRTAB +0+ +0+6c
+ +\[ 4\] \.shstrtab +STRTAB +0+ +[0-9a-f]+
+0+2c +0+ +0 +0 +1
+\[ 5\] \.symtab +SYMTAB +0+ .*
+0+c0 +0+18 +6 +6 +8
diff --git a/gas/testsuite/gas/tic6x/scomm-directive-4.d b/gas/testsuite/gas/tic6x/scomm-directive-4.d
index 1be90d0..18497ec 100644
--- a/gas/testsuite/gas/tic6x/scomm-directive-4.d
+++ b/gas/testsuite/gas/tic6x/scomm-directive-4.d
@@ -12,7 +12,7 @@ Section Headers:
\[ 2\] \.data PROGBITS 00000000 000034 000000 00 WA 0 0 1
\[ 3\] \.bss NOBITS 00000000 000034 000000 00 WA 0 0 1
\[ 4\] \.c6xabi\.attribute C6000_ATTRIBUTE 00000000 000034 000013 00 0 0 1
- \[ 5\] \.shstrtab STRTAB 00000000 000047 00003f 00 0 0 1
+ \[ 5\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00003f 00 0 0 1
\[ 6\] \.symtab SYMTAB 00000000 [0-9a-f]+ 0000d0 10 7 5 4
\[ 7\] \.strtab STRTAB 00000000 [0-9a-f]+ 00001d 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 54ae0ae..240a444 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,32 @@
+2015-04-20 H.J. Lu <hongjiu.lu@intel.com>
+
+ * ld-mmix/bspec1.d: Don't hardcode offset of .shstrtab section.
+ * ld-mmix/bspec2.d: Likewise.
+ * ld-mmix/local1.d: Likewise.
+ * ld-mmix/local3.d: Likewise.
+ * ld-mmix/local5.d: Likewise.
+ * ld-mmix/local7.d: Likewise.
+ * ld-mmix/undef-3.d: Likewise.
+ * ld-sh/sh64/crangerel1.rd: Likewise.
+ * ld-sh/sh64/crangerel2.rd: Likewise.
+ * ld-tic6x/common.d: Likewise.
+ * ld-tic6x/shlib-1.rd: Likewise.
+ * ld-tic6x/shlib-1b.rd: Likewise.
+ * ld-tic6x/shlib-1r.rd: Likewise.
+ * ld-tic6x/shlib-1rb.rd: Likewise.
+ * ld-tic6x/shlib-app-1.rd: Likewise.
+ * ld-tic6x/shlib-app-1b.rd: Likewise.
+ * ld-tic6x/shlib-app-1r.rd: Likewise.
+ * ld-tic6x/shlib-app-1rb.rd: Likewise.
+ * ld-tic6x/shlib-noindex.rd: Likewise.
+ * ld-tic6x/static-app-1.rd: Likewise.
+ * ld-tic6x/static-app-1b.rd: Likewise.
+ * ld-tic6x/static-app-1r.rd: Likewise.
+ * ld-tic6x/static-app-1rb.rd: Likewise.
+ * ld-x86-64/ilp32-4.d: Likewise.
+ * ld-x86-64/split-by-file-nacl.rd: Likewise.
+ * ld-x86-64/split-by-file.rd: Likewise.
+
2015-04-14 H.J. Lu <hongjiu.lu@intel.com>
* ld-elf/compress.exp (build_tests): Add tests for
diff --git a/ld/testsuite/ld-mmix/bspec1.d b/ld/testsuite/ld-mmix/bspec1.d
index cc5b7fd..784ed55 100644
--- a/ld/testsuite/ld-mmix/bspec1.d
+++ b/ld/testsuite/ld-mmix/bspec1.d
@@ -14,7 +14,7 @@ Section Headers:
+0+4 +0+ +AX +0 +0 +4
+\[ 2\] \.MMIX\.spec_data\.2 PROGBITS +0+ +0+7c
+0+4 +0+ +0 +0 +4
- +\[ 3\] \.shstrtab +STRTAB +0+ +0+80
+ +\[ 3\] \.shstrtab +STRTAB +0+ +[0-9a-f]+
+0+33 +0+ +0 +0 +1
+\[ 4\] \.symtab +SYMTAB +0+ .*
+0+d8 +0+18 +5 +3 +8
diff --git a/ld/testsuite/ld-mmix/bspec2.d b/ld/testsuite/ld-mmix/bspec2.d
index 2f61c08..85d847d 100644
--- a/ld/testsuite/ld-mmix/bspec2.d
+++ b/ld/testsuite/ld-mmix/bspec2.d
@@ -19,7 +19,7 @@ Section Headers:
+0+8 +0+ +0 +0 +4
+\[ 3\] \.MMIX\.spec_data\.3 PROGBITS +0+ +0+84
+0+4 +0+ +0 +0 +4
- +\[ 4\] \.shstrtab +STRTAB +0+ +0+88
+ +\[ 4\] \.shstrtab +STRTAB +0+ +[0-9a-f]+
+0+45 +0+ +0 +0 +1
+\[ 5\] \.symtab +SYMTAB +0+ .*
+0+108 +0+18 +6 +4 +8
diff --git a/ld/testsuite/ld-mmix/local1.d b/ld/testsuite/ld-mmix/local1.d
index ab91710..478d17b 100644
--- a/ld/testsuite/ld-mmix/local1.d
+++ b/ld/testsuite/ld-mmix/local1.d
@@ -21,7 +21,7 @@ Section Headers:
+0+8 +0+ +AX +0 +0 +4
+\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+80
+0+10 +0+ +W +0 +0 +1
- +\[ 3\] \.shstrtab +STRTAB +0+ +0+90
+ +\[ 3\] \.shstrtab +STRTAB +0+ +[0-9a-f]+
+0+34 +0+ +0 +0 +1
+\[ 4\] \.symtab +SYMTAB +0+ +[0-9a-f]+
+[0-9a-f]+ +0+18 +5 +[0-9] +8
diff --git a/ld/testsuite/ld-mmix/local3.d b/ld/testsuite/ld-mmix/local3.d
index efcef6d..9b9001a 100644
--- a/ld/testsuite/ld-mmix/local3.d
+++ b/ld/testsuite/ld-mmix/local3.d
@@ -19,7 +19,7 @@ Section Headers:
+0+8 +0+ +AX +0 +0 +4
+\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+80
+0+10 +0+ +W +0 +0 +1
- +\[ 3\] \.shstrtab +STRTAB +0+ +0+90
+ +\[ 3\] \.shstrtab +STRTAB +0+ +[0-9a-f]+
+0+34 +0+ +0 +0 +1
+\[ 4\] \.symtab +SYMTAB +0+ +[0-9a-f]+
+[0-9a-f]+ +0+18 +5 +[0-9] +8
diff --git a/ld/testsuite/ld-mmix/local5.d b/ld/testsuite/ld-mmix/local5.d
index a89b9af..93bacd3 100644
--- a/ld/testsuite/ld-mmix/local5.d
+++ b/ld/testsuite/ld-mmix/local5.d
@@ -20,7 +20,7 @@ Section Headers:
+0+c +0+ +AX +0 +0 +4
+\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+84
+0+10 +0+ +W +0 +0 +1
- +\[ 3\] \.shstrtab +STRTAB +0+ +0+94
+ +\[ 3\] \.shstrtab +STRTAB +0+ +[0-9a-f]+
+0+34 +0+ +0 +0 +1
+\[ 4\] \.symtab +SYMTAB +0+ +[0-9a-f]+
+[0-9a-f]+ +0+18 +5 +[0-9] +8
diff --git a/ld/testsuite/ld-mmix/local7.d b/ld/testsuite/ld-mmix/local7.d
index cd6a4a7..1495bf1 100644
--- a/ld/testsuite/ld-mmix/local7.d
+++ b/ld/testsuite/ld-mmix/local7.d
@@ -21,7 +21,7 @@ Section Headers:
+0+c +0+ +AX +0 +0 +4
+\[ 2\] \.MMIX\.reg_content PROGBITS +0+7e8 +0+84
+0+10 +0+ +W +0 +0 +1
- +\[ 3\] \.shstrtab +STRTAB +0+ +0+94
+ +\[ 3\] \.shstrtab +STRTAB +0+ +[0-9a-f]+
+0+34 +0+ +0 +0 +1
+\[ 4\] \.symtab +SYMTAB +0+ +[0-9a-f]+
+[0-9a-f]+ +0+18 +5 +[0-9] +8
diff --git a/ld/testsuite/ld-mmix/undef-3.d b/ld/testsuite/ld-mmix/undef-3.d
index 8fbf304..c0352a6 100644
--- a/ld/testsuite/ld-mmix/undef-3.d
+++ b/ld/testsuite/ld-mmix/undef-3.d
@@ -11,7 +11,7 @@ Section Headers:
+0+ +0+ +0 +0 +0
+\[ 1\] \.text +PROGBITS +0+ +0+78
+0+4 +0+ +AX +0 +0 +4
- +\[ 2\] \.shstrtab +STRTAB +0+ +0+7c
+ +\[ 2\] \.shstrtab +STRTAB +0+ +[0-9a-f]+
+0+21 +0+ +0 +0 +1
+\[ 3\] \.symtab +SYMTAB +0+ .*
+0+a8 +0+18 +4 +2 +8
diff --git a/ld/testsuite/ld-sh/sh64/crangerel1.rd b/ld/testsuite/ld-sh/sh64/crangerel1.rd
index fe0924e..90d71c5 100644
--- a/ld/testsuite/ld-sh/sh64/crangerel1.rd
+++ b/ld/testsuite/ld-sh/sh64/crangerel1.rd
@@ -10,7 +10,7 @@ Section Headers:
+\[ 5\] \.stack +PROGBITS +00000000 00004c 000004 00 +WA +0 +0 +1
+\[ 6\] \.cranges +PROGBITS +00000000 000050 00001e 00 +W +0 +0 +1
+\[ 7\] \.rela\.cranges +RELA +00000000 [0-9a-f]+ 000024 0c +I +9 +6 +4
- +\[ 8\] \.shstrtab +STRTAB +00000000 00006e 00004d 00 +0 +0 +1
+ +\[ 8\] \.shstrtab +STRTAB +00000000 [0-9a-f]+ 00004d 00 +0 +0 +1
+\[ 9\] \.symtab +SYMTAB .*
+\[10\] \.strtab +STRTAB .*
Key to Flags:
diff --git a/ld/testsuite/ld-sh/sh64/crangerel2.rd b/ld/testsuite/ld-sh/sh64/crangerel2.rd
index e343d3d..2daede7 100644
--- a/ld/testsuite/ld-sh/sh64/crangerel2.rd
+++ b/ld/testsuite/ld-sh/sh64/crangerel2.rd
@@ -10,7 +10,7 @@ Section Headers:
+\[ 5\] \.stack +PROGBITS +00000000 000090 000004 00 +WA +0 +0 +1
+\[ 6\] \.cranges +PROGBITS +00000000 000094 000046 00 +W +0 +0 +1
+\[ 7\] \.rela\.cranges +RELA +00000000 [0-9a-f]+ 000054 0c +I +9 +6 +4
- +\[ 8\] \.shstrtab +STRTAB +00000000 0000da 00004d 00 +0 +0 +1
+ +\[ 8\] \.shstrtab +STRTAB +00000000 [0-9a-f]+ 00004d 00 +0 +0 +1
+\[ 9\] \.symtab +SYMTAB +00000000 [0-9a-f]+ [0-9a-f]+ 10 +10 +[0-9]+ +4
+\[10\] \.strtab +STRTAB +00000000 [0-9a-f]+ [0-9a-f]+ 00 +0 +0 +1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/common.d b/ld/testsuite/ld-tic6x/common.d
index 3a3942c..83f533d 100644
--- a/ld/testsuite/ld-tic6x/common.d
+++ b/ld/testsuite/ld-tic6x/common.d
@@ -11,7 +11,7 @@ Section Headers:
\[ 0\] NULL 00000000 000000 000000 00 0 0 0
\[ 1\] \.far NOBITS 00000080 000080 000008 00 WA 0 0 4
\[ 2\] \.bss NOBITS 00000100 000080 000004 00 WA 0 0 4
- \[ 3\] \.shstrtab STRTAB 00000000 000054 000025 00 0 0 1
+ \[ 3\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000025 00 0 0 1
\[ 4\] \.symtab SYMTAB 00000000 [0-9a-f]+ 000050 10 5 3 4
\[ 5\] \.strtab STRTAB 00000000 [0-9a-f]+ 000005 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/shlib-1.rd b/ld/testsuite/ld-tic6x/shlib-1.rd
index 3d253d2..b4a3c30 100644
--- a/ld/testsuite/ld-tic6x/shlib-1.rd
+++ b/ld/testsuite/ld-tic6x/shlib-1.rd
@@ -16,7 +16,7 @@ Section Headers:
\[11\] \.neardata PROGBITS 10000128 002128 000008 00 WA 0 0 4
\[12\] \.bss NOBITS 10000130 002130 000004 00 WA 0 0 4
\[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 002130 000019 00 0 0 1
- \[14\] \.shstrtab STRTAB 00000000 002149 00007b 00 0 0 1
+ \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1
\[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4
\[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/shlib-1b.rd b/ld/testsuite/ld-tic6x/shlib-1b.rd
index 3d253d2..b4a3c30 100644
--- a/ld/testsuite/ld-tic6x/shlib-1b.rd
+++ b/ld/testsuite/ld-tic6x/shlib-1b.rd
@@ -16,7 +16,7 @@ Section Headers:
\[11\] \.neardata PROGBITS 10000128 002128 000008 00 WA 0 0 4
\[12\] \.bss NOBITS 10000130 002130 000004 00 WA 0 0 4
\[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 002130 000019 00 0 0 1
- \[14\] \.shstrtab STRTAB 00000000 002149 00007b 00 0 0 1
+ \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1
\[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4
\[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/shlib-1r.rd b/ld/testsuite/ld-tic6x/shlib-1r.rd
index 3d253d2..b4a3c30 100644
--- a/ld/testsuite/ld-tic6x/shlib-1r.rd
+++ b/ld/testsuite/ld-tic6x/shlib-1r.rd
@@ -16,7 +16,7 @@ Section Headers:
\[11\] \.neardata PROGBITS 10000128 002128 000008 00 WA 0 0 4
\[12\] \.bss NOBITS 10000130 002130 000004 00 WA 0 0 4
\[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 002130 000019 00 0 0 1
- \[14\] \.shstrtab STRTAB 00000000 002149 00007b 00 0 0 1
+ \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1
\[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4
\[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/shlib-1rb.rd b/ld/testsuite/ld-tic6x/shlib-1rb.rd
index 3d253d2..b4a3c30 100644
--- a/ld/testsuite/ld-tic6x/shlib-1rb.rd
+++ b/ld/testsuite/ld-tic6x/shlib-1rb.rd
@@ -16,7 +16,7 @@ Section Headers:
\[11\] \.neardata PROGBITS 10000128 002128 000008 00 WA 0 0 4
\[12\] \.bss NOBITS 10000130 002130 000004 00 WA 0 0 4
\[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 002130 000019 00 0 0 1
- \[14\] \.shstrtab STRTAB 00000000 002149 00007b 00 0 0 1
+ \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1
\[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4
\[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/shlib-app-1.rd b/ld/testsuite/ld-tic6x/shlib-app-1.rd
index 9c62d6b..23fb91c 100644
--- a/ld/testsuite/ld-tic6x/shlib-app-1.rd
+++ b/ld/testsuite/ld-tic6x/shlib-app-1.rd
@@ -17,7 +17,7 @@ Section Headers:
\[12\] \.neardata PROGBITS 100000c0 0020c0 00000c 00 WA 0 0 4
\[13\] \.bss NOBITS 100000cc 0020cc 000004 00 WA 0 0 4
\[14\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020cc 000019 00 0 0 1
- \[15\] \.shstrtab STRTAB 00000000 0020e5 000080 00 0 0 1
+ \[15\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000080 00 0 0 1
\[16\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 17 [0-9]+ 4
\[17\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/shlib-app-1b.rd b/ld/testsuite/ld-tic6x/shlib-app-1b.rd
index 8b5f5fa..7509e0a 100644
--- a/ld/testsuite/ld-tic6x/shlib-app-1b.rd
+++ b/ld/testsuite/ld-tic6x/shlib-app-1b.rd
@@ -17,7 +17,7 @@ Section Headers:
\[12\] \.neardata PROGBITS 100000c0 0020c0 00000c 00 WA 0 0 4
\[13\] \.bss NOBITS 100000cc 0020cc 000004 00 WA 0 0 4
\[14\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020cc 000019 00 0 0 1
- \[15\] \.shstrtab STRTAB 00000000 0020e5 000080 00 0 0 1
+ \[15\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000080 00 0 0 1
\[16\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 17 [0-9]+ 4
\[17\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/shlib-app-1r.rd b/ld/testsuite/ld-tic6x/shlib-app-1r.rd
index a4737f5..ba0e84d 100644
--- a/ld/testsuite/ld-tic6x/shlib-app-1r.rd
+++ b/ld/testsuite/ld-tic6x/shlib-app-1r.rd
@@ -16,7 +16,7 @@ Section Headers:
\[11\] \.neardata PROGBITS 100000c0 0020c0 000004 00 WA 0 0 4
\[12\] \.bss NOBITS 100000c4 0020c4 000004 00 WA 0 0 4
\[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020c4 000019 00 0 0 1
- \[14\] \.shstrtab STRTAB 00000000 0020dd 00007b 00 0 0 1
+ \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1
\[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4
\[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/shlib-app-1rb.rd b/ld/testsuite/ld-tic6x/shlib-app-1rb.rd
index 7d70d9e..f7ff5a0 100644
--- a/ld/testsuite/ld-tic6x/shlib-app-1rb.rd
+++ b/ld/testsuite/ld-tic6x/shlib-app-1rb.rd
@@ -16,7 +16,7 @@ Section Headers:
\[11\] \.neardata PROGBITS 100000c0 0020c0 000004 00 WA 0 0 4
\[12\] \.bss NOBITS 100000c4 0020c4 000004 00 WA 0 0 4
\[13\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020c4 000019 00 0 0 1
- \[14\] \.shstrtab STRTAB 00000000 0020dd 00007b 00 0 0 1
+ \[14\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 00007b 00 0 0 1
\[15\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 16 [0-9]+ 4
\[16\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/shlib-noindex.rd b/ld/testsuite/ld-tic6x/shlib-noindex.rd
index 2a9389c..aae19f7 100644
--- a/ld/testsuite/ld-tic6x/shlib-noindex.rd
+++ b/ld/testsuite/ld-tic6x/shlib-noindex.rd
@@ -17,7 +17,7 @@ Section Headers:
\[12\] \.neardata PROGBITS 10000128 002128 000008 00 WA 0 0 4
\[13\] \.bss NOBITS 10000130 002130 000004 00 WA 0 0 4
\[14\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 002130 000019 00 0 0 1
- \[15\] \.shstrtab STRTAB 00000000 002149 000080 00 0 0 1
+ \[15\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000080 00 0 0 1
\[16\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 17 [0-9]+ 4
\[17\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/static-app-1.rd b/ld/testsuite/ld-tic6x/static-app-1.rd
index 81a45f9..01ff975 100644
--- a/ld/testsuite/ld-tic6x/static-app-1.rd
+++ b/ld/testsuite/ld-tic6x/static-app-1.rd
@@ -14,7 +14,7 @@ Section Headers:
\[ 9\] \.neardata PROGBITS 100000e0 0020e0 000014 00 WA 0 0 4
\[10\] \.bss NOBITS 100000f4 0020f4 000004 00 WA 0 0 4
\[11\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020f4 000019 00 0 0 1
- \[12\] \.shstrtab STRTAB 00000000 00210d 000071 00 0 0 1
+ \[12\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1
\[13\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 14 [0-9]+ 4
\[14\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/static-app-1b.rd b/ld/testsuite/ld-tic6x/static-app-1b.rd
index 81a45f9..01ff975 100644
--- a/ld/testsuite/ld-tic6x/static-app-1b.rd
+++ b/ld/testsuite/ld-tic6x/static-app-1b.rd
@@ -14,7 +14,7 @@ Section Headers:
\[ 9\] \.neardata PROGBITS 100000e0 0020e0 000014 00 WA 0 0 4
\[10\] \.bss NOBITS 100000f4 0020f4 000004 00 WA 0 0 4
\[11\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020f4 000019 00 0 0 1
- \[12\] \.shstrtab STRTAB 00000000 00210d 000071 00 0 0 1
+ \[12\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1
\[13\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 14 [0-9]+ 4
\[14\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/static-app-1r.rd b/ld/testsuite/ld-tic6x/static-app-1r.rd
index 0ddcd63..041caf4 100644
--- a/ld/testsuite/ld-tic6x/static-app-1r.rd
+++ b/ld/testsuite/ld-tic6x/static-app-1r.rd
@@ -14,7 +14,7 @@ Section Headers:
\[ 9\] \.neardata PROGBITS 100000e0 0020e0 00000c 00 WA 0 0 4
\[10\] \.bss NOBITS 100000ec 0020ec 000004 00 WA 0 0 4
\[11\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020ec 000019 00 0 0 1
- \[12\] \.shstrtab STRTAB 00000000 002105 000071 00 0 0 1
+ \[12\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1
\[13\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 14 [0-9]+ 4
\[14\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-tic6x/static-app-1rb.rd b/ld/testsuite/ld-tic6x/static-app-1rb.rd
index 0ddcd63..041caf4 100644
--- a/ld/testsuite/ld-tic6x/static-app-1rb.rd
+++ b/ld/testsuite/ld-tic6x/static-app-1rb.rd
@@ -14,7 +14,7 @@ Section Headers:
\[ 9\] \.neardata PROGBITS 100000e0 0020e0 00000c 00 WA 0 0 4
\[10\] \.bss NOBITS 100000ec 0020ec 000004 00 WA 0 0 4
\[11\] \.c6xabi\.attributes C6000_ATTRIBUTES 00000000 0020ec 000019 00 0 0 1
- \[12\] \.shstrtab STRTAB 00000000 002105 000071 00 0 0 1
+ \[12\] \.shstrtab STRTAB 00000000 [0-9a-f]+ 000071 00 0 0 1
\[13\] \.symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 14 [0-9]+ 4
\[14\] \.strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-x86-64/ilp32-4.d b/ld/testsuite/ld-x86-64/ilp32-4.d
index df3e94c..6b63e5a 100644
--- a/ld/testsuite/ld-x86-64/ilp32-4.d
+++ b/ld/testsuite/ld-x86-64/ilp32-4.d
@@ -13,7 +13,7 @@ Section Headers:
\[ 3\] .dynstr STRTAB 00000120 000120 000019 00 A 0 0 1
\[ 4\] .text PROGBITS 00000139 000139 000001 00 AX 0 0 1
\[ 5\] .dynamic DYNAMIC 0020013c 00013c 000058 08 WA 3 0 4
- \[ 6\] .shstrtab STRTAB 00000000 000194 000040 00 0 0 1
+ \[ 6\] .shstrtab STRTAB 00000000 [0-9a-f]+ 000040 00 0 0 1
\[ 7\] .symtab SYMTAB 00000000 [0-9a-f]+ [0-9a-f]+ 10 8 [0-9] 4
\[ 8\] .strtab STRTAB 00000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-x86-64/split-by-file-nacl.rd b/ld/testsuite/ld-x86-64/split-by-file-nacl.rd
index edc3e0b..340c5fc 100644
--- a/ld/testsuite/ld-x86-64/split-by-file-nacl.rd
+++ b/ld/testsuite/ld-x86-64/split-by-file-nacl.rd
@@ -8,7 +8,7 @@ Section Headers:
\[ 3\] .data PROGBITS 0000000000000000 000043 000000 00 WA 0 0 1
\[ 4\] .bss NOBITS 0000000000000000 000043 000000 00 WA 0 0 1
\[ 5\] .foo.0 PROGBITS 0000000000000003 000043 000003 00 AXl 0 0 1
- \[ 6\] .shstrtab STRTAB 0000000000000000 000046 000038 00 0 0 1
+ \[ 6\] .shstrtab STRTAB 0000000000000000 [0-9a-f]+ 000038 00 0 0 1
\[ 7\] .symtab SYMTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 18 8 [0-9] 8
\[ 8\] .strtab STRTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags:
diff --git a/ld/testsuite/ld-x86-64/split-by-file.rd b/ld/testsuite/ld-x86-64/split-by-file.rd
index edc3e0b..340c5fc 100644
--- a/ld/testsuite/ld-x86-64/split-by-file.rd
+++ b/ld/testsuite/ld-x86-64/split-by-file.rd
@@ -8,7 +8,7 @@ Section Headers:
\[ 3\] .data PROGBITS 0000000000000000 000043 000000 00 WA 0 0 1
\[ 4\] .bss NOBITS 0000000000000000 000043 000000 00 WA 0 0 1
\[ 5\] .foo.0 PROGBITS 0000000000000003 000043 000003 00 AXl 0 0 1
- \[ 6\] .shstrtab STRTAB 0000000000000000 000046 000038 00 0 0 1
+ \[ 6\] .shstrtab STRTAB 0000000000000000 [0-9a-f]+ 000038 00 0 0 1
\[ 7\] .symtab SYMTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 18 8 [0-9] 8
\[ 8\] .strtab STRTAB 0000000000000000 [0-9a-f]+ [0-9a-f]+ 00 0 0 1
Key to Flags: