Commit | Line | Data |
---|---|---|
37e55690 JJ |
1 | #source: tlsbinpic.s |
2 | #source: tlsbin.s | |
3 | #as: --32 | |
4 | #ld: -melf_i386 tmpdir/libtlslib.so | |
5 | #readelf: -Ssrl | |
6 | #target: i?86-*-* | |
7 | ||
8 | There are 18 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\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 | |
13 | \[ 1\] \.interp +.* | |
14 | \[ 2\] \.hash +.* | |
15 | \[ 3\] \.dynsym +.* | |
16 | \[ 4\] \.dynstr +.* | |
17 | \[ 5\] \.rel.dyn +.* | |
18 | \[ 6\] \.rel.plt +.* | |
19 | \[ 7\] \.plt +.* | |
20 | \[ 8\] \.text +PROGBITS +0+8049000 .* | |
21 | \[ 9\] \.data +.* | |
22 | \[10\] .tdata +PROGBITS +0+804a000 [0-9a-f]+ 000060 00 WAT 0 0 1 | |
23 | \[11\] .tbss +NOBITS +[0-9a-f]+ [0-9a-f]+ 000040 00 WAT 0 0 1 | |
24 | \[12\] \.dynamic +DYNAMIC +0+804a060 .* | |
25 | \[13\] \.got +PROGBITS +0+804a100 .* | |
26 | \[14\] \.bss +.* | |
27 | \[15\] \.shstrtab +.* | |
28 | \[16\] \.symtab +.* | |
29 | \[17\] \.strtab +.* | |
30 | Key to Flags: | |
31 | .* | |
32 | .* | |
33 | .* | |
34 | ||
35 | Elf file type is EXEC \(Executable file\) | |
36 | Entry point 0x8049178 | |
37 | There are 6 program headers, starting at offset [0-9]+ | |
38 | ||
39 | Program Headers: | |
40 | Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align | |
41 | PHDR.* | |
42 | INTERP.* | |
43 | .*Requesting program interpreter.* | |
44 | LOAD.* | |
45 | LOAD.* | |
46 | DYNAMIC.* | |
47 | TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x0+60 0x0+a0 R +0x1 | |
48 | ||
49 | Section to Segment mapping: | |
50 | Segment Sections... | |
51 | 00 + | |
52 | 01 +.interp * | |
53 | 02 +.interp .hash .dynsym .dynstr .rel.dyn .rel.plt .plt .text * | |
54 | 03 +.tdata .tbss .dynamic .got * | |
55 | 04 +.tbss .dynamic * | |
56 | 05 +.tdata .tbss * | |
57 | ||
58 | Relocation section '.rel.dyn' at offset 0x[0-9a-f]+ contains 9 entries: | |
59 | Offset +Info +Type +Sym.Value +Sym. Name | |
60 | 0+804a110 0000010e R_386_TLS_TPOFF +0+ +sG3 | |
61 | 0+804a114 0000020e R_386_TLS_TPOFF +0+ +sG5 | |
62 | 0+804a118 0000040e R_386_TLS_TPOFF +0+ +sG7 | |
63 | 0+804a11c 00000525 R_386_TLS_TPOFF32 0+ +sG2 | |
64 | 0+804a120 00000625 R_386_TLS_TPOFF32 0+ +sG4 | |
65 | 0+804a124 0000060e R_386_TLS_TPOFF +0+ +sG4 | |
66 | 0+804a128 00000825 R_386_TLS_TPOFF32 0+ +sG6 | |
67 | 0+804a12c 00000925 R_386_TLS_TPOFF32 0+ +sG1 | |
68 | 0+804a130 00000d0e R_386_TLS_TPOFF +0+ +sG8 | |
69 | ||
70 | Relocation section '.rel.plt' at offset 0x30c contains 1 entries: | |
71 | Offset +Info +Type +Sym.Value Sym. Name | |
72 | 0+804a10c 00000e07 R_386_JUMP_SLOT +[0-9a-f]+ +___tls_get_addr | |
73 | ||
74 | Symbol table '.dynsym' contains 15 entries: | |
75 | +Num: +Value Size Type +Bind +Vis +Ndx Name | |
76 | +0: 0+ +0 NOTYPE LOCAL DEFAULT UND * | |
77 | +1: 0+ +0 TLS +GLOBAL DEFAULT UND sG3 | |
78 | +2: 0+ +0 TLS +GLOBAL DEFAULT UND sG5 | |
79 | +3: 0+804a060 +0 OBJECT GLOBAL DEFAULT ABS _DYNAMIC | |
80 | +4: 0+ +0 TLS +GLOBAL DEFAULT UND sG7 | |
81 | +5: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 | |
82 | +6: 0+ +0 TLS +GLOBAL DEFAULT UND sG4 | |
83 | +7: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS __bss_start | |
84 | +8: 0+ +0 TLS +GLOBAL DEFAULT UND sG6 | |
85 | +9: 0+ +0 TLS +GLOBAL DEFAULT UND sG1 | |
86 | +10: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata | |
87 | +11: 0+804a100 +0 OBJECT GLOBAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ | |
88 | +12: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end | |
89 | +13: 0+ +0 TLS +GLOBAL DEFAULT UND sG8 | |
90 | +14: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT UND ___tls_get_addr | |
91 | ||
92 | Symbol table '.symtab' contains 74 entries: | |
93 | +Num: +Value Size Type +Bind +Vis +Ndx Name | |
94 | +0: 0+ +0 NOTYPE LOCAL DEFAULT UND * | |
95 | +1: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +1 * | |
96 | +2: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +2 * | |
97 | +3: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +3 * | |
98 | +4: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +4 * | |
99 | +5: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +5 * | |
100 | +6: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +6 * | |
101 | +7: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +7 * | |
102 | +8: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +8 * | |
103 | +9: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +9 * | |
104 | +10: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +10 * | |
105 | +11: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +11 * | |
106 | +12: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +12 * | |
107 | +13: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +13 * | |
108 | +14: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +14 * | |
109 | +15: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +15 * | |
110 | +16: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +16 * | |
111 | +17: [0-9a-f]+ +0 SECTION LOCAL DEFAULT +17 * | |
112 | +18: 00000020 +0 TLS +LOCAL DEFAULT +10 sl1 | |
113 | +19: 00000024 +0 TLS +LOCAL DEFAULT +10 sl2 | |
114 | +20: 00000028 +0 TLS +LOCAL DEFAULT +10 sl3 | |
115 | +21: 0000002c +0 TLS +LOCAL DEFAULT +10 sl4 | |
116 | +22: 00000030 +0 TLS +LOCAL DEFAULT +10 sl5 | |
117 | +23: 00000034 +0 TLS +LOCAL DEFAULT +10 sl6 | |
118 | +24: 00000038 +0 TLS +LOCAL DEFAULT +10 sl7 | |
119 | +25: 0000003c +0 TLS +LOCAL DEFAULT +10 sl8 | |
120 | +26: 00000080 +0 TLS +LOCAL DEFAULT +11 bl1 | |
121 | +27: 00000084 +0 TLS +LOCAL DEFAULT +11 bl2 | |
122 | +28: 00000088 +0 TLS +LOCAL DEFAULT +11 bl3 | |
123 | +29: 0000008c +0 TLS +LOCAL DEFAULT +11 bl4 | |
124 | +30: 00000090 +0 TLS +LOCAL DEFAULT +11 bl5 | |
125 | +31: 00000094 +0 TLS +LOCAL DEFAULT +11 bl6 | |
126 | +32: 00000098 +0 TLS +LOCAL DEFAULT +11 bl7 | |
127 | +33: 0000009c +0 TLS +LOCAL DEFAULT +11 bl8 | |
128 | +34: 0+ +0 TLS +GLOBAL DEFAULT UND sG3 | |
129 | +35: 0000001c +0 TLS +GLOBAL DEFAULT +10 sg8 | |
130 | +36: 0000007c +0 TLS +GLOBAL DEFAULT +11 bg8 | |
131 | +37: 00000074 +0 TLS +GLOBAL DEFAULT +11 bg6 | |
132 | +38: 0+ +0 TLS +GLOBAL DEFAULT UND sG5 | |
133 | +39: 00000068 +0 TLS +GLOBAL DEFAULT +11 bg3 | |
134 | +40: 0+804a060 +0 OBJECT GLOBAL DEFAULT ABS _DYNAMIC | |
135 | +41: 00000008 +0 TLS +GLOBAL DEFAULT +10 sg3 | |
136 | +42: 0+ +0 TLS +GLOBAL DEFAULT UND sG7 | |
137 | +43: 00000048 +0 TLS +GLOBAL HIDDEN +10 sh3 | |
138 | +44: 0+ +0 TLS +GLOBAL DEFAULT UND sG2 | |
139 | +45: 0000000c +0 TLS +GLOBAL DEFAULT +10 sg4 | |
140 | +46: 0+ +0 TLS +GLOBAL DEFAULT UND sG4 | |
141 | +47: 00000010 +0 TLS +GLOBAL DEFAULT +10 sg5 | |
142 | +48: 00000070 +0 TLS +GLOBAL DEFAULT +11 bg5 | |
143 | +49: 00000058 +0 TLS +GLOBAL HIDDEN +10 sh7 | |
144 | +50: 0000005c +0 TLS +GLOBAL HIDDEN +10 sh8 | |
145 | +51: 0+ +0 TLS +GLOBAL DEFAULT +10 sg1 | |
146 | +52: 0+8049178 +0 FUNC +GLOBAL DEFAULT +8 _start | |
147 | +53: 0000004c +0 TLS +GLOBAL HIDDEN +10 sh4 | |
148 | +54: 00000078 +0 TLS +GLOBAL DEFAULT +11 bg7 | |
149 | +55: 00000050 +0 TLS +GLOBAL HIDDEN +10 sh5 | |
150 | +56: 0+804a134 +0 NOTYPE GLOBAL DEFAULT ABS __bss_start | |
151 | +57: 0+ +0 TLS +GLOBAL DEFAULT UND sG6 | |
152 | +58: 0+8049000 +0 FUNC +GLOBAL DEFAULT +8 fn2 | |
153 | +59: 00000004 +0 TLS +GLOBAL DEFAULT +10 sg2 | |
154 | +60: 0+ +0 TLS +GLOBAL DEFAULT UND sG1 | |
155 | +61: 00000040 +0 TLS +GLOBAL HIDDEN +10 sh1 | |
156 | +62: 00000014 +0 TLS +GLOBAL DEFAULT +10 sg6 | |
157 | +63: 00000018 +0 TLS +GLOBAL DEFAULT +10 sg7 | |
158 | +64: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _edata | |
159 | +65: 0+804a100 +0 OBJECT GLOBAL DEFAULT ABS _GLOBAL_OFFSET_TABLE_ | |
160 | +66: [0-9a-f]+ +0 NOTYPE GLOBAL DEFAULT ABS _end | |
161 | +67: 00000044 +0 TLS +GLOBAL HIDDEN +10 sh2 | |
162 | +68: 00000054 +0 TLS +GLOBAL HIDDEN +10 sh6 | |
163 | +69: 0+ +0 TLS +GLOBAL DEFAULT UND sG8 | |
164 | +70: 00000064 +0 TLS +GLOBAL DEFAULT +11 bg2 | |
165 | +71: 00000060 +0 TLS +GLOBAL DEFAULT +11 bg1 | |
166 | +72: [0-9a-f]+ +0 FUNC +GLOBAL DEFAULT UND ___tls_get_addr | |
167 | +73: 0000006c +0 TLS +GLOBAL DEFAULT +11 bg4 |