1#source: tlssunnopic32.s
2#source: tlsnopic.s
3#as: --32
4#ld: -shared -melf32_sparc
5#readelf: -WSsrl
6#target: sparc*-*-*
7
8.*
9
10Section 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]+\] .rela.dyn +.*
17 +\[[ 0-9]+\] .text +PROGBITS +0+1000 0+1000 0+1000 0+ +AX +0 +0 4096
18 +\[[ 0-9]+\] .tbss +NOBITS +0+12000 0+2000 0+24 0+ WAT +0 +0 +4
19 +\[[ 0-9]+\] .dynamic +DYNAMIC +0+12000 0+2000 0+80 08 +WA +3 +0 +4
20 +\[[ 0-9]+\] .got +PROGBITS +0+12080 0+2080 0+1c 04 +WA +0 +0 +4
21 +\[[ 0-9]+\] .shstrtab +.*
22 +\[[ 0-9]+\] .symtab +.*
23 +\[[ 0-9]+\] .strtab +.*
24#...
25Elf file type is DYN \(Shared object file\)
26Entry point 0x1000
27There are [0-9]+ program headers, starting at offset [0-9]+
28
29Program Headers:
30 +Type +Offset +VirtAddr +PhysAddr +FileSiz MemSiz +Flg Align
31 +LOAD .* R E 0x10000
32 +LOAD .* RW +0x10000
33 +DYNAMIC .* RW +0x4
34 +TLS .* 0x0+ 0x0+24 R +0x4
35#...
36
37Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 12 entries:
38 Offset +Info +Type +Sym. Value +Symbol's Name \+ Addend
39[0-9a-f ]+R_SPARC_HI22 +0+12080 +\.got \+ 12080
40[0-9a-f ]+R_SPARC_LO10 +0+12080 +\.got \+ 12080
41[0-9a-f ]+R_SPARC_TLS_LE_HIX22 +9
42[0-9a-f ]+R_SPARC_TLS_LE_LOX10 +9
43[0-9a-f ]+R_SPARC_TLS_LE_HIX22 +1c
44[0-9a-f ]+R_SPARC_TLS_LE_LOX10 +1c
45[0-9a-f ]+R_SPARC_TLS_TPOFF32 +0
46[0-9a-f ]+R_SPARC_TLS_TPOFF32 +4
47[0-9a-f ]+R_SPARC_TLS_TPOFF32 +14
48[0-9a-f ]+R_SPARC_TLS_TPOFF32 +18
49[0-9a-f ]+R_SPARC_TLS_TPOFF32 +0+ +sg1 \+ 0
50[0-9a-f ]+R_SPARC_TLS_TPOFF32 +0+ +sg2 \+ 0
51
52Symbol table '\.dynsym' contains [0-9]+ entries:
53 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
54.* NOTYPE +LOCAL +DEFAULT +UND *
55.* SECTION +LOCAL +DEFAULT +5 *
56.* SECTION +LOCAL +DEFAULT +6 *
57.* SECTION +LOCAL +DEFAULT +8 *
58.* FUNC +GLOBAL +DEFAULT +5 fn3
59.* TLS +GLOBAL +DEFAULT +UND sg1
60.* NOTYPE +GLOBAL +DEFAULT +8 __bss_start
61.* TLS +GLOBAL +DEFAULT +UND sg2
62.* NOTYPE +GLOBAL +DEFAULT +8 _edata
63.* NOTYPE +GLOBAL +DEFAULT +8 _end
64
65Symbol table '\.symtab' contains [0-9]+ entries:
66 +Num: +Value +Size +Type +Bind +Vis +Ndx +Name
67.* NOTYPE +LOCAL +DEFAULT +UND *
68.* SECTION +LOCAL +DEFAULT +1 *
69.* SECTION +LOCAL +DEFAULT +2 *
70.* SECTION +LOCAL +DEFAULT +3 *
71.* SECTION +LOCAL +DEFAULT +4 *
72.* SECTION +LOCAL +DEFAULT +5 *
73.* SECTION +LOCAL +DEFAULT +6 *
74.* SECTION +LOCAL +DEFAULT +7 *
75.* SECTION +LOCAL +DEFAULT +8 *
76.* FILE +LOCAL +DEFAULT +ABS .*
77.* TLS +LOCAL +DEFAULT +6 bl1
78.* TLS +LOCAL +DEFAULT +6 bl2
79.* TLS +LOCAL +DEFAULT +6 bl3
80.* TLS +LOCAL +DEFAULT +6 bl4
81.* TLS +LOCAL +DEFAULT +6 bl5
82.* TLS +LOCAL +DEFAULT +6 sh3
83.* TLS +LOCAL +DEFAULT +6 sh4
84.* TLS +LOCAL +DEFAULT +6 sh1
85.* TLS +LOCAL +DEFAULT +6 sh2
86.* FILE +LOCAL +DEFAULT +ABS .*
87.* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC
88.* OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_
89.* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_
90.* FUNC +GLOBAL +DEFAULT +5 fn3
91.* TLS +GLOBAL +DEFAULT +UND sg1
92.* NOTYPE +GLOBAL +DEFAULT +8 __bss_start
93.* TLS +GLOBAL +DEFAULT +UND sg2
94.* NOTYPE +GLOBAL +DEFAULT +8 _edata
95.* NOTYPE +GLOBAL +DEFAULT +8 _end
96