aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-08-17 10:04:33 +0000
committerAlan Modra <amodra@gmail.com>2005-08-17 10:04:33 +0000
commit8d1d654fb401245cefa690a03e61f56cf953999e (patch)
tree44b27e48ddbe743fbe28ea8678f19cfc5444c3e6 /ld
parent11eec5fc78980381aed0ef238ce353096c940baa (diff)
downloadgdb-8d1d654fb401245cefa690a03e61f56cf953999e.zip
gdb-8d1d654fb401245cefa690a03e61f56cf953999e.tar.gz
gdb-8d1d654fb401245cefa690a03e61f56cf953999e.tar.bz2
bfd/
* elf32-cris.c (elf_cris_adjust_gotplt_to_got): Move assert later. * elfxx-mips.c (_bfd_mips_elf_hide_symbol): Cope with being called without any got section. ld/testsuite/ * ld-alpha/tlsbin.rd: Update. * ld-alpha/tlsbinr.rd: Update. * ld-cris/locref1.d: Update. * ld-cris/locref2.d: Update. * ld-i386/tlsbin.rd: Update. * ld-ia64/tlsbin.rd: Update. * ld-powerpc/tlsexe.r: Update. * ld-powerpc/tlsexe32.r: Update. * ld-powerpc/tlsexetoc.r: Update. * ld-s390/tlsbin.rd: Update. * ld-s390/tlsbin_64.rd: Update. * ld-sparc/tlssunbin32.rd: Update. * ld-sparc/tlssunbin64.rd: Update. * ld-x86-64/tlsbin.rd: Update.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog17
-rw-r--r--ld/testsuite/ld-alpha/tlsbin.rd6
-rw-r--r--ld/testsuite/ld-alpha/tlsbinr.rd6
-rw-r--r--ld/testsuite/ld-cris/locref1.d3
-rw-r--r--ld/testsuite/ld-cris/locref2.d3
-rw-r--r--ld/testsuite/ld-i386/tlsbin.rd4
-rw-r--r--ld/testsuite/ld-ia64/tlsbin.rd4
-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-s390/tlsbin.rd4
-rw-r--r--ld/testsuite/ld-s390/tlsbin_64.rd4
-rw-r--r--ld/testsuite/ld-sparc/tlssunbin32.rd6
-rw-r--r--ld/testsuite/ld-sparc/tlssunbin64.rd6
-rw-r--r--ld/testsuite/ld-x86-64/tlsbin.rd4
15 files changed, 45 insertions, 30 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 0b7dc41..14e0877 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,20 @@
+2005-08-17 Alan Modra <amodra@bigpond.net.au>
+
+ * ld-alpha/tlsbin.rd: Update.
+ * ld-alpha/tlsbinr.rd: Update.
+ * ld-cris/locref1.d: Update.
+ * ld-cris/locref2.d: Update.
+ * ld-i386/tlsbin.rd: Update.
+ * ld-ia64/tlsbin.rd: Update.
+ * ld-powerpc/tlsexe.r: Update.
+ * ld-powerpc/tlsexe32.r: Update.
+ * ld-powerpc/tlsexetoc.r: Update.
+ * ld-s390/tlsbin.rd: Update.
+ * ld-s390/tlsbin_64.rd: Update.
+ * ld-sparc/tlssunbin32.rd: Update.
+ * ld-sparc/tlssunbin64.rd: Update.
+ * ld-x86-64/tlsbin.rd: Update.
+
2005-08-16 Hans-Peter Nilsson <hp@axis.com>
* ld-cris/dso-1.s: Add missing alignment directive.
diff --git a/ld/testsuite/ld-alpha/tlsbin.rd b/ld/testsuite/ld-alpha/tlsbin.rd
index 32c9268..8a5a78a 100644
--- a/ld/testsuite/ld-alpha/tlsbin.rd
+++ b/ld/testsuite/ld-alpha/tlsbin.rd
@@ -99,17 +99,18 @@ 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 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
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg3
-[0-9 ]+: [0-9a-f]+ +0 OBJECT +GLOBAL HIDDEN +11 _DYNAMIC
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg3
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh3
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG2
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg4
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg5
-[0-9 ]+: [0-9a-f]+ +0 OBJECT +GLOBAL HIDDEN +12 _PROCEDURE_LINKAGE_TABLE_
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg5
[0-9 ]+: [0-9a-f]+ +4 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh7
@@ -127,7 +128,6 @@ Symbol table '.symtab' contains [0-9]+ entries:
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg6
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg7
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
-[0-9 ]+: [0-9a-f]+ +0 OBJECT +GLOBAL HIDDEN +13 _GLOBAL_OFFSET_TABLE_
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh2
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh6
diff --git a/ld/testsuite/ld-alpha/tlsbinr.rd b/ld/testsuite/ld-alpha/tlsbinr.rd
index 3148293..8497075 100644
--- a/ld/testsuite/ld-alpha/tlsbinr.rd
+++ b/ld/testsuite/ld-alpha/tlsbinr.rd
@@ -94,17 +94,18 @@ 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 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
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg3
-[0-9 ]+: [0-9a-f]+ +0 OBJECT +GLOBAL HIDDEN +11 _DYNAMIC
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg3
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh3
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +UND sG2
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg4
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg5
-[0-9 ]+: [0-9a-f]+ +0 OBJECT +GLOBAL HIDDEN +12 _PROCEDURE_LINKAGE_TABLE_
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +10 bg5
[0-9 ]+: [0-9a-f]+ +4 FUNC +GLOBAL DEFAULT +UND __tls_get_addr
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh7
@@ -122,7 +123,6 @@ Symbol table '.symtab' contains [0-9]+ entries:
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg6
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL DEFAULT +9 sg7
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _edata
-[0-9 ]+: [0-9a-f]+ +0 OBJECT +GLOBAL HIDDEN +13 _GLOBAL_OFFSET_TABLE_
[0-9 ]+: [0-9a-f]+ +0 NOTYPE +GLOBAL DEFAULT +ABS _end
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh2
[0-9 ]+: [0-9a-f]+ +0 TLS +GLOBAL HIDDEN +9 sh6
diff --git a/ld/testsuite/ld-cris/locref1.d b/ld/testsuite/ld-cris/locref1.d
index c3e60a1..e38c642 100644
--- a/ld/testsuite/ld-cris/locref1.d
+++ b/ld/testsuite/ld-cris/locref1.d
@@ -11,11 +11,10 @@
SYMBOL TABLE:
#...
+0+82084 l O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
0+80076 g F \.text 0+2 expfn
0+82090 g O \.data 0+4 expobj
#...
-0+82084 g O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
-#...
Disassembly of section \.text:
#...
0+80078 <y>:
diff --git a/ld/testsuite/ld-cris/locref2.d b/ld/testsuite/ld-cris/locref2.d
index c68b6e8..8b51d45 100644
--- a/ld/testsuite/ld-cris/locref2.d
+++ b/ld/testsuite/ld-cris/locref2.d
@@ -11,11 +11,10 @@
SYMBOL TABLE:
#...
+0+82088 l O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
0+ w \*UND\* 0+ expfn
0+ w \*UND\* 0+ expobj
#...
-0+82088 g O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_
-#...
Disassembly of section \.text:
#...
0+8007c <y>:
diff --git a/ld/testsuite/ld-i386/tlsbin.rd b/ld/testsuite/ld-i386/tlsbin.rd
index 544538d..b485626 100644
--- a/ld/testsuite/ld-i386/tlsbin.rd
+++ b/ld/testsuite/ld-i386/tlsbin.rd
@@ -121,13 +121,14 @@ Symbol table '.symtab' contains 73 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+ +0 TLS +GLOBAL DEFAULT UND sG3
+[0-9]+: 0000001c +0 TLS +GLOBAL DEFAULT +9 sg8
+[0-9]+: 0000007c +0 TLS +GLOBAL DEFAULT +10 bg8
+[0-9]+: 00000074 +0 TLS +GLOBAL DEFAULT +10 bg6
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG5
+[0-9]+: 00000068 +0 TLS +GLOBAL DEFAULT +10 bg3
- +[0-9]+: 0+804a060 +0 OBJECT GLOBAL HIDDEN +11 _DYNAMIC
+[0-9]+: 00000008 +0 TLS +GLOBAL DEFAULT +9 sg3
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sG7
+[0-9]+: 00000048 +0 TLS +GLOBAL HIDDEN +9 sh3
@@ -152,7 +153,6 @@ Symbol table '.symtab' contains 73 entries:
+[0-9]+: 00000014 +0 TLS +GLOBAL DEFAULT +9 sg6
+[0-9]+: 00000018 +0 TLS +GLOBAL DEFAULT +9 sg7
+[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata
- +[0-9]+: [0-9a-f]+ +0 OBJECT GLOBAL HIDDEN 13 _GLOBAL_OFFSET_TABLE_
+[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end
+[0-9]+: 00000044 +0 TLS +GLOBAL HIDDEN +9 sh2
+[0-9]+: 00000054 +0 TLS +GLOBAL HIDDEN +9 sh6
diff --git a/ld/testsuite/ld-ia64/tlsbin.rd b/ld/testsuite/ld-ia64/tlsbin.rd
index 86997a3..1fff203 100644
--- a/ld/testsuite/ld-ia64/tlsbin.rd
+++ b/ld/testsuite/ld-ia64/tlsbin.rd
@@ -103,11 +103,12 @@ Symbol table '.symtab' contains 69 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_
.* TLS +GLOBAL DEFAULT +11 sg8
.* TLS +GLOBAL DEFAULT +12 bg8
.* TLS +GLOBAL DEFAULT +12 bg6
.* TLS +GLOBAL DEFAULT +12 bg3
-.* OBJECT +GLOBAL HIDDEN +13 _DYNAMIC
.* TLS +GLOBAL DEFAULT +11 sg3
.* TLS +GLOBAL HIDDEN +11 sh3
.* TLS +GLOBAL DEFAULT +UND sG2
@@ -130,7 +131,6 @@ Symbol table '.symtab' contains 69 entries:
.* TLS +GLOBAL DEFAULT +11 sg6
.* TLS +GLOBAL DEFAULT +11 sg7
.* NOTYPE +GLOBAL DEFAULT +ABS _edata
-.* OBJECT +GLOBAL HIDDEN +14 _GLOBAL_OFFSET_TABLE_
.* NOTYPE +GLOBAL DEFAULT +ABS _end
.* TLS +GLOBAL HIDDEN +11 sh2
.* TLS +GLOBAL HIDDEN +11 sh6
diff --git a/ld/testsuite/ld-powerpc/tlsexe.r b/ld/testsuite/ld-powerpc/tlsexe.r
index 7c501bd..2e4fab6 100644
--- a/ld/testsuite/ld-powerpc/tlsexe.r
+++ b/ld/testsuite/ld-powerpc/tlsexe.r
@@ -98,8 +98,8 @@ Symbol table '\.symtab' contains 40 entries:
.* TLS +LOCAL +DEFAULT +9 ie4
.* TLS +LOCAL +DEFAULT +9 le4
.* TLS +LOCAL +DEFAULT +9 le5
+.* OBJECT +LOCAL +HIDDEN +11 _DYNAMIC
.* FUNC +LOCAL +DEFAULT +UND \.__tls_get_addr
-.* OBJECT +GLOBAL HIDDEN +11 _DYNAMIC
.* GLOBAL DEFAULT +UND gd
.* GLOBAL DEFAULT +10 le0
.* GLOBAL DEFAULT +UND __tls_get_addr
diff --git a/ld/testsuite/ld-powerpc/tlsexe32.r b/ld/testsuite/ld-powerpc/tlsexe32.r
index eacc6b0..aff95b7 100644
--- a/ld/testsuite/ld-powerpc/tlsexe32.r
+++ b/ld/testsuite/ld-powerpc/tlsexe32.r
@@ -95,7 +95,8 @@ Symbol table '\.symtab' contains 40 entries:
.* TLS +LOCAL +DEFAULT +8 ie4
.* TLS +LOCAL +DEFAULT +8 le4
.* TLS +LOCAL +DEFAULT +8 le5
-.* OBJECT +GLOBAL HIDDEN +10 _DYNAMIC
+.* OBJECT +LOCAL +HIDDEN +10 _DYNAMIC
+.* OBJECT +LOCAL +HIDDEN +11 _GLOBAL_OFFSET_TABLE_
.* TLS +GLOBAL DEFAULT +UND gd
.* TLS +GLOBAL DEFAULT +9 le0
.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr
@@ -108,7 +109,6 @@ Symbol table '\.symtab' contains 40 entries:
.* TLS +GLOBAL DEFAULT +9 ld1
.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start
.* NOTYPE +GLOBAL DEFAULT +ABS _edata
-.* OBJECT +GLOBAL +HIDDEN +11 _GLOBAL_OFFSET_TABLE_
.* NOTYPE +GLOBAL DEFAULT +ABS _end
.* TLS +GLOBAL DEFAULT +9 gd0
.* TLS +GLOBAL DEFAULT +9 ie0
diff --git a/ld/testsuite/ld-powerpc/tlsexetoc.r b/ld/testsuite/ld-powerpc/tlsexetoc.r
index f252784..d6664cd 100644
--- a/ld/testsuite/ld-powerpc/tlsexetoc.r
+++ b/ld/testsuite/ld-powerpc/tlsexetoc.r
@@ -97,8 +97,8 @@ Symbol table '\.symtab' contains 41 entries:
.* TLS +LOCAL +DEFAULT +9 le4
.* TLS +LOCAL +DEFAULT +9 le5
.* NOTYPE +LOCAL +DEFAULT +12 \.Lie0
+.* OBJECT +LOCAL +HIDDEN +11 _DYNAMIC
.* FUNC +LOCAL +DEFAULT +UND \.__tls_get_addr
-.* OBJECT +GLOBAL HIDDEN +11 _DYNAMIC
.* TLS +GLOBAL DEFAULT +UND gd
.* TLS +GLOBAL DEFAULT +10 le0
.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr
diff --git a/ld/testsuite/ld-s390/tlsbin.rd b/ld/testsuite/ld-s390/tlsbin.rd
index c4439dc..1fa3469 100644
--- a/ld/testsuite/ld-s390/tlsbin.rd
+++ b/ld/testsuite/ld-s390/tlsbin.rd
@@ -110,12 +110,13 @@ Symbol table '.symtab' contains 68 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_
.* TLS +GLOBAL DEFAULT UND sG3
.* TLS +GLOBAL DEFAULT +9 sg8
.* TLS +GLOBAL DEFAULT +10 bg8
.* TLS +GLOBAL DEFAULT +10 bg6
.* TLS +GLOBAL DEFAULT +10 bg3
-.* OBJECT GLOBAL HIDDEN +11 _DYNAMIC
.* TLS +GLOBAL DEFAULT +9 sg3
.* TLS +GLOBAL HIDDEN +9 sh3
.* TLS +GLOBAL DEFAULT UND sG2
@@ -139,7 +140,6 @@ Symbol table '.symtab' contains 68 entries:
.* TLS +GLOBAL DEFAULT +9 sg6
.* TLS +GLOBAL DEFAULT +9 sg7
.* NOTYPE GLOBAL DEFAULT ABS _edata
-.* OBJECT GLOBAL HIDDEN 12 _GLOBAL_OFFSET_TABLE_
.* NOTYPE GLOBAL DEFAULT ABS _end
.* TLS +GLOBAL HIDDEN +9 sh2
.* TLS +GLOBAL HIDDEN +9 sh6
diff --git a/ld/testsuite/ld-s390/tlsbin_64.rd b/ld/testsuite/ld-s390/tlsbin_64.rd
index aff1eca..34e9649 100644
--- a/ld/testsuite/ld-s390/tlsbin_64.rd
+++ b/ld/testsuite/ld-s390/tlsbin_64.rd
@@ -110,12 +110,13 @@ Symbol table '.symtab' contains 68 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_
.* TLS +GLOBAL DEFAULT +UND sG3
.* TLS +GLOBAL DEFAULT +9 sg8
.* TLS +GLOBAL DEFAULT +10 bg8
.* TLS +GLOBAL DEFAULT +10 bg6
.* TLS +GLOBAL DEFAULT +10 bg3
-.* OBJECT +GLOBAL HIDDEN +11 _DYNAMIC
.* TLS +GLOBAL DEFAULT +9 sg3
.* TLS +GLOBAL HIDDEN +9 sh3
.* TLS +GLOBAL DEFAULT +UND sG2
@@ -139,7 +140,6 @@ Symbol table '.symtab' contains 68 entries:
.* TLS +GLOBAL DEFAULT +9 sg6
.* TLS +GLOBAL DEFAULT +9 sg7
.* NOTYPE +GLOBAL DEFAULT +ABS _edata
-.* OBJECT +GLOBAL HIDDEN +12 _GLOBAL_OFFSET_TABLE_
.* NOTYPE +GLOBAL DEFAULT +ABS _end
.* TLS +GLOBAL HIDDEN +9 sh2
.* TLS +GLOBAL HIDDEN +9 sh6
diff --git a/ld/testsuite/ld-sparc/tlssunbin32.rd b/ld/testsuite/ld-sparc/tlssunbin32.rd
index 912d760..4869131 100644
--- a/ld/testsuite/ld-sparc/tlssunbin32.rd
+++ b/ld/testsuite/ld-sparc/tlssunbin32.rd
@@ -90,18 +90,19 @@ Symbol table '.symtab' contains 67 entries:
.* TLS +LOCAL +DEFAULT +8 bl6
.* TLS +LOCAL +DEFAULT +8 bl7
.* TLS +LOCAL +DEFAULT +8 bl8
+.* OBJECT +LOCAL +HIDDEN +9 _DYNAMIC
+.* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
+.* OBJECT +LOCAL +HIDDEN +10 _GLOBAL_OFFSET_TABLE_
.* TLS +GLOBAL DEFAULT +7 sg8
.* TLS +GLOBAL DEFAULT +8 bg8
.* TLS +GLOBAL DEFAULT +8 bg6
.* TLS +GLOBAL DEFAULT +UND sG5
.* TLS +GLOBAL DEFAULT +8 bg3
-.* OBJECT +GLOBAL HIDDEN +9 _DYNAMIC
.* TLS +GLOBAL DEFAULT +7 sg3
.* TLS +GLOBAL HIDDEN +7 sh3
.* TLS +GLOBAL DEFAULT +UND sG2
.* TLS +GLOBAL DEFAULT +7 sg4
.* TLS +GLOBAL DEFAULT +7 sg5
-.* OBJECT +GLOBAL HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
.* TLS +GLOBAL DEFAULT +8 bg5
.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr
.* TLS +GLOBAL HIDDEN +7 sh7
@@ -120,7 +121,6 @@ Symbol table '.symtab' contains 67 entries:
.* TLS +GLOBAL DEFAULT +7 sg6
.* TLS +GLOBAL DEFAULT +7 sg7
.* NOTYPE +GLOBAL DEFAULT +ABS _edata
-.* OBJECT +GLOBAL +HIDDEN +10 _GLOBAL_OFFSET_TABLE_
.* NOTYPE +GLOBAL DEFAULT +ABS _end
.* TLS +GLOBAL HIDDEN +7 sh2
.* TLS +GLOBAL HIDDEN +7 sh6
diff --git a/ld/testsuite/ld-sparc/tlssunbin64.rd b/ld/testsuite/ld-sparc/tlssunbin64.rd
index 8a3a168..4ce130b 100644
--- a/ld/testsuite/ld-sparc/tlssunbin64.rd
+++ b/ld/testsuite/ld-sparc/tlssunbin64.rd
@@ -90,18 +90,19 @@ Symbol table '.symtab' contains 67 entries:
.* TLS +LOCAL +DEFAULT +8 bl6
.* TLS +LOCAL +DEFAULT +8 bl7
.* TLS +LOCAL +DEFAULT +8 bl8
+.* OBJECT +LOCAL +HIDDEN +9 _DYNAMIC
+.* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
+.* OBJECT +LOCAL +HIDDEN +10 _GLOBAL_OFFSET_TABLE_
.* TLS +GLOBAL DEFAULT +7 sg8
.* TLS +GLOBAL DEFAULT +8 bg8
.* TLS +GLOBAL DEFAULT +8 bg6
.* TLS +GLOBAL DEFAULT +UND sG5
.* TLS +GLOBAL DEFAULT +8 bg3
-.* OBJECT +GLOBAL HIDDEN +9 _DYNAMIC
.* TLS +GLOBAL DEFAULT +7 sg3
.* TLS +GLOBAL HIDDEN +7 sh3
.* TLS +GLOBAL DEFAULT +UND sG2
.* TLS +GLOBAL DEFAULT +7 sg4
.* TLS +GLOBAL DEFAULT +7 sg5
-.* OBJECT +GLOBAL HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
.* TLS +GLOBAL DEFAULT +8 bg5
.* FUNC +GLOBAL DEFAULT +UND __tls_get_addr
.* TLS +GLOBAL HIDDEN +7 sh7
@@ -120,7 +121,6 @@ Symbol table '.symtab' contains 67 entries:
.* TLS +GLOBAL DEFAULT +7 sg6
.* TLS +GLOBAL DEFAULT +7 sg7
.* NOTYPE +GLOBAL DEFAULT +ABS _edata
-.* OBJECT +GLOBAL +HIDDEN +10 _GLOBAL_OFFSET_TABLE_
.* NOTYPE +GLOBAL DEFAULT +ABS _end
.* TLS +GLOBAL HIDDEN +7 sh2
.* TLS +GLOBAL HIDDEN +7 sh6
diff --git a/ld/testsuite/ld-x86-64/tlsbin.rd b/ld/testsuite/ld-x86-64/tlsbin.rd
index 7a0c9a0..dc3ef22 100644
--- a/ld/testsuite/ld-x86-64/tlsbin.rd
+++ b/ld/testsuite/ld-x86-64/tlsbin.rd
@@ -112,12 +112,13 @@ Symbol table '.symtab' contains 69 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_
.* TLS +GLOBAL DEFAULT +9 sg8
.* TLS +GLOBAL DEFAULT +10 bg8
.* TLS +GLOBAL DEFAULT +10 bg6
.* TLS +GLOBAL DEFAULT UND sG5
.* TLS +GLOBAL DEFAULT +10 bg3
-.* OBJECT GLOBAL HIDDEN +11 _DYNAMIC
.* TLS +GLOBAL DEFAULT +9 sg3
.* TLS +GLOBAL HIDDEN +9 sh3
.* TLS +GLOBAL DEFAULT UND sG2
@@ -141,7 +142,6 @@ Symbol table '.symtab' contains 69 entries:
.* TLS +GLOBAL DEFAULT +9 sg6
.* TLS +GLOBAL DEFAULT +9 sg7
.* NOTYPE GLOBAL DEFAULT ABS _edata
-.* OBJECT GLOBAL HIDDEN 13 _GLOBAL_OFFSET_TABLE_
.* NOTYPE GLOBAL DEFAULT ABS _end
.* TLS +GLOBAL HIDDEN +9 sh2
.* TLS +GLOBAL HIDDEN +9 sh6