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