1 |
134 |
khays |
#source: tlsbin.s
|
2 |
|
|
#as:
|
3 |
|
|
#ld: -melf32xtensa
|
4 |
|
|
#readelf: -WSsrl
|
5 |
|
|
#target: xtensa*-*-linux*
|
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+ 00 +0 +0 +0
|
12 |
|
|
+\[[ 0-9]+\] .interp +.*
|
13 |
|
|
+\[[ 0-9]+\] .hash +.*
|
14 |
|
|
+\[[ 0-9]+\] .dynsym +.*
|
15 |
|
|
+\[[ 0-9]+\] .dynstr +.*
|
16 |
|
|
+\[[ 0-9]+\] .rela.dyn +.*
|
17 |
|
|
+\[[ 0-9]+\] .text +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +AX +0 +0 +4
|
18 |
|
|
+\[[ 0-9]+\] .got.loc +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +A +0 +0 +4
|
19 |
|
|
+\[[ 0-9]+\] .tdata +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WAT +0 +0 +4
|
20 |
|
|
+\[[ 0-9]+\] .dynamic +DYNAMIC +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 08 +WA +4 +0 +4
|
21 |
|
|
+\[[ 0-9]+\] .got +PROGBITS +[0-9a-f]+ [0-9a-f]+ [0-9a-f]+ 00 +WA +0 +0 +4
|
22 |
|
|
+\[[ 0-9]+\] .xt.lit +PROGBITS +0+ .*
|
23 |
|
|
+\[[ 0-9]+\] .xt.prop +PROGBITS +0+ .*
|
24 |
|
|
+\[[ 0-9]+\] .xtensa.info +NOTE +0+ .*
|
25 |
|
|
+\[[ 0-9]+\] .shstrtab +.*
|
26 |
|
|
+\[[ 0-9]+\] .symtab +.*
|
27 |
|
|
+\[[ 0-9]+\] .strtab +.*
|
28 |
|
|
Key to Flags:
|
29 |
|
|
.*
|
30 |
|
|
.*
|
31 |
|
|
.*
|
32 |
|
|
|
33 |
|
|
Elf file type is EXEC \(Executable file\)
|
34 |
|
|
Entry point 0x[0-9a-f]+
|
35 |
|
|
There are [0-9]+ program headers, starting at offset [0-9]+
|
36 |
|
|
|
37 |
|
|
Program Headers:
|
38 |
|
|
+Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align
|
39 |
|
|
+PHDR.*
|
40 |
|
|
+INTERP.*
|
41 |
|
|
.*Requesting program interpreter.*
|
42 |
|
|
+LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R E 0x1000
|
43 |
|
|
+LOAD +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW +0x1000
|
44 |
|
|
+DYNAMIC +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ RW +0x4
|
45 |
|
|
+TLS +0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ 0x[0-9a-f]+ R +0x4
|
46 |
|
|
|
47 |
|
|
Section to Segment mapping:
|
48 |
|
|
+Segment Sections...
|
49 |
|
|
+00 *
|
50 |
|
|
+01 +.interp *
|
51 |
|
|
+02 +.interp .hash .dynsym .dynstr .rela.dyn .text .got.loc *
|
52 |
|
|
+03 +.tdata .dynamic .got *
|
53 |
|
|
+04 +.dynamic *
|
54 |
|
|
+05 +.tdata *
|
55 |
|
|
|
56 |
|
|
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 3 entries:
|
57 |
|
|
+Offset +Info +Type +Sym\. Value +Symbol's Name \+ Addend
|
58 |
|
|
[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+ +sG1 \+ 0
|
59 |
|
|
[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+ +sG2 \+ 0
|
60 |
|
|
[0-9a-f]+ +[0-9a-f]+ R_XTENSA_TLS_TPOFF +0+ +sG2 \+ 0
|
61 |
|
|
|
62 |
|
|
Symbol table '\.dynsym' contains [0-9]+ entries:
|
63 |
|
|
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
|
64 |
|
|
+[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
|
65 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
|
66 |
|
|
+[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
|
67 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
|
68 |
|
|
+[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
|
69 |
|
|
+[0-9]+: 0+[0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
|
70 |
|
|
|
71 |
|
|
Symbol table '\.symtab' contains [0-9]+ entries:
|
72 |
|
|
+Num: +Value +Size +Type +Bind +Vis +Ndx +Name
|
73 |
|
|
+[0-9]+: 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND *
|
74 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +1 *
|
75 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +2 *
|
76 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +3 *
|
77 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +4 *
|
78 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +5 *
|
79 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +6 *
|
80 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +7 *
|
81 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +8 *
|
82 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +9 *
|
83 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +10 *
|
84 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +11 *
|
85 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +12 *
|
86 |
|
|
+[0-9]+: [0-9a-f]+ +0 +SECTION +LOCAL +DEFAULT +13 *
|
87 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl1
|
88 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl2
|
89 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl3
|
90 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl4
|
91 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl5
|
92 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl6
|
93 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl7
|
94 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +LOCAL +DEFAULT +8 sl8
|
95 |
|
|
+[0-9]+: 0+ +0 +TLS +LOCAL +DEFAULT +8 _TLS_MODULE_BASE_
|
96 |
|
|
+[0-9]+: [0-9a-f]+ +0 +OBJECT +LOCAL +DEFAULT +9 _DYNAMIC
|
97 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg8
|
98 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg3
|
99 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh3
|
100 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG2
|
101 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg4
|
102 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg5
|
103 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh7
|
104 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh8
|
105 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg1
|
106 |
|
|
+[0-9]+: [0-9a-f]+ +0 +FUNC +GLOBAL +DEFAULT +6 _start
|
107 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh4
|
108 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh5
|
109 |
|
|
+[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS __bss_start
|
110 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg2
|
111 |
|
|
+[0-9]+: 0+ +0 +TLS +GLOBAL +DEFAULT +UND sG1
|
112 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh1
|
113 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg6
|
114 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +DEFAULT +8 sg7
|
115 |
|
|
+[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _edata
|
116 |
|
|
+[0-9]+: [0-9a-f]+ +0 +NOTYPE +GLOBAL +DEFAULT +ABS _end
|
117 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh2
|
118 |
|
|
+[0-9]+: [0-9a-f]+ +0 +TLS +GLOBAL +HIDDEN +8 sh6
|