x86-64: Restore PIC check for PCREL reloc against protected symbol
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / tlspic.rd
CommitLineData
bffbf940
JJ
1#source: tlspic1.s
2#source: tlspic2.s
3#as: --64
e41b3a13 4#ld: -shared -melf_x86_64 --no-ld-generated-unwind-info
bffbf940
JJ
5#readelf: -WSsrl
6#target: x86_64-*-*
7
c9ccd0df 8There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
bffbf940
JJ
9
10Section Headers:
f9272224 11 +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
c9ccd0df
MF
12 +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
13 +\[[ 0-9]+\] .hash +.*
14 +\[[ 0-9]+\] .dynsym +.*
15 +\[[ 0-9]+\] .dynstr +.*
16 +\[[ 0-9]+\] .rela.dyn +.*
17 +\[[ 0-9]+\] .rela.plt +.*
18 +\[[ 0-9]+\] .plt +.*
5c98a14e
JJ
19 +\[[ 0-9]+\] .text +PROGBITS +0+1000 0+1000 0+31a 00 +AX +0 +0 4096
20 +\[[ 0-9]+\] .tdata +PROGBITS +0+20131a 0+131a 0+60 00 WAT +0 +0 +1
21 +\[[ 0-9]+\] .tbss +NOBITS +0+20137a 0+137a 0+20 00 WAT +0 +0 +1
22 +\[[ 0-9]+\] .dynamic +DYNAMIC +0+201380 0+1380 0+130 10 +WA +3 +0 +8
23 +\[[ 0-9]+\] .got +PROGBITS +0+2014b0 0+14b0 0+90 08 +WA +0 +0 +8
24 +\[[ 0-9]+\] .got.plt +PROGBITS +0+201540 0+1540 0+20 08 +WA +0 +0 +8
c9ccd0df
MF
25 +\[[ 0-9]+\] .symtab +.*
26 +\[[ 0-9]+\] .strtab +.*
dd905818 27 +\[[ 0-9]+\] .shstrtab +.*
bffbf940 28Key to Flags:
9fb71ee4 29#...
bffbf940
JJ
30
31Elf file type is DYN \(Shared object file\)
32Entry point 0x1000
c9ccd0df 33There are [0-9]+ program headers, starting at offset [0-9]+
bffbf940
JJ
34
35Program Headers:
f9272224
AM
36 +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
37 +LOAD +0x0+ 0x0+ 0x0+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x200000
5c98a14e
JJ
38 +LOAD +0x0+131a 0x0+20131a 0x0+20131a 0x0+246 0x0+246 RW +0x200000
39 +DYNAMIC +0x0+1380 0x0+201380 0x0+201380 0x0+130 0x0+130 RW +0x8
40 +TLS +0x0+131a 0x0+20131a 0x0+20131a 0x0+60 0x0+80 R +0x1
bffbf940
JJ
41
42 Section to Segment mapping:
f9272224
AM
43 +Segment Sections...
44 +00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text *
45 +01 +.tdata .dynamic .got .got.plt *
46 +02 +.dynamic *
47 +03 +.tdata .tbss *
bffbf940
JJ
48
49Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries:
50 +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
e04d7088
L
51[0-9a-f ]+R_X86_64_DTPMOD64 +0
52[0-9a-f ]+R_X86_64_TPOFF64 +24
53[0-9a-f ]+R_X86_64_TPOFF64 +30
54[0-9a-f ]+R_X86_64_DTPMOD64 +0
55[0-9a-f ]+R_X86_64_DTPMOD64 +0
56[0-9a-f ]+R_X86_64_TPOFF64 +64
57[0-9a-f ]+R_X86_64_TPOFF64 +50
58[0-9a-f ]+R_X86_64_TPOFF64 +70
59[0-9a-f ]+R_X86_64_DTPMOD64 +0
60[0-9a-f ]+R_X86_64_TPOFF64 +44
85167a84
AM
61[0-9a-f ]+R_X86_64_TPOFF64 +0+10 sg5 \+ 0
62[0-9a-f ]+R_X86_64_DTPMOD64 +0+ sg1 \+ 0
63[0-9a-f ]+R_X86_64_DTPOFF64 +0+ sg1 \+ 0
64[0-9a-f ]+R_X86_64_TPOFF64 +0+4 sg2 \+ 0
bffbf940 65
d3a49aa8 66Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry:
f9272224 67 +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
85167a84 68[0-9a-f ]+R_X86_64_JUMP_SLOT +0+ __tls_get_addr \+ 0
bffbf940 69
c9ccd0df 70Symbol table '\.dynsym' contains [0-9]+ entries:
f9272224
AM
71 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
72.* NOTYPE +LOCAL +DEFAULT +UND *
f9272224
AM
73.* TLS +GLOBAL +DEFAULT +8 sg8
74.* TLS +GLOBAL +DEFAULT +8 sg3
75.* TLS +GLOBAL +DEFAULT +8 sg4
76.* TLS +GLOBAL +DEFAULT +8 sg5
77.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
78.* TLS +GLOBAL +DEFAULT +8 sg1
79.* FUNC +GLOBAL +DEFAULT +7 fn1
f9272224
AM
80.* TLS +GLOBAL +DEFAULT +8 sg2
81.* TLS +GLOBAL +DEFAULT +8 sg6
82.* TLS +GLOBAL +DEFAULT +8 sg7
bffbf940 83
c9ccd0df 84Symbol table '\.symtab' contains [0-9]+ entries:
f9272224
AM
85 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
86.* NOTYPE +LOCAL +DEFAULT +UND *
87.* SECTION +LOCAL +DEFAULT +1 *
88.* SECTION +LOCAL +DEFAULT +2 *
89.* SECTION +LOCAL +DEFAULT +3 *
90.* SECTION +LOCAL +DEFAULT +4 *
91.* SECTION +LOCAL +DEFAULT +5 *
92.* SECTION +LOCAL +DEFAULT +6 *
93.* SECTION +LOCAL +DEFAULT +7 *
94.* SECTION +LOCAL +DEFAULT +8 *
95.* SECTION +LOCAL +DEFAULT +9 *
96.* SECTION +LOCAL +DEFAULT +10 *
97.* SECTION +LOCAL +DEFAULT +11 *
98.* SECTION +LOCAL +DEFAULT +12 *
35f82954 99.* FILE +LOCAL +DEFAULT +ABS tmpdir/tlspic1.o
f9272224
AM
100.* TLS +LOCAL +DEFAULT +8 sl1
101.* TLS +LOCAL +DEFAULT +8 sl2
102.* TLS +LOCAL +DEFAULT +8 sl3
103.* TLS +LOCAL +DEFAULT +8 sl4
104.* TLS +LOCAL +DEFAULT +8 sl5
105.* TLS +LOCAL +DEFAULT +8 sl6
106.* TLS +LOCAL +DEFAULT +8 sl7
107.* TLS +LOCAL +DEFAULT +8 sl8
35f82954 108.* FILE +LOCAL +DEFAULT +ABS
935bd1e0 109.* TLS +LOCAL +DEFAULT +9 sH1
2ec55de3 110.* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC
935bd1e0
L
111.* TLS +LOCAL +DEFAULT +8 sh3
112.* TLS +LOCAL +DEFAULT +9 sH2
113.* TLS +LOCAL +DEFAULT +9 sH7
114.* TLS +LOCAL +DEFAULT +8 sh7
115.* TLS +LOCAL +DEFAULT +8 sh8
116.* TLS +LOCAL +DEFAULT +9 sH4
117.* TLS +LOCAL +DEFAULT +8 sh4
118.* TLS +LOCAL +DEFAULT +9 sH3
119.* TLS +LOCAL +DEFAULT +8 sh5
120.* TLS +LOCAL +DEFAULT +9 sH5
121.* TLS +LOCAL +DEFAULT +9 sH6
122.* TLS +LOCAL +DEFAULT +9 sH8
123.* TLS +LOCAL +DEFAULT +8 sh1
2ec55de3 124.* OBJECT +LOCAL +DEFAULT +12 _GLOBAL_OFFSET_TABLE_
935bd1e0
L
125.* TLS +LOCAL +DEFAULT +8 sh2
126.* TLS +LOCAL +DEFAULT +8 sh6
f9272224
AM
127.* TLS +GLOBAL +DEFAULT +8 sg8
128.* TLS +GLOBAL +DEFAULT +8 sg3
129.* TLS +GLOBAL +DEFAULT +8 sg4
130.* TLS +GLOBAL +DEFAULT +8 sg5
131.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr
132.* TLS +GLOBAL +DEFAULT +8 sg1
133.* FUNC +GLOBAL +DEFAULT +7 fn1
f9272224
AM
134.* TLS +GLOBAL +DEFAULT +8 sg2
135.* TLS +GLOBAL +DEFAULT +8 sg6
136.* TLS +GLOBAL +DEFAULT +8 sg7
This page took 1.183537 seconds and 4 git commands to generate.