This commit was generated by cvs2svn to track changes on a CVS vendor
[external/binutils.git] / ld / testsuite / ld-x86-64 / tlspic.rd
1 #source: tlspic1.s
2 #source: tlspic2.s
3 #as: --64
4 #ld: -shared -melf_x86_64
5 #readelf: -WSsrl
6 #target: x86_64-*-*
7
8 There are 16 section headers, starting at offset 0x[0-9a-f]+:
9
10 Section Headers:
11   \[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al
12   \[ 0\] +NULL +0+ 0+ 0+ 00 +0 +0 +0
13   \[ 1\] .hash +.*
14   \[ 2\] .dynsym +.*
15   \[ 3\] .dynstr +.*
16   \[ 4\] .rela.dyn +.*
17   \[ 5\] .rela.plt +.*
18   \[ 6\] .plt +.*
19   \[ 7\] .text +PROGBITS +0+1000 0+1000 0+1ac 00 +AX +0 +0 4096
20   \[ 8\] .tdata +PROGBITS +0+1011ac 0+11ac 0+60 00 WAT +0 +0 +1
21   \[ 9\] .tbss +NOBITS +0+10120c 0+120c 0+20 00 WAT +0 +0 +1
22   \[10\] .dynamic +DYNAMIC +0+101210 0+1210 0+130 10 +WA +3 +0 +8
23   \[11\] .got +PROGBITS +0+101340 0+1340 0+90 08 +WA +0 +0 +8
24   \[12\] .got.plt +PROGBITS +0+1013d0 0+13d0 0+20 08 +WA +0 +0 +8
25   \[13\] .shstrtab +.*
26   \[14\] .symtab +.*
27   \[15\] .strtab +.*
28 Key to Flags:
29 .*
30 .*
31 .*
32
33 Elf file type is DYN \(Shared object file\)
34 Entry point 0x1000
35 There are 4 program headers, starting at offset [0-9]+
36
37 Program Headers:
38   Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
39   LOAD +0x0+ 0x0+ 0x0+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x100000
40   LOAD +0x0+11ac 0x0+1011ac 0x0+1011ac 0x0+244 0x0+244 RW +0x100000
41   DYNAMIC +0x0+1210 0x0+101210 0x0+101210 0x0+130 0x0+130 RW +0x8
42   TLS +0x0+11ac 0x0+1011ac 0x0+1011ac 0x0+60 0x0+80 R +0x1
43
44  Section to Segment mapping:
45   Segment Sections...
46    00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text *
47    01 +.tdata .dynamic .got .got.plt *
48    02 +.dynamic *
49    03 +.tdata .tbss *
50
51 Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries:
52  +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
53 [0-9a-f ]+R_X86_64_DTPMOD64 +0+
54 [0-9a-f ]+R_X86_64_TPOFF64 +0+24
55 [0-9a-f ]+R_X86_64_TPOFF64 +0+30
56 [0-9a-f ]+R_X86_64_DTPMOD64 +0+
57 [0-9a-f ]+R_X86_64_DTPMOD64 +0+
58 [0-9a-f ]+R_X86_64_TPOFF64 +0+64
59 [0-9a-f ]+R_X86_64_TPOFF64 +0+50
60 [0-9a-f ]+R_X86_64_TPOFF64 +0+70
61 [0-9a-f ]+R_X86_64_DTPMOD64 +0+
62 [0-9a-f ]+R_X86_64_TPOFF64 +0+44
63 [0-9a-f ]+R_X86_64_TPOFF64 +0+10 sg5 \+ 0
64 [0-9a-f ]+R_X86_64_DTPMOD64 +0+ sg1 \+ 0
65 [0-9a-f ]+R_X86_64_DTPOFF64 +0+ sg1 \+ 0
66 [0-9a-f ]+R_X86_64_TPOFF64 +0+4 sg2 \+ 0
67
68 Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries:
69  +Offset +Info +Type +Symbol's Value  Symbol's Name \+ Addend
70 [0-9a-f ]+R_X86_64_JUMP_SLOT +0+ __tls_get_addr \+ 0
71
72 Symbol table '.dynsym' contains [0-9]+ entries:
73  +Num: +Value +Size Type +Bind +Vis +Ndx Name
74 .* NOTYPE  LOCAL  DEFAULT  UND *
75 .* SECTION LOCAL  DEFAULT +7 *
76 .* SECTION LOCAL  DEFAULT +8 *
77 .* SECTION LOCAL  DEFAULT +9 *
78 .* TLS +GLOBAL DEFAULT +8 sg8
79 .* TLS +GLOBAL DEFAULT +8 sg3
80 .* TLS +GLOBAL DEFAULT +8 sg4
81 .* TLS +GLOBAL DEFAULT +8 sg5
82 .* NOTYPE  GLOBAL DEFAULT  UND __tls_get_addr
83 .* TLS +GLOBAL DEFAULT +8 sg1
84 .* FUNC +GLOBAL DEFAULT +7 fn1
85 .* NOTYPE  GLOBAL DEFAULT  ABS __bss_start
86 .* TLS +GLOBAL DEFAULT +8 sg2
87 .* TLS +GLOBAL DEFAULT +8 sg6
88 .* TLS +GLOBAL DEFAULT +8 sg7
89 .* NOTYPE  GLOBAL DEFAULT  ABS _edata
90 .* NOTYPE  GLOBAL DEFAULT  ABS _end
91
92 Symbol table '.symtab' contains 55 entries:
93  +Num: +Value +Size Type +Bind +Vis +Ndx Name
94 .* NOTYPE  LOCAL  DEFAULT  UND *
95 .* SECTION LOCAL  DEFAULT +1 *
96 .* SECTION LOCAL  DEFAULT +2 *
97 .* SECTION LOCAL  DEFAULT +3 *
98 .* SECTION LOCAL  DEFAULT +4 *
99 .* SECTION LOCAL  DEFAULT +5 *
100 .* SECTION LOCAL  DEFAULT +6 *
101 .* SECTION LOCAL  DEFAULT +7 *
102 .* SECTION LOCAL  DEFAULT +8 *
103 .* SECTION LOCAL  DEFAULT +9 *
104 .* SECTION LOCAL  DEFAULT +10 *
105 .* SECTION LOCAL  DEFAULT +11 *
106 .* SECTION LOCAL  DEFAULT +12 *
107 .* SECTION LOCAL  DEFAULT +13 *
108 .* SECTION LOCAL  DEFAULT +14 *
109 .* SECTION LOCAL  DEFAULT +15 *
110 .* TLS +LOCAL  DEFAULT +8 sl1
111 .* TLS +LOCAL  DEFAULT +8 sl2
112 .* TLS +LOCAL  DEFAULT +8 sl3
113 .* TLS +LOCAL  DEFAULT +8 sl4
114 .* TLS +LOCAL  DEFAULT +8 sl5
115 .* TLS +LOCAL  DEFAULT +8 sl6
116 .* TLS +LOCAL  DEFAULT +8 sl7
117 .* TLS +LOCAL  DEFAULT +8 sl8
118 .* TLS +LOCAL  HIDDEN +9 sH1
119 .* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
120 .* TLS +LOCAL  HIDDEN +8 sh3
121 .* TLS +LOCAL  HIDDEN +9 sH2
122 .* TLS +LOCAL  HIDDEN +9 sH7
123 .* TLS +LOCAL  HIDDEN +8 sh7
124 .* TLS +LOCAL  HIDDEN +8 sh8
125 .* TLS +LOCAL  HIDDEN +9 sH4
126 .* TLS +LOCAL  HIDDEN +8 sh4
127 .* TLS +LOCAL  HIDDEN +9 sH3
128 .* TLS +LOCAL  HIDDEN +8 sh5
129 .* TLS +LOCAL  HIDDEN +9 sH5
130 .* TLS +LOCAL  HIDDEN +9 sH6
131 .* TLS +LOCAL  HIDDEN +9 sH8
132 .* TLS +LOCAL  HIDDEN +8 sh1
133 .* OBJECT  LOCAL  HIDDEN  ABS _GLOBAL_OFFSET_TABLE_
134 .* TLS +LOCAL  HIDDEN +8 sh2
135 .* TLS +LOCAL  HIDDEN +8 sh6
136 .* TLS +GLOBAL DEFAULT +8 sg8
137 .* TLS +GLOBAL DEFAULT +8 sg3
138 .* TLS +GLOBAL DEFAULT +8 sg4
139 .* TLS +GLOBAL DEFAULT +8 sg5
140 .* NOTYPE  GLOBAL DEFAULT  UND __tls_get_addr
141 .* TLS +GLOBAL DEFAULT +8 sg1
142 .* FUNC +GLOBAL DEFAULT +7 fn1
143 .* NOTYPE  GLOBAL DEFAULT  ABS __bss_start
144 .* TLS +GLOBAL DEFAULT +8 sg2
145 .* TLS +GLOBAL DEFAULT +8 sg6
146 .* TLS +GLOBAL DEFAULT +8 sg7
147 .* NOTYPE  GLOBAL DEFAULT  ABS _edata
148 .* NOTYPE  GLOBAL DEFAULT  ABS _end