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