summaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2009-09-24 15:56:52 +0000
committerH.J. Lu <hjl.tools@gmail.com>2009-09-24 15:56:52 +0000
commit935bd1e079100b6d6fa0fa7cfd7c20a7f588cfea (patch)
tree34a9f4aee3919efc35841a55229dfaa2ad7cb83b /ld
parentf4be36b3fb26d687944e39d46cef536fb1fa4de4 (diff)
downloadbinutils-gdb-935bd1e079100b6d6fa0fa7cfd7c20a7f588cfea.tar.gz
bfd/
2009-09-24 H.J. Lu <hongjiu.lu@intel.com> PR ld/10630 * elflink.c (elf_link_output_extsym): Turn off visibility on local symbol. (bfd_elf_final_link): Turn off visibility on dynamic local symbol. ld/testsuite/ 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.
Diffstat (limited to 'ld')
-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 32d11f375e3..ec944b6e774 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 aeeda2b083f..44633ac43b8 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 0aead2426b3..247957d5eae 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 1aeb247b608..ac6a38a593d 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 ff1a4db7d87..165e2228e10 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 e38c642fe34..ac26b28ea4e 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 8b51d45c55d..735b10ec4ff 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 d4fd8fce4a2..0c723b06d47 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 2ea7d0d6ea4..201e0b114b1 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 273ac1f6de2..6d84e0041f2 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 cfed0e5a5e9..60fcc3be108 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 dd9b30a3c74..e547ba4aa0f 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 048b7e92867..d8d5324f5cf 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 de387dbe2d7..2f4257e161d 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 49a2dda4464..f3c78df681c 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 37e8fce6225..210f4789ef1 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 9e8fab38814..2e024bd4422 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 ed2803c21a8..f63be5c2fa6 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 b87d1d48c71..2ac3d71cb57 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 756f1b0570d..c2ea111100f 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 b178ad4c713..0b54114c0d5 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 92fcb8842d8..c537050d1b0 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 3b101ada395..4634dd2e0a6 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 84d033f7d4f..8583bd23441 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 3242833e523..f6280971200 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 bc9aeab34b9..f813858b05a 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 0585b1cb004..44a11cea2b7 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 0585b1cb004..44a11cea2b7 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 6671794ade6..2996277633b 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 0bfdaab9db4..84cec7858d2 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 43b8c14c3e7..c2cea19959c 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 311973af73b..42edd44a586 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 62f12f617c0..3a224a24066 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 9f011cfa718..2590a9ff4a9 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 3a264e32365..46b8ed55c61 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 29297940940..0ad3a77b257 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 f44d75bbe21..8320365af15 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 32126f3708c..55d2503fa31 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 f5443bd3595..6983b0809b8 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 267cba5b2dd..1488effe0af 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 c1a7347ff74..b41019930ee 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 aff469b5a0d..e075db2c347 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 2855ddadcba..3fc01620b59 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 a2b30847e63..678d92cfe05 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 b2c0987a614..1dcb6b72dfe 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 6cee8ca8ef1..ec63e3d6337 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 45a2691c033..da8c9bf7a7d 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 f4b576fc6eb..566066c0f1a 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 06f71fe4e54..4d3e519a742 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 e5fbf085ec2..69a0317735f 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 50a98c1fa9b..483a9cf798e 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 04797b1d37e..a35652bb05e 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 44c09e91ad5..3ccea679b56 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 46f0163c441..6ab67e9b5df 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 44d468b27b0..35a7c79f12b 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 3f0556ca07d..03e5efcc9e0 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 dab8c5b2fe4..7e94022f132 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 e3613520d5b..662b6393041 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 3d420323b44..61d2fa84f38 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 86d7cc876c0..798703e5cd2 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 d70d2ebffee..dcb9fab7bb4 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 72cee3d90e8..92d704e5004 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