1 |
205 |
julius |
#source: tlsnopic1.s
|
2 |
|
|
#source: tlsnopic2.s
|
3 |
|
|
#as: --32
|
4 |
|
|
#ld: -shared -melf_i386
|
5 |
|
|
#readelf: -Ssrl
|
6 |
|
|
#target: i?86-*-*
|
7 |
|
|
|
8 |
|
|
There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+:
|
9 |
|
|
|
10 |
|
|
Section Headers:
|
11 |
|
|
\[Nr\] Name +Type +Addr +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]+\] \.rel.dyn +.*
|
17 |
|
|
+\[[ 0-9]+\] \.text +PROGBITS +0+1000 .*
|
18 |
|
|
+\[[ 0-9]+\] \.tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000024 00 WAT 0 0 1
|
19 |
|
|
+\[[ 0-9]+\] \.dynamic +DYNAMIC +0+20f4 .*
|
20 |
|
|
+\[[ 0-9]+\] \.got +PROGBITS +0+2174 .*
|
21 |
|
|
+\[[ 0-9]+\] \.got.plt +PROGBITS +0+218c .*
|
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 0x1000
|
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 |
|
|
TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+ 0x0+24 R +0x1
|
40 |
|
|
|
41 |
|
|
Section to Segment mapping:
|
42 |
|
|
Segment Sections...
|
43 |
|
|
00 +.hash .dynsym .dynstr .rel.dyn .text *
|
44 |
|
|
01 +.dynamic .got .got.plt *
|
45 |
|
|
02 +.dynamic *
|
46 |
|
|
03 +.tbss *
|
47 |
|
|
|
48 |
|
|
Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 20 entries:
|
49 |
|
|
Offset +Info +Type +Sym.Value +Sym. Name
|
50 |
|
|
[0-9a-f ]+R_386_RELATIVE +
|
51 |
|
|
[0-9a-f ]+R_386_RELATIVE +
|
52 |
|
|
[0-9a-f ]+R_386_RELATIVE +
|
53 |
|
|
[0-9a-f ]+R_386_RELATIVE +
|
54 |
|
|
[0-9a-f ]+R_386_RELATIVE +
|
55 |
|
|
[0-9a-f ]+R_386_RELATIVE +
|
56 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF32 0+ sg3
|
57 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF32
|
58 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF +
|
59 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF +
|
60 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF +
|
61 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF +
|
62 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF +
|
63 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF +
|
64 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF +
|
65 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF +
|
66 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF 0+ sg4
|
67 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF 0+ sg5
|
68 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF 0+ sg1
|
69 |
|
|
[0-9a-f ]+R_386_TLS_TPOFF 0+ sg2
|
70 |
|
|
|
71 |
|
|
|
72 |
|
|
Symbol table '\.dynsym' contains [0-9]+ entries:
|
73 |
|
|
+Num: +Value Size Type +Bind +Vis +Ndx Name
|
74 |
|
|
+[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND *
|
75 |
|
|
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg3
|
76 |
|
|
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg4
|
77 |
|
|
+[0-9]+: 0+1000 +0 FUNC +GLOBAL DEFAULT +5 fn3
|
78 |
|
|
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg5
|
79 |
|
|
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg1
|
80 |
|
|
+[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start
|
81 |
|
|
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg2
|
82 |
|
|
+[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata
|
83 |
|
|
+[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end
|
84 |
|
|
|
85 |
|
|
Symbol table '\.symtab' contains [0-9]+ entries:
|
86 |
|
|
+Num: +Value Size Type +Bind +Vis +Ndx Name
|
87 |
|
|
+[0-9]+: 0+ +0 NOTYPE LOCAL DEFAULT UND *
|
88 |
|
|
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +1 *
|
89 |
|
|
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 *
|
90 |
|
|
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 *
|
91 |
|
|
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 *
|
92 |
|
|
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 *
|
93 |
|
|
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 *
|
94 |
|
|
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 *
|
95 |
|
|
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 *
|
96 |
|
|
+[0-9]+: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +9 *
|
97 |
|
|
+[0-9]+: 0+00 +0 TLS +LOCAL DEFAULT +6 bl1
|
98 |
|
|
+[0-9]+: 0+04 +0 TLS +LOCAL DEFAULT +6 bl2
|
99 |
|
|
+[0-9]+: 0+08 +0 TLS +LOCAL DEFAULT +6 bl3
|
100 |
|
|
+[0-9]+: 0+0c +0 TLS +LOCAL DEFAULT +6 bl4
|
101 |
|
|
+[0-9]+: 0+10 +0 TLS +LOCAL DEFAULT +6 bl5
|
102 |
|
|
+[0-9]+: [0-9a-f]+ +0 OBJECT LOCAL HIDDEN ABS _DYNAMIC
|
103 |
|
|
+[0-9]+: 0+1c +0 TLS +LOCAL HIDDEN +6 sh3
|
104 |
|
|
+[0-9]+: 0+20 +0 TLS +LOCAL HIDDEN +6 sh4
|
105 |
|
|
+[0-9]+: 0+14 +0 TLS +LOCAL HIDDEN +6 sh1
|
106 |
|
|
+[0-9]+: 0+218c +0 OBJECT LOCAL HIDDEN ABS _GLOBAL_OFFSET_TABLE_
|
107 |
|
|
+[0-9]+: 0+18 +0 TLS +LOCAL HIDDEN +6 sh2
|
108 |
|
|
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg3
|
109 |
|
|
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg4
|
110 |
|
|
+[0-9]+: 0+1000 +0 FUNC +GLOBAL DEFAULT +5 fn3
|
111 |
|
|
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg5
|
112 |
|
|
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg1
|
113 |
|
|
+[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start
|
114 |
|
|
+[0-9]+: 0+ +0 TLS +GLOBAL DEFAULT UND sg2
|
115 |
|
|
+[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata
|
116 |
|
|
+[0-9]+: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end
|