1 |
66 |
khays |
#source: tlsgdesc.s
|
2 |
|
|
#as: --32
|
3 |
|
|
#ld: -shared -melf_i386
|
4 |
|
|
#readelf: -Ssrl
|
5 |
|
|
#target: i?86-*-*
|
6 |
|
|
|
7 |
|
|
There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
|
8 |
|
|
|
9 |
|
|
Section Headers:
|
10 |
|
|
+\[Nr\] Name +Type +Addr +Off +Size +ES Flg Lk Inf Al
|
11 |
|
|
+\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0
|
12 |
|
|
+\[[ 0-9]+\] \.hash +.*
|
13 |
|
|
+\[[ 0-9]+\] \.dynsym +.*
|
14 |
|
|
+\[[ 0-9]+\] \.dynstr +.*
|
15 |
|
|
+\[[ 0-9]+\] \.rel.dyn +.*
|
16 |
|
|
+\[[ 0-9]+\] \.rel.plt +.*
|
17 |
|
|
+\[[ 0-9]+\] \.plt +.*
|
18 |
|
|
+\[[ 0-9]+\] \.text +.*
|
19 |
|
|
+\[[ 0-9]+\] \.dynamic +.*
|
20 |
|
|
+\[[ 0-9]+\] \.got +.*
|
21 |
|
|
+\[[ 0-9]+\] \.got.plt +.*
|
22 |
|
|
+\[[ 0-9]+\] \.shstrtab +.*
|
23 |
|
|
+\[[ 0-9]+\] \.symtab +.*
|
24 |
|
|
+\[[ 0-9]+\] \.strtab +.*
|
25 |
|
|
Key to Flags:
|
26 |
|
|
.*
|
27 |
|
|
.*
|
28 |
|
|
.*
|
29 |
|
|
|
30 |
|
|
Elf file type is DYN \(Shared object file\)
|
31 |
|
|
Entry point 0x[0-9a-f]+
|
32 |
|
|
There are [0-9]+ program headers, starting at offset [0-9]+
|
33 |
|
|
|
34 |
|
|
Program Headers:
|
35 |
|
|
+Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
|
36 |
|
|
+LOAD.*
|
37 |
|
|
+LOAD.*
|
38 |
|
|
+DYNAMIC.*
|
39 |
|
|
|
40 |
|
|
Section to Segment mapping:
|
41 |
|
|
+Segment Sections...
|
42 |
|
|
+00 +.hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text *
|
43 |
|
|
+01 +.dynamic .got .got.plt *
|
44 |
|
|
+02 +.dynamic *
|
45 |
|
|
|
46 |
|
|
Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 8 entries:
|
47 |
|
|
Offset +Info +Type +Sym.Value +Sym. Name
|
48 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG3
|
49 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG5
|
50 |
|
|
[0-9a-f ]+R_386_TLS_DTPMOD3 0+ +sG2
|
51 |
|
|
[0-9a-f ]+R_386_TLS_DTPOFF3 0+ +sG2
|
52 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF +0+ +sG4
|
53 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF32 0+ +sG6
|
54 |
|
|
[0-9a-f ]+R_386_TLS_DTPMOD3 0+ +sG1
|
55 |
|
|
[0-9a-f ]+R_386_TLS_DTPOFF3 0+ +sG1
|
56 |
|
|
|
57 |
|
|
Relocation section '.rel.plt' at offset 0x[0-9a-f]+ contains 3 entries:
|
58 |
|
|
Offset +Info +Type +Sym.Value +Sym. Name
|
59 |
|
|
[0-9a-f ]+R_386_JUMP_SLOT +0+ +___tls_get_addr
|
60 |
|
|
[0-9a-f ]+R_386_TLS_DESC +0+ +sG1
|
61 |
|
|
[0-9a-f ]+R_386_TLS_DESC +0+ +sG2
|
62 |
|
|
|
63 |
|
|
Symbol table '\.dynsym' contains [0-9]+ entries:
|
64 |
|
|
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
|
65 |
|
|
+[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
|
66 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3
|
67 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5
|
68 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
|
69 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4
|
70 |
|
|
+[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
|
71 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6
|
72 |
|
|
+[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +7 fc1
|
73 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
|
74 |
|
|
+[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
|
75 |
|
|
+[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
|
76 |
|
|
+[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr
|
77 |
|
|
|
78 |
|
|
Symbol table '\.symtab' contains [0-9]+ entries:
|
79 |
|
|
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
|
80 |
|
|
+[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
|
81 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
|
82 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
|
83 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
|
84 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
|
85 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
|
86 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
|
87 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
|
88 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
|
89 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
|
90 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
|
91 |
|
|
+[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
|
92 |
|
|
+[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
|
93 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG3
|
94 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG5
|
95 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
|
96 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG4
|
97 |
|
|
+[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
|
98 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG6
|
99 |
|
|
+[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +7 fc1
|
100 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
|
101 |
|
|
+[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
|
102 |
|
|
+[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
|
103 |
|
|
+[0-9]+: 0+ +0 +NOTYPE +GLOBAL +DEFAULT +UND ___tls_get_addr
|