1#source: tlspic1.s
2#source: tlspic2.s
3#as: -m31
4#ld: -shared -melf_s390
5#readelf: -Ssrl
6#target: s390-*-*
7
8There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
9
10Section Headers:
11 +\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
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 .*
19 +\[[ 0-9]+\] .text +PROGBITS .*
20 +\[[ 0-9]+\] .tdata +PROGBITS .* 0+60 00 WAT +0 +0 32
21 +\[[ 0-9]+\] .tbss +NOBITS .* 0+20 00 WAT +0 +0 +1
22 +\[[ 0-9]+\] .dynamic +DYNAMIC .*
23 +\[[ 0-9]+\] .got +PROGBITS .*
24 +\[[ 0-9]+\] .symtab .*
25 +\[[ 0-9]+\] .strtab .*
26 +\[[ 0-9]+\] .shstrtab .*
27Key to Flags:
28#...
29
30Elf file type is DYN \(Shared object file\)
31Entry point 0x[0-9a-f]+
32There are [0-9]+ program headers, starting at offset [0-9]+
33
34Program Headers:
35 +Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz +Flg Align
36 +LOAD .* R E 0x1000
37 +LOAD .* RW +0x1000
38 +DYNAMIC .* RW +0x4
39 +TLS .* 0x0+60 0x0+80 R +0x20
40
41 Section to Segment mapping:
42 +Segment Sections...
43 +00 +.hash .dynsym .dynstr .rela.dyn .rela.plt .plt .text
44 +01 +.tdata .dynamic .got
45 +02 +.dynamic
46 +03 +.tdata .tbss
47
48Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries:
49 Offset +Info +Type +Sym.Value +Sym. Name \+ Addend
50[0-9a-f ]+R_390_TLS_DTPMOD +0
51[0-9a-f ]+R_390_TLS_TPOFF +24
52[0-9a-f ]+R_390_TLS_TPOFF +30
53[0-9a-f ]+R_390_TLS_DTPMOD +0
54[0-9a-f ]+R_390_TLS_DTPMOD +0
55[0-9a-f ]+R_390_TLS_TPOFF +64
56[0-9a-f ]+R_390_TLS_TPOFF +50
57[0-9a-f ]+R_390_TLS_TPOFF +70
58[0-9a-f ]+R_390_TLS_DTPMOD +0
59[0-9a-f ]+R_390_TLS_TPOFF +44
60[0-9a-f ]+R_390_TLS_TPOFF +0+10 +sg5 \+ 0
61[0-9a-f ]+R_390_TLS_DTPMOD +0+ +sg1 \+ 0
62[0-9a-f ]+R_390_TLS_DTPOFF +0+ +sg1 \+ 0
63[0-9a-f ]+R_390_TLS_TPOFF +0+4 +sg2 \+ 0
64
65Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry:
66 Offset +Info +Type +Sym.Value +Sym. Name \+ Addend
67[0-9a-f ]+R_390_JMP_SLOT +0+ +__tls_get_offset \+ 0
68
69Symbol table '\.dynsym' contains [0-9]+ entries:
70 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
71.* NOTYPE +LOCAL +DEFAULT +UND
72.* SECTION +LOCAL +DEFAULT +7.*
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_offset
78.* TLS +GLOBAL +DEFAULT +8 sg1
79.* FUNC +GLOBAL +DEFAULT +7 fn1
80.* TLS +GLOBAL +DEFAULT +8 sg2
81.* TLS +GLOBAL +DEFAULT +8 sg6
82.* TLS +GLOBAL +DEFAULT +8 sg7
83
84Symbol table '\.symtab' contains [0-9]+ entries:
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.* FILE +LOCAL +DEFAULT +ABS .*
99.* TLS +LOCAL +DEFAULT +8 sl1
100.* TLS +LOCAL +DEFAULT +8 sl2
101.* TLS +LOCAL +DEFAULT +8 sl3
102.* TLS +LOCAL +DEFAULT +8 sl4
103.* TLS +LOCAL +DEFAULT +8 sl5
104.* TLS +LOCAL +DEFAULT +8 sl6
105.* TLS +LOCAL +DEFAULT +8 sl7
106.* TLS +LOCAL +DEFAULT +8 sl8
107.* FILE +LOCAL +DEFAULT +ABS
108.* TLS +LOCAL +DEFAULT +9 sH1
109.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
110.* TLS +LOCAL +DEFAULT +8 sh3
111.* TLS +LOCAL +DEFAULT +9 sH2
112.* TLS +LOCAL +DEFAULT +9 sH7
113.* TLS +LOCAL +DEFAULT +8 sh7
114.* TLS +LOCAL +DEFAULT +8 sh8
115.* TLS +LOCAL +DEFAULT +9 sH4
116.* TLS +LOCAL +DEFAULT +8 sh4
117.* TLS +LOCAL +DEFAULT +9 sH3
118.* TLS +LOCAL +DEFAULT +8 sh5
119.* TLS +LOCAL +DEFAULT +9 sH5
120.* TLS +LOCAL +DEFAULT +9 sH6
121.* TLS +LOCAL +DEFAULT +9 sH8
122.* TLS +LOCAL +DEFAULT +8 sh1
123.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
124.* TLS +LOCAL +DEFAULT +8 sh2
125.* TLS +LOCAL +DEFAULT +8 sh6
126.* TLS +GLOBAL +DEFAULT +8 sg8
127.* TLS +GLOBAL +DEFAULT +8 sg3
128.* TLS +GLOBAL +DEFAULT +8 sg4
129.* TLS +GLOBAL +DEFAULT +8 sg5
130.* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_offset
131.* TLS +GLOBAL +DEFAULT +8 sg1
132.* FUNC +GLOBAL +DEFAULT +7 fn1
133.* TLS +GLOBAL +DEFAULT +8 sg2
134.* TLS +GLOBAL +DEFAULT +8 sg6
135.* TLS +GLOBAL +DEFAULT +8 sg7
136