aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite')
-rw-r--r--ld/testsuite/ChangeLog72
-rw-r--r--ld/testsuite/ld-alpha/tlsbin.rd6
-rw-r--r--ld/testsuite/ld-alpha/tlsbinr.rd6
-rw-r--r--ld/testsuite/ld-alpha/tlspic.rd38
-rw-r--r--ld/testsuite/ld-cris/libdso-2.d4
-rw-r--r--ld/testsuite/ld-cris/locref1.d2
-rw-r--r--ld/testsuite/ld-cris/locref2.d2
-rw-r--r--ld/testsuite/ld-cris/tls-e-20.d2
-rw-r--r--ld/testsuite/ld-cris/tls-e-20a.d2
-rw-r--r--ld/testsuite/ld-cris/tls-e-80.d2
-rw-r--r--ld/testsuite/ld-cris/tls-gc-68.d2
-rw-r--r--ld/testsuite/ld-cris/tls-gc-69.d2
-rw-r--r--ld/testsuite/ld-cris/tls-gc-70.d2
-rw-r--r--ld/testsuite/ld-cris/tls-gc-75.d2
-rw-r--r--ld/testsuite/ld-cris/tls-gc-76.d2
-rw-r--r--ld/testsuite/ld-cris/tls-gc-79.d2
-rw-r--r--ld/testsuite/ld-cris/tls-gd-1h.d2
-rw-r--r--ld/testsuite/ld-cris/tls-gd-2h.d2
-rw-r--r--ld/testsuite/ld-cris/tls-ld-4.d2
-rw-r--r--ld/testsuite/ld-cris/tls-ld-5.d4
-rw-r--r--ld/testsuite/ld-cris/tls-ld-6.d2
-rw-r--r--ld/testsuite/ld-cris/tls-ld-7.d4
-rw-r--r--ld/testsuite/ld-cris/tls-ldgd-14.d4
-rw-r--r--ld/testsuite/ld-cris/tls-ldgd-15.d4
-rw-r--r--ld/testsuite/ld-cris/tls-local-63.d2
-rw-r--r--ld/testsuite/ld-cris/tls-local-64.d2
-rw-r--r--ld/testsuite/ld-elf/pr9676.rd2
-rw-r--r--ld/testsuite/ld-elf/pr9679.rd2
-rw-r--r--ld/testsuite/ld-elfvsb/hidden2.d2
-rw-r--r--ld/testsuite/ld-i386/tlsbin.rd4
-rw-r--r--ld/testsuite/ld-i386/tlsbindesc.rd6
-rw-r--r--ld/testsuite/ld-i386/tlsdesc.rd38
-rw-r--r--ld/testsuite/ld-i386/tlsgdesc.rd4
-rw-r--r--ld/testsuite/ld-i386/tlsnopic.rd12
-rw-r--r--ld/testsuite/ld-i386/tlspic.rd36
-rw-r--r--ld/testsuite/ld-ia64/tlsbin.rd4
-rw-r--r--ld/testsuite/ld-ia64/tlspic.rd36
-rw-r--r--ld/testsuite/ld-powerpc/tlsexe.r2
-rw-r--r--ld/testsuite/ld-powerpc/tlsexe32.r4
-rw-r--r--ld/testsuite/ld-powerpc/tlsexetoc.r2
-rw-r--r--ld/testsuite/ld-powerpc/tlsso.r2
-rw-r--r--ld/testsuite/ld-powerpc/tlsso32.r4
-rw-r--r--ld/testsuite/ld-powerpc/tlstocso.r2
-rw-r--r--ld/testsuite/ld-s390/tlsbin.rd4
-rw-r--r--ld/testsuite/ld-s390/tlsbin_64.rd4
-rw-r--r--ld/testsuite/ld-s390/tlspic.rd36
-rw-r--r--ld/testsuite/ld-s390/tlspic_64.rd36
-rw-r--r--ld/testsuite/ld-sparc/gotop32.rd6
-rw-r--r--ld/testsuite/ld-sparc/gotop64.rd6
-rw-r--r--ld/testsuite/ld-sparc/tlssunbin32.rd6
-rw-r--r--ld/testsuite/ld-sparc/tlssunbin64.rd6
-rw-r--r--ld/testsuite/ld-sparc/tlssunnopic32.rd14
-rw-r--r--ld/testsuite/ld-sparc/tlssunnopic64.rd14
-rw-r--r--ld/testsuite/ld-sparc/tlssunpic32.rd38
-rw-r--r--ld/testsuite/ld-sparc/tlssunpic64.rd38
-rw-r--r--ld/testsuite/ld-x86-64/tlsbin.rd4
-rw-r--r--ld/testsuite/ld-x86-64/tlsbindesc.rd6
-rw-r--r--ld/testsuite/ld-x86-64/tlsdesc.rd38
-rw-r--r--ld/testsuite/ld-x86-64/tlsgdesc.rd4
-rw-r--r--ld/testsuite/ld-x86-64/tlspic.rd36
-rw-r--r--ld/testsuite/ld-xtensa/tlsbin.rd4
-rw-r--r--ld/testsuite/ld-xtensa/tlspic.rd36
62 files changed, 373 insertions, 301 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 32d11f3..ec944b6 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,75 @@
+2009-09-24 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR ld/10630
+ * ld-alpha/tlsbin.rd: Remove HIDDEN/.hidden on local symbols.
+ * ld-alpha/tlsbinr.rd: Likewise.
+ * ld-alpha/tlspic.rd: Likewise.
+ * ld-cris/libdso-2.d: Likewise.
+ * ld-cris/locref1.d: Likewise.
+ * ld-cris/locref2.d: Likewise.
+ * ld-cris/tls-e-20a.d: Likewise.
+ * ld-cris/tls-e-20.d: Likewise.
+ * ld-cris/tls-e-80.d: Likewise.
+ * ld-cris/tls-gc-68.d: Likewise.
+ * ld-cris/tls-gc-69.d: Likewise.
+ * ld-cris/tls-gc-70.d: Likewise.
+ * ld-cris/tls-gc-75.d: Likewise.
+ * ld-cris/tls-gc-76.d: Likewise.
+ * ld-cris/tls-gc-79.d: Likewise.
+ * ld-cris/tls-gd-1h.d: Likewise.
+ * ld-cris/tls-gd-2h.d: Likewise.
+ * ld-cris/tls-ld-4.d: Likewise.
+ * ld-cris/tls-ld-5.d: Likewise.
+ * ld-cris/tls-ld-6.d: Likewise.
+ * ld-cris/tls-ld-7.d: Likewise.
+ * ld-cris/tls-ldgd-14.d: Likewise.
+ * ld-cris/tls-ldgd-15.d: Likewise.
+ * ld-cris/tls-local-63.d: Likewise.
+ * ld-cris/tls-local-64.d: Likewise.
+ * ld-elf/pr9676.rd: Likewise.
+ * ld-elf/pr9679.rd: Likewise.
+ * ld-elfvsb/hidden2.d: Likewise.
+ * ld-i386/tlsbindesc.rd: Likewise.
+ * ld-i386/tlsbin.rd: Likewise.
+ * ld-i386/tlsdesc.rd: Likewise.
+ * ld-i386/tlsgdesc.rd: Likewise.
+ * ld-i386/tlsnopic.rd: Likewise.
+ * ld-i386/tlspic.rd: Likewise.
+ * ld-ia64/tlsbin.rd: Likewise.
+ * ld-ia64/tlspic.rd: Likewise.
+ * ld-powerpc/tlsexe32.r: Likewise.
+ * ld-powerpc/tlsexe.r: Likewise.
+ * ld-powerpc/tlsexetoc.r: Likewise.
+ * ld-powerpc/tlsso32.r: Likewise.
+ * ld-powerpc/tlsso.r: Likewise.
+ * ld-powerpc/tlstocso.r: Likewise.
+ * ld-s390/tlsbin_64.rd: Likewise.
+ * ld-s390/tlsbin.rd: Likewise.
+ * ld-s390/tlspic_64.rd: Likewise.
+ * ld-s390/tlspic.rd: Likewise.
+ * ld-sparc/gotop32.rd: Likewise.
+ * ld-sparc/gotop64.rd: Likewise.
+ * ld-sparc/tlssunbin32.rd: Likewise.
+ * ld-sparc/tlssunbin64.rd: Likewise.
+ * ld-sparc/tlssunnopic32.rd: Likewise.
+ * ld-sparc/tlssunnopic64.rd: Likewise.
+ * ld-sparc/tlssunpic32.rd: Likewise.
+ * ld-sparc/tlssunpic64.rd: Likewise.
+ * ld-x86-64/tlsbindesc.rd: Likewise.
+ * ld-x86-64/tlsbin.rd: Likewise.
+ * ld-x86-64/tlsdesc.rd: Likewise.
+ * ld-x86-64/tlsgdesc.rd: Likewise.
+ * ld-x86-64/tlspic.rd: Likewise.
+ * ld-xtensa/tlsbin.rd: Likewise.
+ * ld-xtensa/tlspic.rd: Likewise.
+
+ * ld-elf/local1.d: New.
+ * ld-elf/local1.map: Likewise.
+ * ld-elf/local1.s: Likewise.
+ * ld-ia64/local1.d: Likewise.
+ * ld-ia64/local1.map: Likewise.
+ * ld-ia64/local1.s: Likewise.
+
2009-09-23 Matt Rice <ratmice@gmail.com>
* ld-elf/audit.exp: New.
diff --git a/ld/testsuite/ld-alpha/tlsbin.rd b/ld/testsuite/ld-alpha/tlsbin.rd
index aeeda2b..44633ac 100644
--- a/ld/testsuite/ld-alpha/tlsbin.rd
+++ b/ld/testsuite/ld-alpha/tlsbin.rd
@@ -96,9 +96,9 @@ Symbol table '\.symtab' contains [0-9]+ entries:
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl6
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl7
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl8
-[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +11 _DYNAMIC
-[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +12 _PROCEDURE_LINKAGE_TABLE_
-[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_
+[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +11 _DYNAMIC
+[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +12 _PROCEDURE_LINKAGE_TABLE_
+[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +13 _GLOBAL_OFFSET_TABLE_
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg8
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg8
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg6
diff --git a/ld/testsuite/ld-alpha/tlsbinr.rd b/ld/testsuite/ld-alpha/tlsbinr.rd
index 0aead24..247957d 100644
--- a/ld/testsuite/ld-alpha/tlsbinr.rd
+++ b/ld/testsuite/ld-alpha/tlsbinr.rd
@@ -91,9 +91,9 @@ Symbol table '\.symtab' contains [0-9]+ entries:
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl6
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl7
[0-9 ]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +10 bl8
-[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +11 _DYNAMIC
-[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +12 _PROCEDURE_LINKAGE_TABLE_
-[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_
+[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +11 _DYNAMIC
+[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +12 _PROCEDURE_LINKAGE_TABLE_
+[0-9 ]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +13 _GLOBAL_OFFSET_TABLE_
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +9 sg8
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg8
[0-9 ]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +10 bg6
diff --git a/ld/testsuite/ld-alpha/tlspic.rd b/ld/testsuite/ld-alpha/tlspic.rd
index 1aeb247..ac6a38a 100644
--- a/ld/testsuite/ld-alpha/tlspic.rd
+++ b/ld/testsuite/ld-alpha/tlspic.rd
@@ -94,25 +94,25 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl6
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl7
.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl8
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH1
-.* [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh3
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH2
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH7
-.* [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh7
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh8
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH4
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh4
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH3
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh5
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH5
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH6
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +9 sH8
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh1
-.* [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh2
-.* [0-9a-f]+ +0 +TLS +LOCAL +HIDDEN +8 sh6
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH1
+.* [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh3
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH2
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH7
+.* [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh7
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh8
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH4
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh4
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH3
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh5
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH5
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH6
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +9 sH8
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh1
+.* [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh2
+.* [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sh6
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg8
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg3
.* [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg4
diff --git a/ld/testsuite/ld-cris/libdso-2.d b/ld/testsuite/ld-cris/libdso-2.d
index ff1a4db..165e222 100644
--- a/ld/testsuite/ld-cris/libdso-2.d
+++ b/ld/testsuite/ld-cris/libdso-2.d
@@ -48,10 +48,10 @@ Symbol table '\.symtab' contains 18 entries:
+7: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7
+8: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8
+9: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9
- +10: 0+2..[046c] +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
+ +10: 0+2..[046c] +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+11: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS __bss_start
+12: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS _edata
- +13: 0+2..[046c] +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
+ +13: 0+2..[046c] +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+14: 0+2..[046c] +0 +NOTYPE +LOCAL +DEFAULT +ABS _end
+15: 0+150 +2 +FUNC +LOCAL +DEFAULT +7 dsofn
+16: 0+ +0 +OBJECT +GLOBAL +DEFAULT +ABS TST1
diff --git a/ld/testsuite/ld-cris/locref1.d b/ld/testsuite/ld-cris/locref1.d
index e38c642..ac26b28 100644
--- a/ld/testsuite/ld-cris/locref1.d
+++ b/ld/testsuite/ld-cris/locref1.d
@@ -11,7 +11,7 @@
SYMBOL TABLE:
#...
-0+82084 l O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
+0+82084 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
0+80076 g F \.text 0+2 expfn
0+82090 g O \.data 0+4 expobj
#...
diff --git a/ld/testsuite/ld-cris/locref2.d b/ld/testsuite/ld-cris/locref2.d
index 8b51d45..735b10e 100644
--- a/ld/testsuite/ld-cris/locref2.d
+++ b/ld/testsuite/ld-cris/locref2.d
@@ -11,7 +11,7 @@
SYMBOL TABLE:
#...
-0+82088 l O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
+0+82088 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
0+ w \*UND\* 0+ expfn
0+ w \*UND\* 0+ expobj
#...
diff --git a/ld/testsuite/ld-cris/tls-e-20.d b/ld/testsuite/ld-cris/tls-e-20.d
index d4fd8fc..0c723b0 100644
--- a/ld/testsuite/ld-cris/tls-e-20.d
+++ b/ld/testsuite/ld-cris/tls-e-20.d
@@ -35,7 +35,7 @@ SYMBOL TABLE:
0+80094 l d \.text 0+ \.text
0+820b0 l d \.tdata 0+ \.tdata
0+820bc l d \.got 0+ \.got
-0+820bc l O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
+0+820bc l O \.got 0+ _GLOBAL_OFFSET_TABLE_
0+ g \.tdata 0+4 \.hidden x
0+80098 g F \.text 0+6 tlsdsofn2
0+8 g \.tdata 0+4 \.hidden x2
diff --git a/ld/testsuite/ld-cris/tls-e-20a.d b/ld/testsuite/ld-cris/tls-e-20a.d
index 2ea7d0d..201e0b1 100644
--- a/ld/testsuite/ld-cris/tls-e-20a.d
+++ b/ld/testsuite/ld-cris/tls-e-20a.d
@@ -41,7 +41,7 @@ SYMBOL TABLE:
0+82168 l d \.got 0+ \.got
0+821a4 l d \.data 0+ \.data
0+ l \.tdata 0+80 tls128
-0+82168 l O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
+0+82168 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
0+80 g \.tdata 0+4 \.hidden x
0+800c4 g F \.text 0+6 tlsdsofn2
0+821b4 g O \.data 0+4 got7var5
diff --git a/ld/testsuite/ld-cris/tls-e-80.d b/ld/testsuite/ld-cris/tls-e-80.d
index 273ac1f..6d84e00 100644
--- a/ld/testsuite/ld-cris/tls-e-80.d
+++ b/ld/testsuite/ld-cris/tls-e-80.d
@@ -42,7 +42,7 @@ SYMBOL TABLE:
0+820c0 l d \.tdata 0+ \.tdata
0+820d0 l d \.tbss 0+ \.tbss
0+820d0 l d \.got 0+ \.got
-0+820d0 l O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
+0+820d0 l O \.got 0+ _GLOBAL_OFFSET_TABLE_
0+ g \.tdata 0+4 \.hidden x
0+800a0 g F \.text 0+6 tlsdsofn2
0+800a8 g F \.text 0+6 tlsfn12
diff --git a/ld/testsuite/ld-cris/tls-gc-68.d b/ld/testsuite/ld-cris/tls-gc-68.d
index cfed0e5..60fcc3b 100644
--- a/ld/testsuite/ld-cris/tls-gc-68.d
+++ b/ld/testsuite/ld-cris/tls-gc-68.d
@@ -21,7 +21,7 @@ private flags = 0:
SYMBOL TABLE:
0+80074 l d .text 0+ .text
0+82078 l d .got 0+ .got
-0+82078 l O .got 0+ .hidden _GLOBAL_OFFSET_TABLE_
+0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_
0+80074 g .text 0+ _start
0+82084 g \*ABS\* 0+ __bss_start
0+82084 g \*ABS\* 0+ _edata
diff --git a/ld/testsuite/ld-cris/tls-gc-69.d b/ld/testsuite/ld-cris/tls-gc-69.d
index dd9b30a..e547ba4 100644
--- a/ld/testsuite/ld-cris/tls-gc-69.d
+++ b/ld/testsuite/ld-cris/tls-gc-69.d
@@ -22,7 +22,7 @@ private flags = 0:
SYMBOL TABLE:
0+80074 l d .text 0+ .text
0+82078 l d .got 0+ .got
-0+82078 l O .got 0+ .hidden _GLOBAL_OFFSET_TABLE_
+0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_
0+80074 g .text 0+ _start
0+82084 g \*ABS\* 0+ __bss_start
0+82084 g \*ABS\* 0+ _edata
diff --git a/ld/testsuite/ld-cris/tls-gc-70.d b/ld/testsuite/ld-cris/tls-gc-70.d
index 048b7e9..d8d5324 100644
--- a/ld/testsuite/ld-cris/tls-gc-70.d
+++ b/ld/testsuite/ld-cris/tls-gc-70.d
@@ -22,7 +22,7 @@ private flags = 0:
SYMBOL TABLE:
0+80074 l d .text 0+ .text
0+82078 l d .got 0+ .got
-0+82078 l O .got 0+ .hidden _GLOBAL_OFFSET_TABLE_
+0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_
0+80074 g .text 0+ _start
0+82084 g \*ABS\* 0+ __bss_start
0+82084 g \*ABS\* 0+ _edata
diff --git a/ld/testsuite/ld-cris/tls-gc-75.d b/ld/testsuite/ld-cris/tls-gc-75.d
index de387db..2f4257e 100644
--- a/ld/testsuite/ld-cris/tls-gc-75.d
+++ b/ld/testsuite/ld-cris/tls-gc-75.d
@@ -24,7 +24,7 @@ private flags = 0:
SYMBOL TABLE:
0+80074 l d .text 0+ .text
0+82078 l d .got 0+ .got
-0+82078 l O .got 0+ .hidden _GLOBAL_OFFSET_TABLE_
+0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_
0+80074 g .text 0+ _start
0+82084 g \*ABS\* 0+ __bss_start
0+82084 g \*ABS\* 0+ _edata
diff --git a/ld/testsuite/ld-cris/tls-gc-76.d b/ld/testsuite/ld-cris/tls-gc-76.d
index 49a2dda..f3c78df 100644
--- a/ld/testsuite/ld-cris/tls-gc-76.d
+++ b/ld/testsuite/ld-cris/tls-gc-76.d
@@ -23,7 +23,7 @@ SYMBOL TABLE:
0+82080 l d .got 0+ .got
0+82090 l d .data 0+ .data
0+82090 l O .data 0+4 gc76var
-0+82080 l O .got 0+ .hidden _GLOBAL_OFFSET_TABLE_
+0+82080 l O .got 0+ _GLOBAL_OFFSET_TABLE_
0+80074 g .text 0+ _start
0+82094 g \*ABS\* 0+ __bss_start
0+82094 g \*ABS\* 0+ _edata
diff --git a/ld/testsuite/ld-cris/tls-gc-79.d b/ld/testsuite/ld-cris/tls-gc-79.d
index 37e8fce..210f478 100644
--- a/ld/testsuite/ld-cris/tls-gc-79.d
+++ b/ld/testsuite/ld-cris/tls-gc-79.d
@@ -22,7 +22,7 @@ private flags = 0:
SYMBOL TABLE:
0+80074 l d .text 0+ .text
0+82078 l d .got 0+ .got
-0+82078 l O .got 0+ .hidden _GLOBAL_OFFSET_TABLE_
+0+82078 l O .got 0+ _GLOBAL_OFFSET_TABLE_
0+80074 g .text 0+ _start
0+82084 g \*ABS\* 0+ __bss_start
0+82084 g \*ABS\* 0+ _edata
diff --git a/ld/testsuite/ld-cris/tls-gd-1h.d b/ld/testsuite/ld-cris/tls-gd-1h.d
index 9e8fab3..2e024bd 100644
--- a/ld/testsuite/ld-cris/tls-gd-1h.d
+++ b/ld/testsuite/ld-cris/tls-gd-1h.d
@@ -33,7 +33,7 @@ private flags = 0:
SYMBOL TABLE:
#...
-0+80 l \.tdata 0+4 \.hidden x
+0+80 l \.tdata 0+4 x
#...
DYNAMIC RELOCATION RECORDS
diff --git a/ld/testsuite/ld-cris/tls-gd-2h.d b/ld/testsuite/ld-cris/tls-gd-2h.d
index ed2803c..f63be5c 100644
--- a/ld/testsuite/ld-cris/tls-gd-2h.d
+++ b/ld/testsuite/ld-cris/tls-gd-2h.d
@@ -33,7 +33,7 @@ private flags = 0:
SYMBOL TABLE:
#...
-0+80 l \.tdata 0+4 \.hidden x
+0+80 l \.tdata 0+4 x
#...
DYNAMIC RELOCATION RECORDS
diff --git a/ld/testsuite/ld-cris/tls-ld-4.d b/ld/testsuite/ld-cris/tls-ld-4.d
index b87d1d4..2ac3d71 100644
--- a/ld/testsuite/ld-cris/tls-ld-4.d
+++ b/ld/testsuite/ld-cris/tls-ld-4.d
@@ -33,7 +33,7 @@ private flags = 0:
SYMBOL TABLE:
#...
-0+80 l \.tdata 0+4 \.hidden x
+0+80 l \.tdata 0+4 x
#...
DYNAMIC RELOCATION RECORDS
diff --git a/ld/testsuite/ld-cris/tls-ld-5.d b/ld/testsuite/ld-cris/tls-ld-5.d
index 756f1b0..c2ea111 100644
--- a/ld/testsuite/ld-cris/tls-ld-5.d
+++ b/ld/testsuite/ld-cris/tls-ld-5.d
@@ -33,8 +33,8 @@ private flags = 0:
SYMBOL TABLE:
#...
-0+84 l \.tdata 0+4 \.hidden x2
-0+80 l \.tdata 0+4 \.hidden x1
+0+84 l \.tdata 0+4 x2
+0+80 l \.tdata 0+4 x1
#...
DYNAMIC RELOCATION RECORDS
diff --git a/ld/testsuite/ld-cris/tls-ld-6.d b/ld/testsuite/ld-cris/tls-ld-6.d
index b178ad4..0b54114 100644
--- a/ld/testsuite/ld-cris/tls-ld-6.d
+++ b/ld/testsuite/ld-cris/tls-ld-6.d
@@ -33,7 +33,7 @@ private flags = 0:
SYMBOL TABLE:
#...
-0+80 l \.tdata 0+4 \.hidden x
+0+80 l \.tdata 0+4 x
#...
DYNAMIC RELOCATION RECORDS
diff --git a/ld/testsuite/ld-cris/tls-ld-7.d b/ld/testsuite/ld-cris/tls-ld-7.d
index 92fcb88..c537050 100644
--- a/ld/testsuite/ld-cris/tls-ld-7.d
+++ b/ld/testsuite/ld-cris/tls-ld-7.d
@@ -33,8 +33,8 @@ private flags = 0:
SYMBOL TABLE:
#...
-0+84 l \.tdata 0+4 \.hidden x2
-0+80 l \.tdata 0+4 \.hidden x1
+0+84 l \.tdata 0+4 x2
+0+80 l \.tdata 0+4 x1
#...
DYNAMIC RELOCATION RECORDS
diff --git a/ld/testsuite/ld-cris/tls-ldgd-14.d b/ld/testsuite/ld-cris/tls-ldgd-14.d
index 3b101ad..4634dd2 100644
--- a/ld/testsuite/ld-cris/tls-ldgd-14.d
+++ b/ld/testsuite/ld-cris/tls-ldgd-14.d
@@ -38,9 +38,9 @@ private flags = 0:
SYMBOL TABLE:
#...
-0+8c l \.tdata 0+4 \.hidden x2
+0+8c l \.tdata 0+4 x2
#...
-0+88 l \.tdata 0+4 \.hidden x1
+0+88 l \.tdata 0+4 x1
#...
0+80 g \.tdata 0+4 x
#...
diff --git a/ld/testsuite/ld-cris/tls-ldgd-15.d b/ld/testsuite/ld-cris/tls-ldgd-15.d
index 84d033f..8583bd2 100644
--- a/ld/testsuite/ld-cris/tls-ldgd-15.d
+++ b/ld/testsuite/ld-cris/tls-ldgd-15.d
@@ -38,9 +38,9 @@ private flags = 0:
SYMBOL TABLE:
#...
-0+8c l \.tdata 0+4 \.hidden x2
+0+8c l \.tdata 0+4 x2
#...
-0+88 l \.tdata 0+4 \.hidden x1
+0+88 l \.tdata 0+4 x1
#...
0+80 g \.tdata 0+4 x
#...
diff --git a/ld/testsuite/ld-cris/tls-local-63.d b/ld/testsuite/ld-cris/tls-local-63.d
index 3242833..f628097 100644
--- a/ld/testsuite/ld-cris/tls-local-63.d
+++ b/ld/testsuite/ld-cris/tls-local-63.d
@@ -19,7 +19,7 @@ Symbol table '.dynsym' contains 7 entries:
#...
Symbol table '.symtab' contains 16 entries:
#...
- .: 00000000 +4 +TLS +LOCAL +HIDDEN +6 x
+ .: 00000000 +4 +TLS +LOCAL +DEFAULT +6 x
#...
Hex dump of section '.text':
0x00000184 5fae0c00 .*
diff --git a/ld/testsuite/ld-cris/tls-local-64.d b/ld/testsuite/ld-cris/tls-local-64.d
index bc9aeab..f813858 100644
--- a/ld/testsuite/ld-cris/tls-local-64.d
+++ b/ld/testsuite/ld-cris/tls-local-64.d
@@ -21,7 +21,7 @@ Symbol table '.dynsym' contains 7 entries:
#...
Symbol table '.symtab' contains 17 entries:
#...
- ..: 00000080 +4 +TLS +LOCAL +HIDDEN +6 x
+ ..: 00000080 +4 +TLS +LOCAL +DEFAULT +6 x
#...
Hex dump of section '.text':
0x00000184 5fae0c00 .*
diff --git a/ld/testsuite/ld-elf/pr9676.rd b/ld/testsuite/ld-elf/pr9676.rd
index 0585b1c..44a11ce 100644
--- a/ld/testsuite/ld-elf/pr9676.rd
+++ b/ld/testsuite/ld-elf/pr9676.rd
@@ -1,5 +1,5 @@
Symbol table '\.dynsym' contains [0-9]+ entries:
+Num: +Value +Size Type +Bind +Vis +Ndx Name
#...
- +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +LOCAL +HIDDEN +[0-9]+ +foo
+ +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +LOCAL +DEFAULT +[0-9]+ +foo
#...
diff --git a/ld/testsuite/ld-elf/pr9679.rd b/ld/testsuite/ld-elf/pr9679.rd
index 0585b1c..44a11ce 100644
--- a/ld/testsuite/ld-elf/pr9679.rd
+++ b/ld/testsuite/ld-elf/pr9679.rd
@@ -1,5 +1,5 @@
Symbol table '\.dynsym' contains [0-9]+ entries:
+Num: +Value +Size Type +Bind +Vis +Ndx Name
#...
- +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +LOCAL +HIDDEN +[0-9]+ +foo
+ +[0-9]+: +[0-9a-f]+ +[0-9a-f]+ +FUNC +LOCAL +DEFAULT +[0-9]+ +foo
#...
diff --git a/ld/testsuite/ld-elfvsb/hidden2.d b/ld/testsuite/ld-elfvsb/hidden2.d
index 6671794..2996277 100644
--- a/ld/testsuite/ld-elfvsb/hidden2.d
+++ b/ld/testsuite/ld-elfvsb/hidden2.d
@@ -5,5 +5,5 @@
Symbol table for image:
#...
-[ ]*[0-9]+ +[0-9]+: [0-9a-fA-F]* +0 +OBJECT +LOCAL +HIDDEN +ABS foo
+[ ]*[0-9]+ +[0-9]+: [0-9a-fA-F]* +0 +OBJECT +LOCAL +DEFAULT +ABS foo
#pass
diff --git a/ld/testsuite/ld-i386/tlsbin.rd b/ld/testsuite/ld-i386/tlsbin.rd
index 0bfdaab..84cec78 100644
--- a/ld/testsuite/ld-i386/tlsbin.rd
+++ b/ld/testsuite/ld-i386/tlsbin.rd
@@ -118,8 +118,8 @@ Symbol table '\.symtab' contains [0-9]+ entries:
+[0-9]+: 00000094 +0 +TLS +LOCAL +DEFAULT +10 bl6
+[0-9]+: 00000098 +0 +TLS +LOCAL +DEFAULT +10 bl7
+[0-9]+: 0000009c +0 +TLS +LOCAL +DEFAULT +10 bl8
- +[0-9]+: 0+804a060 +0 +OBJECT +LOCAL +HIDDEN +11 _DYNAMIC
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: 0+804a060 +0 +OBJECT +LOCAL +DEFAULT +11 _DYNAMIC
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +13 _GLOBAL_OFFSET_TABLE_
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3
+[0-9]+: 0000001c +0 +TLS +GLOBAL +DEFAULT +9 sg8
+[0-9]+: 0000007c +0 +TLS +GLOBAL +DEFAULT +10 bg8
diff --git a/ld/testsuite/ld-i386/tlsbindesc.rd b/ld/testsuite/ld-i386/tlsbindesc.rd
index 43b8c14..c2cea19 100644
--- a/ld/testsuite/ld-i386/tlsbindesc.rd
+++ b/ld/testsuite/ld-i386/tlsbindesc.rd
@@ -109,9 +109,9 @@ Symbol table '\.symtab' contains [0-9]+ entries:
+[0-9]+: 00000094 +0 +TLS +LOCAL +DEFAULT +8 bl6
+[0-9]+: 00000098 +0 +TLS +LOCAL +DEFAULT +8 bl7
+[0-9]+: 0000009c +0 +TLS +LOCAL +DEFAULT +8 bl8
- +[0-9]+: 00001000 +0 +TLS +LOCAL +HIDDEN +7 _TLS_MODULE_BASE_
- +[0-9]+: 0+804a060 +0 +OBJECT +LOCAL +HIDDEN +9 _DYNAMIC
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +11 _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: 00001000 +0 +TLS +LOCAL +DEFAULT +7 _TLS_MODULE_BASE_
+ +[0-9]+: 0+804a060 +0 +OBJECT +LOCAL +DEFAULT +9 _DYNAMIC
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3
+[0-9]+: 0000001c +0 +TLS +GLOBAL +DEFAULT +7 sg8
+[0-9]+: 0000007c +0 +TLS +GLOBAL +DEFAULT +8 bg8
diff --git a/ld/testsuite/ld-i386/tlsdesc.rd b/ld/testsuite/ld-i386/tlsdesc.rd
index 311973a..42edd44 100644
--- a/ld/testsuite/ld-i386/tlsdesc.rd
+++ b/ld/testsuite/ld-i386/tlsdesc.rd
@@ -116,25 +116,25 @@ Symbol table '\.symtab' contains [0-9]+ entries:
+[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +7 sl6
+[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +7 sl7
+[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +7 sl8
- +[0-9]+: 0+60 +0 +TLS +LOCAL +HIDDEN +8 sH1
- +[0-9]+: 0+ +0 +TLS +LOCAL +HIDDEN +7 _TLS_MODULE_BASE_
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
- +[0-9]+: 0+48 +0 +TLS +LOCAL +HIDDEN +7 sh3
- +[0-9]+: 0+64 +0 +TLS +LOCAL +HIDDEN +8 sH2
- +[0-9]+: 0+78 +0 +TLS +LOCAL +HIDDEN +8 sH7
- +[0-9]+: 0+58 +0 +TLS +LOCAL +HIDDEN +7 sh7
- +[0-9]+: 0+5c +0 +TLS +LOCAL +HIDDEN +7 sh8
- +[0-9]+: 0+6c +0 +TLS +LOCAL +HIDDEN +8 sH4
- +[0-9]+: 0+4c +0 +TLS +LOCAL +HIDDEN +7 sh4
- +[0-9]+: 0+68 +0 +TLS +LOCAL +HIDDEN +8 sH3
- +[0-9]+: 0+50 +0 +TLS +LOCAL +HIDDEN +7 sh5
- +[0-9]+: 0+70 +0 +TLS +LOCAL +HIDDEN +8 sH5
- +[0-9]+: 0+74 +0 +TLS +LOCAL +HIDDEN +8 sH6
- +[0-9]+: 0+7c +0 +TLS +LOCAL +HIDDEN +8 sH8
- +[0-9]+: 0+40 +0 +TLS +LOCAL +HIDDEN +7 sh1
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
- +[0-9]+: 0+44 +0 +TLS +LOCAL +HIDDEN +7 sh2
- +[0-9]+: 0+54 +0 +TLS +LOCAL +HIDDEN +7 sh6
+ +[0-9]+: 0+60 +0 +TLS +LOCAL +DEFAULT +8 sH1
+ +[0-9]+: 0+ +0 +TLS +LOCAL +DEFAULT +7 _TLS_MODULE_BASE_
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+ +[0-9]+: 0+48 +0 +TLS +LOCAL +DEFAULT +7 sh3
+ +[0-9]+: 0+64 +0 +TLS +LOCAL +DEFAULT +8 sH2
+ +[0-9]+: 0+78 +0 +TLS +LOCAL +DEFAULT +8 sH7
+ +[0-9]+: 0+58 +0 +TLS +LOCAL +DEFAULT +7 sh7
+ +[0-9]+: 0+5c +0 +TLS +LOCAL +DEFAULT +7 sh8
+ +[0-9]+: 0+6c +0 +TLS +LOCAL +DEFAULT +8 sH4
+ +[0-9]+: 0+4c +0 +TLS +LOCAL +DEFAULT +7 sh4
+ +[0-9]+: 0+68 +0 +TLS +LOCAL +DEFAULT +8 sH3
+ +[0-9]+: 0+50 +0 +TLS +LOCAL +DEFAULT +7 sh5
+ +[0-9]+: 0+70 +0 +TLS +LOCAL +DEFAULT +8 sH5
+ +[0-9]+: 0+74 +0 +TLS +LOCAL +DEFAULT +8 sH6
+ +[0-9]+: 0+7c +0 +TLS +LOCAL +DEFAULT +8 sH8
+ +[0-9]+: 0+40 +0 +TLS +LOCAL +DEFAULT +7 sh1
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: 0+44 +0 +TLS +LOCAL +DEFAULT +7 sh2
+ +[0-9]+: 0+54 +0 +TLS +LOCAL +DEFAULT +7 sh6
+[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8
+[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3
+[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4
diff --git a/ld/testsuite/ld-i386/tlsgdesc.rd b/ld/testsuite/ld-i386/tlsgdesc.rd
index 62f12f6..3a224a2 100644
--- a/ld/testsuite/ld-i386/tlsgdesc.rd
+++ b/ld/testsuite/ld-i386/tlsgdesc.rd
@@ -88,8 +88,8 @@ Symbol table '\.symtab' contains [0-9]+ entries:
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
diff --git a/ld/testsuite/ld-i386/tlsnopic.rd b/ld/testsuite/ld-i386/tlsnopic.rd
index 9f011cf..2590a9f 100644
--- a/ld/testsuite/ld-i386/tlsnopic.rd
+++ b/ld/testsuite/ld-i386/tlsnopic.rd
@@ -99,12 +99,12 @@ Symbol table '\.symtab' contains [0-9]+ entries:
+[0-9]+: 0+08 +0 +TLS +LOCAL +DEFAULT +6 bl3
+[0-9]+: 0+0c +0 +TLS +LOCAL +DEFAULT +6 bl4
+[0-9]+: 0+10 +0 +TLS +LOCAL +DEFAULT +6 bl5
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
- +[0-9]+: 0+1c +0 +TLS +LOCAL +HIDDEN +6 sh3
- +[0-9]+: 0+20 +0 +TLS +LOCAL +HIDDEN +6 sh4
- +[0-9]+: 0+14 +0 +TLS +LOCAL +HIDDEN +6 sh1
- +[0-9]+: 0+218c +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
- +[0-9]+: 0+18 +0 +TLS +LOCAL +HIDDEN +6 sh2
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+ +[0-9]+: 0+1c +0 +TLS +LOCAL +DEFAULT +6 sh3
+ +[0-9]+: 0+20 +0 +TLS +LOCAL +DEFAULT +6 sh4
+ +[0-9]+: 0+14 +0 +TLS +LOCAL +DEFAULT +6 sh1
+ +[0-9]+: 0+218c +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: 0+18 +0 +TLS +LOCAL +DEFAULT +6 sh2
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg3
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sg4
+[0-9]+: 0+1000 +0 +FUNC +GLOBAL +DEFAULT +5 fn3
diff --git a/ld/testsuite/ld-i386/tlspic.rd b/ld/testsuite/ld-i386/tlspic.rd
index 3a264e3..46b8ed5 100644
--- a/ld/testsuite/ld-i386/tlspic.rd
+++ b/ld/testsuite/ld-i386/tlspic.rd
@@ -121,24 +121,24 @@ Symbol table '\.symtab' contains [0-9]+ entries:
+[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +8 sl6
+[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +8 sl7
+[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +8 sl8
- +[0-9]+: 0+60 +0 +TLS +LOCAL +HIDDEN +9 sH1
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
- +[0-9]+: 0+48 +0 +TLS +LOCAL +HIDDEN +8 sh3
- +[0-9]+: 0+64 +0 +TLS +LOCAL +HIDDEN +9 sH2
- +[0-9]+: 0+78 +0 +TLS +LOCAL +HIDDEN +9 sH7
- +[0-9]+: 0+58 +0 +TLS +LOCAL +HIDDEN +8 sh7
- +[0-9]+: 0+5c +0 +TLS +LOCAL +HIDDEN +8 sh8
- +[0-9]+: 0+6c +0 +TLS +LOCAL +HIDDEN +9 sH4
- +[0-9]+: 0+4c +0 +TLS +LOCAL +HIDDEN +8 sh4
- +[0-9]+: 0+68 +0 +TLS +LOCAL +HIDDEN +9 sH3
- +[0-9]+: 0+50 +0 +TLS +LOCAL +HIDDEN +8 sh5
- +[0-9]+: 0+70 +0 +TLS +LOCAL +HIDDEN +9 sH5
- +[0-9]+: 0+74 +0 +TLS +LOCAL +HIDDEN +9 sH6
- +[0-9]+: 0+7c +0 +TLS +LOCAL +HIDDEN +9 sH8
- +[0-9]+: 0+40 +0 +TLS +LOCAL +HIDDEN +8 sh1
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
- +[0-9]+: 0+44 +0 +TLS +LOCAL +HIDDEN +8 sh2
- +[0-9]+: 0+54 +0 +TLS +LOCAL +HIDDEN +8 sh6
+ +[0-9]+: 0+60 +0 +TLS +LOCAL +DEFAULT +9 sH1
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+ +[0-9]+: 0+48 +0 +TLS +LOCAL +DEFAULT +8 sh3
+ +[0-9]+: 0+64 +0 +TLS +LOCAL +DEFAULT +9 sH2
+ +[0-9]+: 0+78 +0 +TLS +LOCAL +DEFAULT +9 sH7
+ +[0-9]+: 0+58 +0 +TLS +LOCAL +DEFAULT +8 sh7
+ +[0-9]+: 0+5c +0 +TLS +LOCAL +DEFAULT +8 sh8
+ +[0-9]+: 0+6c +0 +TLS +LOCAL +DEFAULT +9 sH4
+ +[0-9]+: 0+4c +0 +TLS +LOCAL +DEFAULT +8 sh4
+ +[0-9]+: 0+68 +0 +TLS +LOCAL +DEFAULT +9 sH3
+ +[0-9]+: 0+50 +0 +TLS +LOCAL +DEFAULT +8 sh5
+ +[0-9]+: 0+70 +0 +TLS +LOCAL +DEFAULT +9 sH5
+ +[0-9]+: 0+74 +0 +TLS +LOCAL +DEFAULT +9 sH6
+ +[0-9]+: 0+7c +0 +TLS +LOCAL +DEFAULT +9 sH8
+ +[0-9]+: 0+40 +0 +TLS +LOCAL +DEFAULT +8 sh1
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: 0+44 +0 +TLS +LOCAL +DEFAULT +8 sh2
+ +[0-9]+: 0+54 +0 +TLS +LOCAL +DEFAULT +8 sh6
+[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +8 sg8
+[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +8 sg3
+[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +8 sg4
diff --git a/ld/testsuite/ld-ia64/tlsbin.rd b/ld/testsuite/ld-ia64/tlsbin.rd
index 2929794..0ad3a77 100644
--- a/ld/testsuite/ld-ia64/tlsbin.rd
+++ b/ld/testsuite/ld-ia64/tlsbin.rd
@@ -100,8 +100,8 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +12 bl6
.* TLS +LOCAL +DEFAULT +12 bl7
.* TLS +LOCAL +DEFAULT +12 bl8
-.* OBJECT +LOCAL +HIDDEN +13 _DYNAMIC
-.* OBJECT +LOCAL +HIDDEN +14 _GLOBAL_OFFSET_TABLE_
+.* OBJECT +LOCAL +DEFAULT +13 _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +14 _GLOBAL_OFFSET_TABLE_
.* TLS +GLOBAL +DEFAULT +11 sg8
.* TLS +GLOBAL +DEFAULT +12 bg8
.* TLS +GLOBAL +DEFAULT +12 bg6
diff --git a/ld/testsuite/ld-ia64/tlspic.rd b/ld/testsuite/ld-ia64/tlspic.rd
index f44d75b..8320365 100644
--- a/ld/testsuite/ld-ia64/tlspic.rd
+++ b/ld/testsuite/ld-ia64/tlspic.rd
@@ -98,24 +98,24 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +10 sl6
.* TLS +LOCAL +DEFAULT +10 sl7
.* TLS +LOCAL +DEFAULT +10 sl8
-.* TLS +LOCAL +HIDDEN +11 sH1
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* TLS +LOCAL +HIDDEN +10 sh3
-.* TLS +LOCAL +HIDDEN +11 sH2
-.* TLS +LOCAL +HIDDEN +11 sH7
-.* TLS +LOCAL +HIDDEN +10 sh7
-.* TLS +LOCAL +HIDDEN +10 sh8
-.* TLS +LOCAL +HIDDEN +11 sH4
-.* TLS +LOCAL +HIDDEN +10 sh4
-.* TLS +LOCAL +HIDDEN +11 sH3
-.* TLS +LOCAL +HIDDEN +10 sh5
-.* TLS +LOCAL +HIDDEN +11 sH5
-.* TLS +LOCAL +HIDDEN +11 sH6
-.* TLS +LOCAL +HIDDEN +11 sH8
-.* TLS +LOCAL +HIDDEN +10 sh1
-.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
-.* TLS +LOCAL +HIDDEN +10 sh2
-.* TLS +LOCAL +HIDDEN +10 sh6
+.* TLS +LOCAL +DEFAULT +11 sH1
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* TLS +LOCAL +DEFAULT +10 sh3
+.* TLS +LOCAL +DEFAULT +11 sH2
+.* TLS +LOCAL +DEFAULT +11 sH7
+.* TLS +LOCAL +DEFAULT +10 sh7
+.* TLS +LOCAL +DEFAULT +10 sh8
+.* TLS +LOCAL +DEFAULT +11 sH4
+.* TLS +LOCAL +DEFAULT +10 sh4
+.* TLS +LOCAL +DEFAULT +11 sH3
+.* TLS +LOCAL +DEFAULT +10 sh5
+.* TLS +LOCAL +DEFAULT +11 sH5
+.* TLS +LOCAL +DEFAULT +11 sH6
+.* TLS +LOCAL +DEFAULT +11 sH8
+.* TLS +LOCAL +DEFAULT +10 sh1
+.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+.* TLS +LOCAL +DEFAULT +10 sh2
+.* TLS +LOCAL +DEFAULT +10 sh6
.* TLS +GLOBAL +DEFAULT +10 sg8
.* TLS +GLOBAL +DEFAULT +10 sg3
.* TLS +GLOBAL +DEFAULT +10 sg4
diff --git a/ld/testsuite/ld-powerpc/tlsexe.r b/ld/testsuite/ld-powerpc/tlsexe.r
index 32126f3..55d2503 100644
--- a/ld/testsuite/ld-powerpc/tlsexe.r
+++ b/ld/testsuite/ld-powerpc/tlsexe.r
@@ -95,7 +95,7 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +8 ie4
.* TLS +LOCAL +DEFAULT +8 le4
.* TLS +LOCAL +DEFAULT +8 le5
-.* OBJECT +LOCAL +HIDDEN +10 _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC
.* (FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt)
.* GLOBAL +DEFAULT +UND gd
.* GLOBAL +DEFAULT +9 le0
diff --git a/ld/testsuite/ld-powerpc/tlsexe32.r b/ld/testsuite/ld-powerpc/tlsexe32.r
index f5443bd..6983b08 100644
--- a/ld/testsuite/ld-powerpc/tlsexe32.r
+++ b/ld/testsuite/ld-powerpc/tlsexe32.r
@@ -92,8 +92,8 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +8 ie4
.* TLS +LOCAL +DEFAULT +8 le4
.* TLS +LOCAL +DEFAULT +8 le5
-.* OBJECT +LOCAL +HIDDEN +10 _DYNAMIC
-.* OBJECT +LOCAL +HIDDEN +11 _GLOBAL_OFFSET_TABLE_
+.* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_
.* TLS +GLOBAL +DEFAULT +UND gd
.* TLS +GLOBAL +DEFAULT +9 le0
.* TLS +GLOBAL +DEFAULT +9 ld0
diff --git a/ld/testsuite/ld-powerpc/tlsexetoc.r b/ld/testsuite/ld-powerpc/tlsexetoc.r
index 267cba5..1488eff 100644
--- a/ld/testsuite/ld-powerpc/tlsexetoc.r
+++ b/ld/testsuite/ld-powerpc/tlsexetoc.r
@@ -95,7 +95,7 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +8 le4
.* TLS +LOCAL +DEFAULT +8 le5
.* NOTYPE +LOCAL +DEFAULT +12 \.Lie0
-.* OBJECT +LOCAL +HIDDEN +10 _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC
.* (FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt)
.* TLS +GLOBAL +DEFAULT +UND gd
.* TLS +GLOBAL +DEFAULT +9 le0
diff --git a/ld/testsuite/ld-powerpc/tlsso.r b/ld/testsuite/ld-powerpc/tlsso.r
index c1a7347..b410199 100644
--- a/ld/testsuite/ld-powerpc/tlsso.r
+++ b/ld/testsuite/ld-powerpc/tlsso.r
@@ -109,7 +109,7 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +7 ie4
.* TLS +LOCAL +DEFAULT +7 le4
.* TLS +LOCAL +DEFAULT +7 le5
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
.* NOTYPE +LOCAL +DEFAULT +UND \.__tls_get_addr
.* TLS +GLOBAL +DEFAULT +UND gd
.* TLS +GLOBAL +DEFAULT +8 le0
diff --git a/ld/testsuite/ld-powerpc/tlsso32.r b/ld/testsuite/ld-powerpc/tlsso32.r
index aff469b..e075db2 100644
--- a/ld/testsuite/ld-powerpc/tlsso32.r
+++ b/ld/testsuite/ld-powerpc/tlsso32.r
@@ -110,8 +110,8 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +7 ie4
.* TLS +LOCAL +DEFAULT +7 le4
.* TLS +LOCAL +DEFAULT +7 le5
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
.* TLS +GLOBAL +DEFAULT +UND gd
.* TLS +GLOBAL +DEFAULT +8 le0
.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
diff --git a/ld/testsuite/ld-powerpc/tlstocso.r b/ld/testsuite/ld-powerpc/tlstocso.r
index 2855dda..3fc0162 100644
--- a/ld/testsuite/ld-powerpc/tlstocso.r
+++ b/ld/testsuite/ld-powerpc/tlstocso.r
@@ -105,7 +105,7 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +7 le4
.* TLS +LOCAL +DEFAULT +7 le5
.* NOTYPE +LOCAL +DEFAULT +11 \.Lie0
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
.* NOTYPE +LOCAL +DEFAULT +UND \.__tls_get_addr
.* TLS +GLOBAL +DEFAULT +UND gd
.* TLS +GLOBAL +DEFAULT +8 le0
diff --git a/ld/testsuite/ld-s390/tlsbin.rd b/ld/testsuite/ld-s390/tlsbin.rd
index a2b3084..678d92c 100644
--- a/ld/testsuite/ld-s390/tlsbin.rd
+++ b/ld/testsuite/ld-s390/tlsbin.rd
@@ -107,8 +107,8 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +10 bl6
.* TLS +LOCAL +DEFAULT +10 bl7
.* TLS +LOCAL +DEFAULT +10 bl8
-.* OBJECT +LOCAL +HIDDEN +11 _DYNAMIC
-.* OBJECT +LOCAL +HIDDEN +12 _GLOBAL_OFFSET_TABLE_
+.* OBJECT +LOCAL +DEFAULT +11 _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +12 _GLOBAL_OFFSET_TABLE_
.* TLS +GLOBAL +DEFAULT +UND sG3
.* TLS +GLOBAL +DEFAULT +9 sg8
.* TLS +GLOBAL +DEFAULT +10 bg8
diff --git a/ld/testsuite/ld-s390/tlsbin_64.rd b/ld/testsuite/ld-s390/tlsbin_64.rd
index b2c0987..1dcb6b7 100644
--- a/ld/testsuite/ld-s390/tlsbin_64.rd
+++ b/ld/testsuite/ld-s390/tlsbin_64.rd
@@ -107,8 +107,8 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +10 bl6
.* TLS +LOCAL +DEFAULT +10 bl7
.* TLS +LOCAL +DEFAULT +10 bl8
-.* OBJECT +LOCAL +HIDDEN +11 _DYNAMIC
-.* OBJECT +LOCAL +HIDDEN +12 _GLOBAL_OFFSET_TABLE_
+.* OBJECT +LOCAL +DEFAULT +11 _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +12 _GLOBAL_OFFSET_TABLE_
.* TLS +GLOBAL +DEFAULT +UND sG3
.* TLS +GLOBAL +DEFAULT +9 sg8
.* TLS +GLOBAL +DEFAULT +10 bg8
diff --git a/ld/testsuite/ld-s390/tlspic.rd b/ld/testsuite/ld-s390/tlspic.rd
index 6cee8ca..ec63e3d 100644
--- a/ld/testsuite/ld-s390/tlspic.rd
+++ b/ld/testsuite/ld-s390/tlspic.rd
@@ -109,24 +109,24 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +8 sl6
.* TLS +LOCAL +DEFAULT +8 sl7
.* TLS +LOCAL +DEFAULT +8 sl8
-.* TLS +LOCAL +HIDDEN +9 sH1
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* TLS +LOCAL +HIDDEN +8 sh3
-.* TLS +LOCAL +HIDDEN +9 sH2
-.* TLS +LOCAL +HIDDEN +9 sH7
-.* TLS +LOCAL +HIDDEN +8 sh7
-.* TLS +LOCAL +HIDDEN +8 sh8
-.* TLS +LOCAL +HIDDEN +9 sH4
-.* TLS +LOCAL +HIDDEN +8 sh4
-.* TLS +LOCAL +HIDDEN +9 sH3
-.* TLS +LOCAL +HIDDEN +8 sh5
-.* TLS +LOCAL +HIDDEN +9 sH5
-.* TLS +LOCAL +HIDDEN +9 sH6
-.* TLS +LOCAL +HIDDEN +9 sH8
-.* TLS +LOCAL +HIDDEN +8 sh1
-.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
-.* TLS +LOCAL +HIDDEN +8 sh2
-.* TLS +LOCAL +HIDDEN +8 sh6
+.* TLS +LOCAL +DEFAULT +9 sH1
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* TLS +LOCAL +DEFAULT +8 sh3
+.* TLS +LOCAL +DEFAULT +9 sH2
+.* TLS +LOCAL +DEFAULT +9 sH7
+.* TLS +LOCAL +DEFAULT +8 sh7
+.* TLS +LOCAL +DEFAULT +8 sh8
+.* TLS +LOCAL +DEFAULT +9 sH4
+.* TLS +LOCAL +DEFAULT +8 sh4
+.* TLS +LOCAL +DEFAULT +9 sH3
+.* TLS +LOCAL +DEFAULT +8 sh5
+.* TLS +LOCAL +DEFAULT +9 sH5
+.* TLS +LOCAL +DEFAULT +9 sH6
+.* TLS +LOCAL +DEFAULT +9 sH8
+.* TLS +LOCAL +DEFAULT +8 sh1
+.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+.* TLS +LOCAL +DEFAULT +8 sh2
+.* TLS +LOCAL +DEFAULT +8 sh6
.* TLS +GLOBAL +DEFAULT +8 sg8
.* TLS +GLOBAL +DEFAULT +8 sg3
.* TLS +GLOBAL +DEFAULT +8 sg4
diff --git a/ld/testsuite/ld-s390/tlspic_64.rd b/ld/testsuite/ld-s390/tlspic_64.rd
index 45a2691..da8c9bf 100644
--- a/ld/testsuite/ld-s390/tlspic_64.rd
+++ b/ld/testsuite/ld-s390/tlspic_64.rd
@@ -109,24 +109,24 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +8 sl6
.* TLS +LOCAL +DEFAULT +8 sl7
.* TLS +LOCAL +DEFAULT +8 sl8
-.* TLS +LOCAL +HIDDEN +9 sH1
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* TLS +LOCAL +HIDDEN +8 sh3
-.* TLS +LOCAL +HIDDEN +9 sH2
-.* TLS +LOCAL +HIDDEN +9 sH7
-.* TLS +LOCAL +HIDDEN +8 sh7
-.* TLS +LOCAL +HIDDEN +8 sh8
-.* TLS +LOCAL +HIDDEN +9 sH4
-.* TLS +LOCAL +HIDDEN +8 sh4
-.* TLS +LOCAL +HIDDEN +9 sH3
-.* TLS +LOCAL +HIDDEN +8 sh5
-.* TLS +LOCAL +HIDDEN +9 sH5
-.* TLS +LOCAL +HIDDEN +9 sH6
-.* TLS +LOCAL +HIDDEN +9 sH8
-.* TLS +LOCAL +HIDDEN +8 sh1
-.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
-.* TLS +LOCAL +HIDDEN +8 sh2
-.* TLS +LOCAL +HIDDEN +8 sh6
+.* TLS +LOCAL +DEFAULT +9 sH1
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* TLS +LOCAL +DEFAULT +8 sh3
+.* TLS +LOCAL +DEFAULT +9 sH2
+.* TLS +LOCAL +DEFAULT +9 sH7
+.* TLS +LOCAL +DEFAULT +8 sh7
+.* TLS +LOCAL +DEFAULT +8 sh8
+.* TLS +LOCAL +DEFAULT +9 sH4
+.* TLS +LOCAL +DEFAULT +8 sh4
+.* TLS +LOCAL +DEFAULT +9 sH3
+.* TLS +LOCAL +DEFAULT +8 sh5
+.* TLS +LOCAL +DEFAULT +9 sH5
+.* TLS +LOCAL +DEFAULT +9 sH6
+.* TLS +LOCAL +DEFAULT +9 sH8
+.* TLS +LOCAL +DEFAULT +8 sh1
+.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+.* TLS +LOCAL +DEFAULT +8 sh2
+.* TLS +LOCAL +DEFAULT +8 sh6
.* TLS +GLOBAL +DEFAULT +8 sg8
.* TLS +GLOBAL +DEFAULT +8 sg3
.* TLS +GLOBAL +DEFAULT +8 sg4
diff --git a/ld/testsuite/ld-sparc/gotop32.rd b/ld/testsuite/ld-sparc/gotop32.rd
index f4b576f..566066c 100644
--- a/ld/testsuite/ld-sparc/gotop32.rd
+++ b/ld/testsuite/ld-sparc/gotop32.rd
@@ -59,9 +59,9 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* SECTION +LOCAL +DEFAULT +6 *
.* SECTION +LOCAL +DEFAULT +7 *
.* SECTION +LOCAL +DEFAULT +8 *
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
-.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
+.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
.* FUNC +GLOBAL +DEFAULT +5 foo
.* NOTYPE +GLOBAL +DEFAULT +ABS _edata
diff --git a/ld/testsuite/ld-sparc/gotop64.rd b/ld/testsuite/ld-sparc/gotop64.rd
index 06f71fe..4d3e519 100644
--- a/ld/testsuite/ld-sparc/gotop64.rd
+++ b/ld/testsuite/ld-sparc/gotop64.rd
@@ -59,9 +59,9 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* SECTION +LOCAL +DEFAULT +6 *
.* SECTION +LOCAL +DEFAULT +7 *
.* SECTION +LOCAL +DEFAULT +8 *
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
-.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
+.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
.* FUNC +GLOBAL +DEFAULT +5 foo
.* NOTYPE +GLOBAL +DEFAULT +ABS _edata
diff --git a/ld/testsuite/ld-sparc/tlssunbin32.rd b/ld/testsuite/ld-sparc/tlssunbin32.rd
index e5fbf08..69a0317 100644
--- a/ld/testsuite/ld-sparc/tlssunbin32.rd
+++ b/ld/testsuite/ld-sparc/tlssunbin32.rd
@@ -87,9 +87,9 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +8 bl6
.* TLS +LOCAL +DEFAULT +8 bl7
.* TLS +LOCAL +DEFAULT +8 bl8
-.* OBJECT +LOCAL +HIDDEN +9 _DYNAMIC
-.* OBJECT +LOCAL +HIDDEN +10 _PROCEDURE_LINKAGE_TABLE_
-.* OBJECT +LOCAL +HIDDEN +10 _GLOBAL_OFFSET_TABLE_
+.* OBJECT +LOCAL +DEFAULT +9 _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +10 _PROCEDURE_LINKAGE_TABLE_
+.* OBJECT +LOCAL +DEFAULT +10 _GLOBAL_OFFSET_TABLE_
.* TLS +GLOBAL +DEFAULT +7 sg8
.* TLS +GLOBAL +DEFAULT +8 bg8
.* TLS +GLOBAL +DEFAULT +8 bg6
diff --git a/ld/testsuite/ld-sparc/tlssunbin64.rd b/ld/testsuite/ld-sparc/tlssunbin64.rd
index 50a98c1..483a9cf 100644
--- a/ld/testsuite/ld-sparc/tlssunbin64.rd
+++ b/ld/testsuite/ld-sparc/tlssunbin64.rd
@@ -87,9 +87,9 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +8 bl6
.* TLS +LOCAL +DEFAULT +8 bl7
.* TLS +LOCAL +DEFAULT +8 bl8
-.* OBJECT +LOCAL +HIDDEN +9 _DYNAMIC
-.* OBJECT +LOCAL +HIDDEN +10 _PROCEDURE_LINKAGE_TABLE_
-.* OBJECT +LOCAL +HIDDEN +10 _GLOBAL_OFFSET_TABLE_
+.* OBJECT +LOCAL +DEFAULT +9 _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +10 _PROCEDURE_LINKAGE_TABLE_
+.* OBJECT +LOCAL +DEFAULT +10 _GLOBAL_OFFSET_TABLE_
.* TLS +GLOBAL +DEFAULT +7 sg8
.* TLS +GLOBAL +DEFAULT +8 bg8
.* TLS +GLOBAL +DEFAULT +8 bg6
diff --git a/ld/testsuite/ld-sparc/tlssunnopic32.rd b/ld/testsuite/ld-sparc/tlssunnopic32.rd
index 04797b1..a35652b 100644
--- a/ld/testsuite/ld-sparc/tlssunnopic32.rd
+++ b/ld/testsuite/ld-sparc/tlssunnopic32.rd
@@ -78,13 +78,13 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +6 bl3
.* TLS +LOCAL +DEFAULT +6 bl4
.* TLS +LOCAL +DEFAULT +6 bl5
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* TLS +LOCAL +HIDDEN +6 sh3
-.* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
-.* TLS +LOCAL +HIDDEN +6 sh4
-.* TLS +LOCAL +HIDDEN +6 sh1
-.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
-.* TLS +LOCAL +HIDDEN +6 sh2
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* TLS +LOCAL +DEFAULT +6 sh3
+.* OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
+.* TLS +LOCAL +DEFAULT +6 sh4
+.* TLS +LOCAL +DEFAULT +6 sh1
+.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+.* TLS +LOCAL +DEFAULT +6 sh2
.* FUNC +GLOBAL +DEFAULT +5 fn3
.* TLS +GLOBAL +DEFAULT +UND sg1
.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
diff --git a/ld/testsuite/ld-sparc/tlssunnopic64.rd b/ld/testsuite/ld-sparc/tlssunnopic64.rd
index 44c09e9..3ccea67 100644
--- a/ld/testsuite/ld-sparc/tlssunnopic64.rd
+++ b/ld/testsuite/ld-sparc/tlssunnopic64.rd
@@ -80,13 +80,13 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +6 bl3
.* TLS +LOCAL +DEFAULT +6 bl4
.* TLS +LOCAL +DEFAULT +6 bl5
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* TLS +LOCAL +HIDDEN +6 sh3
-.* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
-.* TLS +LOCAL +HIDDEN +6 sh4
-.* TLS +LOCAL +HIDDEN +6 sh1
-.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
-.* TLS +LOCAL +HIDDEN +6 sh2
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* TLS +LOCAL +DEFAULT +6 sh3
+.* OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
+.* TLS +LOCAL +DEFAULT +6 sh4
+.* TLS +LOCAL +DEFAULT +6 sh1
+.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+.* TLS +LOCAL +DEFAULT +6 sh2
.* FUNC +GLOBAL +DEFAULT +5 fn3
.* TLS +GLOBAL +DEFAULT +UND sg1
.* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
diff --git a/ld/testsuite/ld-sparc/tlssunpic32.rd b/ld/testsuite/ld-sparc/tlssunpic32.rd
index 46f0163..6ab67e9 100644
--- a/ld/testsuite/ld-sparc/tlssunpic32.rd
+++ b/ld/testsuite/ld-sparc/tlssunpic32.rd
@@ -101,25 +101,25 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +7 sl6
.* TLS +LOCAL +DEFAULT +7 sl7
.* TLS +LOCAL +DEFAULT +7 sl8
-.* TLS +LOCAL +HIDDEN +8 sH1
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* TLS +LOCAL +HIDDEN +7 sh3
-.* TLS +LOCAL +HIDDEN +8 sH2
-.* TLS +LOCAL +HIDDEN +8 sH7
-.* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
-.* TLS +LOCAL +HIDDEN +7 sh7
-.* TLS +LOCAL +HIDDEN +7 sh8
-.* TLS +LOCAL +HIDDEN +8 sH4
-.* TLS +LOCAL +HIDDEN +7 sh4
-.* TLS +LOCAL +HIDDEN +8 sH3
-.* TLS +LOCAL +HIDDEN +7 sh5
-.* TLS +LOCAL +HIDDEN +8 sH5
-.* TLS +LOCAL +HIDDEN +8 sH6
-.* TLS +LOCAL +HIDDEN +8 sH8
-.* TLS +LOCAL +HIDDEN +7 sh1
-.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
-.* TLS +LOCAL +HIDDEN +7 sh2
-.* TLS +LOCAL +HIDDEN +7 sh6
+.* TLS +LOCAL +DEFAULT +8 sH1
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* TLS +LOCAL +DEFAULT +7 sh3
+.* TLS +LOCAL +DEFAULT +8 sH2
+.* TLS +LOCAL +DEFAULT +8 sH7
+.* OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
+.* TLS +LOCAL +DEFAULT +7 sh7
+.* TLS +LOCAL +DEFAULT +7 sh8
+.* TLS +LOCAL +DEFAULT +8 sH4
+.* TLS +LOCAL +DEFAULT +7 sh4
+.* TLS +LOCAL +DEFAULT +8 sH3
+.* TLS +LOCAL +DEFAULT +7 sh5
+.* TLS +LOCAL +DEFAULT +8 sH5
+.* TLS +LOCAL +DEFAULT +8 sH6
+.* TLS +LOCAL +DEFAULT +8 sH8
+.* TLS +LOCAL +DEFAULT +7 sh1
+.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+.* TLS +LOCAL +DEFAULT +7 sh2
+.* TLS +LOCAL +DEFAULT +7 sh6
.* TLS +GLOBAL +DEFAULT +7 sg8
.* TLS +GLOBAL +DEFAULT +7 sg3
.* TLS +GLOBAL +DEFAULT +7 sg4
diff --git a/ld/testsuite/ld-sparc/tlssunpic64.rd b/ld/testsuite/ld-sparc/tlssunpic64.rd
index 44d468b..35a7c79 100644
--- a/ld/testsuite/ld-sparc/tlssunpic64.rd
+++ b/ld/testsuite/ld-sparc/tlssunpic64.rd
@@ -101,25 +101,25 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +7 sl6
.* TLS +LOCAL +DEFAULT +7 sl7
.* TLS +LOCAL +DEFAULT +7 sl8
-.* TLS +LOCAL +HIDDEN +8 sH1
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* TLS +LOCAL +HIDDEN +7 sh3
-.* TLS +LOCAL +HIDDEN +8 sH2
-.* TLS +LOCAL +HIDDEN +8 sH7
-.* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
-.* TLS +LOCAL +HIDDEN +7 sh7
-.* TLS +LOCAL +HIDDEN +7 sh8
-.* TLS +LOCAL +HIDDEN +8 sH4
-.* TLS +LOCAL +HIDDEN +7 sh4
-.* TLS +LOCAL +HIDDEN +8 sH3
-.* TLS +LOCAL +HIDDEN +7 sh5
-.* TLS +LOCAL +HIDDEN +8 sH5
-.* TLS +LOCAL +HIDDEN +8 sH6
-.* TLS +LOCAL +HIDDEN +8 sH8
-.* TLS +LOCAL +HIDDEN +7 sh1
-.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
-.* TLS +LOCAL +HIDDEN +7 sh2
-.* TLS +LOCAL +HIDDEN +7 sh6
+.* TLS +LOCAL +DEFAULT +8 sH1
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* TLS +LOCAL +DEFAULT +7 sh3
+.* TLS +LOCAL +DEFAULT +8 sH2
+.* TLS +LOCAL +DEFAULT +8 sH7
+.* OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
+.* TLS +LOCAL +DEFAULT +7 sh7
+.* TLS +LOCAL +DEFAULT +7 sh8
+.* TLS +LOCAL +DEFAULT +8 sH4
+.* TLS +LOCAL +DEFAULT +7 sh4
+.* TLS +LOCAL +DEFAULT +8 sH3
+.* TLS +LOCAL +DEFAULT +7 sh5
+.* TLS +LOCAL +DEFAULT +8 sH5
+.* TLS +LOCAL +DEFAULT +8 sH6
+.* TLS +LOCAL +DEFAULT +8 sH8
+.* TLS +LOCAL +DEFAULT +7 sh1
+.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+.* TLS +LOCAL +DEFAULT +7 sh2
+.* TLS +LOCAL +DEFAULT +7 sh6
.* TLS +GLOBAL +DEFAULT +7 sg8
.* TLS +GLOBAL +DEFAULT +7 sg3
.* TLS +GLOBAL +DEFAULT +7 sg4
diff --git a/ld/testsuite/ld-x86-64/tlsbin.rd b/ld/testsuite/ld-x86-64/tlsbin.rd
index 3f0556c..03e5efc 100644
--- a/ld/testsuite/ld-x86-64/tlsbin.rd
+++ b/ld/testsuite/ld-x86-64/tlsbin.rd
@@ -109,8 +109,8 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +10 bl6
.* TLS +LOCAL +DEFAULT +10 bl7
.* TLS +LOCAL +DEFAULT +10 bl8
-.* OBJECT +LOCAL +HIDDEN +11 _DYNAMIC
-.* OBJECT +LOCAL +HIDDEN +13 _GLOBAL_OFFSET_TABLE_
+.* OBJECT +LOCAL +DEFAULT +11 _DYNAMIC
+.* OBJECT +LOCAL +DEFAULT +13 _GLOBAL_OFFSET_TABLE_
.* TLS +GLOBAL +DEFAULT +9 sg8
.* TLS +GLOBAL +DEFAULT +10 bg8
.* TLS +GLOBAL +DEFAULT +10 bg6
diff --git a/ld/testsuite/ld-x86-64/tlsbindesc.rd b/ld/testsuite/ld-x86-64/tlsbindesc.rd
index dab8c5b..7e94022 100644
--- a/ld/testsuite/ld-x86-64/tlsbindesc.rd
+++ b/ld/testsuite/ld-x86-64/tlsbindesc.rd
@@ -100,9 +100,9 @@ Symbol table '\.symtab' contains [0-9]+ entries:
+[0-9]+: 0+94 +0 +TLS +LOCAL +DEFAULT +8 bl6
+[0-9]+: 0+98 +0 +TLS +LOCAL +DEFAULT +8 bl7
+[0-9]+: 0+9c +0 +TLS +LOCAL +DEFAULT +8 bl8
- +[0-9]+: 0+a0 +0 +TLS +LOCAL +HIDDEN +7 _TLS_MODULE_BASE_
- +[0-9]+: 0+601258 +0 +OBJECT +LOCAL +HIDDEN +9 _DYNAMIC
- +[0-9]+: 0+601378 +0 +OBJECT +LOCAL +HIDDEN +11 _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: 0+a0 +0 +TLS +LOCAL +DEFAULT +7 _TLS_MODULE_BASE_
+ +[0-9]+: 0+601258 +0 +OBJECT +LOCAL +DEFAULT +9 _DYNAMIC
+ +[0-9]+: 0+601378 +0 +OBJECT +LOCAL +DEFAULT +11 _GLOBAL_OFFSET_TABLE_
+[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8
+[0-9]+: 0+7c +0 +TLS +GLOBAL +DEFAULT +8 bg8
+[0-9]+: 0+74 +0 +TLS +GLOBAL +DEFAULT +8 bg6
diff --git a/ld/testsuite/ld-x86-64/tlsdesc.rd b/ld/testsuite/ld-x86-64/tlsdesc.rd
index e361352..662b639 100644
--- a/ld/testsuite/ld-x86-64/tlsdesc.rd
+++ b/ld/testsuite/ld-x86-64/tlsdesc.rd
@@ -127,25 +127,25 @@ Symbol table '\.symtab' contains [0-9]+ entries:
+[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +8 sl6
+[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +8 sl7
+[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +8 sl8
- +[0-9]+: 0+60 +0 +TLS +LOCAL +HIDDEN +9 sH1
- +[0-9]+: 0+ +0 +TLS +LOCAL +HIDDEN +8 _TLS_MODULE_BASE_
- +[0-9]+: 0+2011b8 +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
- +[0-9]+: 0+48 +0 +TLS +LOCAL +HIDDEN +8 sh3
- +[0-9]+: 0+64 +0 +TLS +LOCAL +HIDDEN +9 sH2
- +[0-9]+: 0+78 +0 +TLS +LOCAL +HIDDEN +9 sH7
- +[0-9]+: 0+58 +0 +TLS +LOCAL +HIDDEN +8 sh7
- +[0-9]+: 0+5c +0 +TLS +LOCAL +HIDDEN +8 sh8
- +[0-9]+: 0+6c +0 +TLS +LOCAL +HIDDEN +9 sH4
- +[0-9]+: 0+4c +0 +TLS +LOCAL +HIDDEN +8 sh4
- +[0-9]+: 0+68 +0 +TLS +LOCAL +HIDDEN +9 sH3
- +[0-9]+: 0+50 +0 +TLS +LOCAL +HIDDEN +8 sh5
- +[0-9]+: 0+70 +0 +TLS +LOCAL +HIDDEN +9 sH5
- +[0-9]+: 0+74 +0 +TLS +LOCAL +HIDDEN +9 sH6
- +[0-9]+: 0+7c +0 +TLS +LOCAL +HIDDEN +9 sH8
- +[0-9]+: 0+40 +0 +TLS +LOCAL +HIDDEN +8 sh1
- +[0-9]+: 0+201350 +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
- +[0-9]+: 0+44 +0 +TLS +LOCAL +HIDDEN +8 sh2
- +[0-9]+: 0+54 +0 +TLS +LOCAL +HIDDEN +8 sh6
+ +[0-9]+: 0+60 +0 +TLS +LOCAL +DEFAULT +9 sH1
+ +[0-9]+: 0+ +0 +TLS +LOCAL +DEFAULT +8 _TLS_MODULE_BASE_
+ +[0-9]+: 0+2011b8 +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+ +[0-9]+: 0+48 +0 +TLS +LOCAL +DEFAULT +8 sh3
+ +[0-9]+: 0+64 +0 +TLS +LOCAL +DEFAULT +9 sH2
+ +[0-9]+: 0+78 +0 +TLS +LOCAL +DEFAULT +9 sH7
+ +[0-9]+: 0+58 +0 +TLS +LOCAL +DEFAULT +8 sh7
+ +[0-9]+: 0+5c +0 +TLS +LOCAL +DEFAULT +8 sh8
+ +[0-9]+: 0+6c +0 +TLS +LOCAL +DEFAULT +9 sH4
+ +[0-9]+: 0+4c +0 +TLS +LOCAL +DEFAULT +8 sh4
+ +[0-9]+: 0+68 +0 +TLS +LOCAL +DEFAULT +9 sH3
+ +[0-9]+: 0+50 +0 +TLS +LOCAL +DEFAULT +8 sh5
+ +[0-9]+: 0+70 +0 +TLS +LOCAL +DEFAULT +9 sH5
+ +[0-9]+: 0+74 +0 +TLS +LOCAL +DEFAULT +9 sH6
+ +[0-9]+: 0+7c +0 +TLS +LOCAL +DEFAULT +9 sH8
+ +[0-9]+: 0+40 +0 +TLS +LOCAL +DEFAULT +8 sh1
+ +[0-9]+: 0+201350 +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: 0+44 +0 +TLS +LOCAL +DEFAULT +8 sh2
+ +[0-9]+: 0+54 +0 +TLS +LOCAL +DEFAULT +8 sh6
+[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +8 sg8
+[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +8 sg3
+[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +8 sg4
diff --git a/ld/testsuite/ld-x86-64/tlsgdesc.rd b/ld/testsuite/ld-x86-64/tlsgdesc.rd
index 3d42032..61d2fa8 100644
--- a/ld/testsuite/ld-x86-64/tlsgdesc.rd
+++ b/ld/testsuite/ld-x86-64/tlsgdesc.rd
@@ -89,8 +89,8 @@ Symbol table '\.symtab' contains [0-9]+ entries:
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
diff --git a/ld/testsuite/ld-x86-64/tlspic.rd b/ld/testsuite/ld-x86-64/tlspic.rd
index 86d7cc8..798703e 100644
--- a/ld/testsuite/ld-x86-64/tlspic.rd
+++ b/ld/testsuite/ld-x86-64/tlspic.rd
@@ -111,24 +111,24 @@ Symbol table '\.symtab' contains [0-9]+ entries:
.* TLS +LOCAL +DEFAULT +8 sl6
.* TLS +LOCAL +DEFAULT +8 sl7
.* TLS +LOCAL +DEFAULT +8 sl8
-.* TLS +LOCAL +HIDDEN +9 sH1
-.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
-.* TLS +LOCAL +HIDDEN +8 sh3
-.* TLS +LOCAL +HIDDEN +9 sH2
-.* TLS +LOCAL +HIDDEN +9 sH7
-.* TLS +LOCAL +HIDDEN +8 sh7
-.* TLS +LOCAL +HIDDEN +8 sh8
-.* TLS +LOCAL +HIDDEN +9 sH4
-.* TLS +LOCAL +HIDDEN +8 sh4
-.* TLS +LOCAL +HIDDEN +9 sH3
-.* TLS +LOCAL +HIDDEN +8 sh5
-.* TLS +LOCAL +HIDDEN +9 sH5
-.* TLS +LOCAL +HIDDEN +9 sH6
-.* TLS +LOCAL +HIDDEN +9 sH8
-.* TLS +LOCAL +HIDDEN +8 sh1
-.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
-.* TLS +LOCAL +HIDDEN +8 sh2
-.* TLS +LOCAL +HIDDEN +8 sh6
+.* TLS +LOCAL +DEFAULT +9 sH1
+.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+.* TLS +LOCAL +DEFAULT +8 sh3
+.* TLS +LOCAL +DEFAULT +9 sH2
+.* TLS +LOCAL +DEFAULT +9 sH7
+.* TLS +LOCAL +DEFAULT +8 sh7
+.* TLS +LOCAL +DEFAULT +8 sh8
+.* TLS +LOCAL +DEFAULT +9 sH4
+.* TLS +LOCAL +DEFAULT +8 sh4
+.* TLS +LOCAL +DEFAULT +9 sH3
+.* TLS +LOCAL +DEFAULT +8 sh5
+.* TLS +LOCAL +DEFAULT +9 sH5
+.* TLS +LOCAL +DEFAULT +9 sH6
+.* TLS +LOCAL +DEFAULT +9 sH8
+.* TLS +LOCAL +DEFAULT +8 sh1
+.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
+.* TLS +LOCAL +DEFAULT +8 sh2
+.* TLS +LOCAL +DEFAULT +8 sh6
.* TLS +GLOBAL +DEFAULT +8 sg8
.* TLS +GLOBAL +DEFAULT +8 sg3
.* TLS +GLOBAL +DEFAULT +8 sg4
diff --git a/ld/testsuite/ld-xtensa/tlsbin.rd b/ld/testsuite/ld-xtensa/tlsbin.rd
index d70d2eb..dcb9fab 100644
--- a/ld/testsuite/ld-xtensa/tlsbin.rd
+++ b/ld/testsuite/ld-xtensa/tlsbin.rd
@@ -92,8 +92,8 @@ Symbol table '\.symtab' contains [0-9]+ entries:
+[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl6
+[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl7
+[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl8
- +[0-9]+: 0+ +0 +TLS +LOCAL +HIDDEN +8 _TLS_MODULE_BASE_
- +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +HIDDEN +9 _DYNAMIC
+ +[0-9]+: 0+ +0 +TLS +LOCAL +DEFAULT +8 _TLS_MODULE_BASE_
+ +[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +9 _DYNAMIC
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg8
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg3
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh3
diff --git a/ld/testsuite/ld-xtensa/tlspic.rd b/ld/testsuite/ld-xtensa/tlspic.rd
index 72cee3d..92d704e 100644
--- a/ld/testsuite/ld-xtensa/tlspic.rd
+++ b/ld/testsuite/ld-xtensa/tlspic.rd
@@ -110,24 +110,24 @@ Symbol table '\.symtab' contains [0-9]+ entries:
+[0-9]+: 0+34 +0 +TLS +LOCAL +DEFAULT +7 sl6
+[0-9]+: 0+38 +0 +TLS +LOCAL +DEFAULT +7 sl7
+[0-9]+: 0+3c +0 +TLS +LOCAL +DEFAULT +7 sl8
- +[0-9]+: 0+60 +0 +TLS +LOCAL +HIDDEN +8 sH1
- +[0-9]+: 0+ +0 +TLS +LOCAL +HIDDEN +7 _TLS_MODULE_BASE_
- +[0-9]+: 0+144c +0 +OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
- +[0-9]+: 0+48 +0 +TLS +LOCAL +HIDDEN +7 sh3
- +[0-9]+: 0+64 +0 +TLS +LOCAL +HIDDEN +8 sH2
- +[0-9]+: 0+78 +0 +TLS +LOCAL +HIDDEN +8 sH7
- +[0-9]+: 0+58 +0 +TLS +LOCAL +HIDDEN +7 sh7
- +[0-9]+: 0+5c +0 +TLS +LOCAL +HIDDEN +7 sh8
- +[0-9]+: 0+6c +0 +TLS +LOCAL +HIDDEN +8 sH4
- +[0-9]+: 0+4c +0 +TLS +LOCAL +HIDDEN +7 sh4
- +[0-9]+: 0+68 +0 +TLS +LOCAL +HIDDEN +8 sH3
- +[0-9]+: 0+50 +0 +TLS +LOCAL +HIDDEN +7 sh5
- +[0-9]+: 0+70 +0 +TLS +LOCAL +HIDDEN +8 sH5
- +[0-9]+: 0+74 +0 +TLS +LOCAL +HIDDEN +8 sH6
- +[0-9]+: 0+7c +0 +TLS +LOCAL +HIDDEN +8 sH8
- +[0-9]+: 0+40 +0 +TLS +LOCAL +HIDDEN +7 sh1
- +[0-9]+: 0+44 +0 +TLS +LOCAL +HIDDEN +7 sh2
- +[0-9]+: 0+54 +0 +TLS +LOCAL +HIDDEN +7 sh6
+ +[0-9]+: 0+60 +0 +TLS +LOCAL +DEFAULT +8 sH1
+ +[0-9]+: 0+ +0 +TLS +LOCAL +DEFAULT +7 _TLS_MODULE_BASE_
+ +[0-9]+: 0+144c +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
+ +[0-9]+: 0+48 +0 +TLS +LOCAL +DEFAULT +7 sh3
+ +[0-9]+: 0+64 +0 +TLS +LOCAL +DEFAULT +8 sH2
+ +[0-9]+: 0+78 +0 +TLS +LOCAL +DEFAULT +8 sH7
+ +[0-9]+: 0+58 +0 +TLS +LOCAL +DEFAULT +7 sh7
+ +[0-9]+: 0+5c +0 +TLS +LOCAL +DEFAULT +7 sh8
+ +[0-9]+: 0+6c +0 +TLS +LOCAL +DEFAULT +8 sH4
+ +[0-9]+: 0+4c +0 +TLS +LOCAL +DEFAULT +7 sh4
+ +[0-9]+: 0+68 +0 +TLS +LOCAL +DEFAULT +8 sH3
+ +[0-9]+: 0+50 +0 +TLS +LOCAL +DEFAULT +7 sh5
+ +[0-9]+: 0+70 +0 +TLS +LOCAL +DEFAULT +8 sH5
+ +[0-9]+: 0+74 +0 +TLS +LOCAL +DEFAULT +8 sH6
+ +[0-9]+: 0+7c +0 +TLS +LOCAL +DEFAULT +8 sH8
+ +[0-9]+: 0+40 +0 +TLS +LOCAL +DEFAULT +7 sh1
+ +[0-9]+: 0+44 +0 +TLS +LOCAL +DEFAULT +7 sh2
+ +[0-9]+: 0+54 +0 +TLS +LOCAL +DEFAULT +7 sh6
+[0-9]+: 0+1c +0 +TLS +GLOBAL +DEFAULT +7 sg8
+[0-9]+: 0+8 +0 +TLS +GLOBAL +DEFAULT +7 sg3
+[0-9]+: 0+c +0 +TLS +GLOBAL +DEFAULT +7 sg4