From 935bd1e079100b6d6fa0fa7cfd7c20a7f588cfea Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Thu, 24 Sep 2009 15:56:52 +0000 Subject: bfd/ 2009-09-24 H.J. Lu 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 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. --- ld/testsuite/ld-alpha/tlsbin.rd | 6 +++--- ld/testsuite/ld-alpha/tlsbinr.rd | 6 +++--- ld/testsuite/ld-alpha/tlspic.rd | 38 +++++++++++++++++++------------------- 3 files changed, 25 insertions(+), 25 deletions(-) (limited to 'ld/testsuite/ld-alpha') 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 -- cgit v1.1