1 |
205 |
julius |
#source: tlssunnopic32.s
|
2 |
|
|
#source: tlsnopic.s
|
3 |
|
|
#as: --32
|
4 |
|
|
#ld: -shared -melf32_sparc
|
5 |
|
|
#readelf: -WSsrl
|
6 |
|
|
#target: sparc*-*-*
|
7 |
|
|
|
8 |
|
|
.*
|
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]+\] .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 |
|
|
#...
|
25 |
|
|
Elf file type is DYN \(Shared object file\)
|
26 |
|
|
Entry point 0x1000
|
27 |
|
|
There are [0-9]+ program headers, starting at offset [0-9]+
|
28 |
|
|
|
29 |
|
|
Program 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 |
|
|
|
37 |
|
|
Relocation 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 +0+9
|
42 |
|
|
[0-9a-f ]+R_SPARC_TLS_LE_LOX10 +0+9
|
43 |
|
|
[0-9a-f ]+R_SPARC_TLS_LE_HIX22 +0+1c
|
44 |
|
|
[0-9a-f ]+R_SPARC_TLS_LE_LOX10 +0+1c
|
45 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF32 +0+
|
46 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF32 +0+4
|
47 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF32 +0+14
|
48 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF32 +0+18
|
49 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF32 +0+ +sg1 \+ 0
|
50 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF32 +0+ +sg2 \+ 0
|
51 |
|
|
|
52 |
|
|
Symbol 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 +ABS __bss_start
|
61 |
|
|
.* TLS +GLOBAL DEFAULT +UND sg2
|
62 |
|
|
.* NOTYPE +GLOBAL DEFAULT +ABS _edata
|
63 |
|
|
.* NOTYPE +GLOBAL DEFAULT +ABS _end
|
64 |
|
|
|
65 |
|
|
Symbol 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 |
|
|
.* TLS +LOCAL +DEFAULT +6 bl1
|
77 |
|
|
.* TLS +LOCAL +DEFAULT +6 bl2
|
78 |
|
|
.* TLS +LOCAL +DEFAULT +6 bl3
|
79 |
|
|
.* TLS +LOCAL +DEFAULT +6 bl4
|
80 |
|
|
.* TLS +LOCAL +DEFAULT +6 bl5
|
81 |
|
|
.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
|
82 |
|
|
.* TLS +LOCAL +HIDDEN +6 sh3
|
83 |
|
|
.* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
|
84 |
|
|
.* TLS +LOCAL +HIDDEN +6 sh4
|
85 |
|
|
.* TLS +LOCAL +HIDDEN +6 sh1
|
86 |
|
|
.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
|
87 |
|
|
.* TLS +LOCAL +HIDDEN +6 sh2
|
88 |
|
|
.* FUNC +GLOBAL DEFAULT +5 fn3
|
89 |
|
|
.* TLS +GLOBAL DEFAULT +UND sg1
|
90 |
|
|
.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start
|
91 |
|
|
.* TLS +GLOBAL DEFAULT +UND sg2
|
92 |
|
|
.* NOTYPE +GLOBAL DEFAULT +ABS _edata
|
93 |
|
|
.* NOTYPE +GLOBAL DEFAULT +ABS _end
|