935bd1e079
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.
38 lines
1.0 KiB
Makefile
38 lines
1.0 KiB
Makefile
#source: tls-ie-8.s --pic
|
|
#source: tls128.s
|
|
#source: tls-hx.s
|
|
#as: --no-underscore --em=criself
|
|
#ld: -m crislinux --shared
|
|
#readelf: -a -x 6 -x 8 -x 5
|
|
|
|
# A R_CRIS_16_GOT_TPREL in a DSO against a hidden symbol, at an offset
|
|
# into .data. Make sure the relocation, GOT, .text and .tdata have
|
|
# the right contents.
|
|
|
|
#...
|
|
Relocation section '.rela.dyn' at offset 0x.* contains 1 entries:
|
|
Offset Info Type Sym.Value Sym. Name \+ Addend
|
|
00002290 0000001c R_CRIS_32_TPREL[ ]+0+80
|
|
|
|
There are no unwind sections in this file.
|
|
|
|
Symbol table '.dynsym' contains 7 entries:
|
|
Num: Value Size Type Bind Vis Ndx Name
|
|
#...
|
|
Symbol table '.symtab' contains 17 entries:
|
|
#...
|
|
..: 00000080 +4 +TLS +LOCAL +DEFAULT +6 x
|
|
#...
|
|
Hex dump of section '.text':
|
|
0x00000184 5fae0c00 .*
|
|
#...
|
|
Hex dump of section '.tdata':
|
|
0x00002188 2f0+ 0+ 0+ 0+ .*
|
|
0x00002198 0+ 0+ 0+ 0+ .*
|
|
#...
|
|
0x000021f8 0+ 0+ 0+ 0+ .*
|
|
0x00002208 280+ .*
|
|
#...
|
|
Hex dump of section '.got':
|
|
0x0+2284 0c220000 0+ 0+ 80+ .*
|