1 |
38 |
julius |
#source: tlssunnopic64.s
|
2 |
|
|
#source: tlsnopic.s
|
3 |
|
|
#as: --64 -Av9
|
4 |
|
|
#ld: -shared -melf64_sparc
|
5 |
|
|
#readelf: -WSsrl
|
6 |
|
|
#target: sparc*-*-*
|
7 |
|
|
|
8 |
|
|
.*
|
9 |
|
|
|
10 |
|
|
Section Headers:
|
11 |
|
|
+\[Nr\] Name +Type +Address +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+102000 0+2000 0+24 0+ WAT +0 +0 +4
|
19 |
|
|
+\[[ 0-9]+\] .dynamic +DYNAMIC +0+102000 0+2000 0+100 10 +WA +3 +0 +8
|
20 |
|
|
+\[[ 0-9]+\] .got +PROGBITS +0+102100 0+2100 0+38 08 +WA +0 +0 +8
|
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 0x100000
|
32 |
|
|
+LOAD .* RW +0x100000
|
33 |
|
|
+DYNAMIC .* RW +0x8
|
34 |
|
|
+TLS .* 0x0+ 0x0+24 R +0x4
|
35 |
|
|
#...
|
36 |
|
|
|
37 |
|
|
Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries:
|
38 |
|
|
+Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
|
39 |
|
|
[0-9a-f ]+R_SPARC_HH22 +0+102100 +\.got \+ 102100
|
40 |
|
|
[0-9a-f ]+R_SPARC_LM22 +0+102100 +\.got \+ 102100
|
41 |
|
|
[0-9a-f ]+R_SPARC_HM10 +0+102100 +\.got \+ 102100
|
42 |
|
|
[0-9a-f ]+R_SPARC_LO10 +0+102100 +\.got \+ 102100
|
43 |
|
|
[0-9a-f ]+R_SPARC_TLS_LE_HIX22 +0+9
|
44 |
|
|
[0-9a-f ]+R_SPARC_TLS_LE_LOX10 +0+9
|
45 |
|
|
[0-9a-f ]+R_SPARC_TLS_LE_HIX22 +0+1c
|
46 |
|
|
[0-9a-f ]+R_SPARC_TLS_LE_LOX10 +0+1c
|
47 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF64 +0+
|
48 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF64 +0+4
|
49 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF64 +0+14
|
50 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF64 +0+18
|
51 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF64 +0+ +sg1 \+ 0
|
52 |
|
|
[0-9a-f ]+R_SPARC_TLS_TPOFF64 +0+ +sg2 \+ 0
|
53 |
|
|
|
54 |
|
|
Symbol table '\.dynsym' contains [0-9]+ entries:
|
55 |
|
|
+Num: +Value +Size Type +Bind +Vis +Ndx Name
|
56 |
|
|
.* NOTYPE +LOCAL +DEFAULT +UND *
|
57 |
|
|
.* SECTION LOCAL +DEFAULT +5 *
|
58 |
|
|
.* SECTION LOCAL +DEFAULT +6 *
|
59 |
|
|
.* SECTION LOCAL +DEFAULT +8 *
|
60 |
|
|
.* FUNC +GLOBAL DEFAULT +5 fn3
|
61 |
|
|
.* TLS +GLOBAL DEFAULT +UND sg1
|
62 |
|
|
.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start
|
63 |
|
|
.* TLS +GLOBAL DEFAULT +UND sg2
|
64 |
|
|
.* NOTYPE +GLOBAL DEFAULT +ABS _edata
|
65 |
|
|
.* NOTYPE +GLOBAL DEFAULT +ABS _end
|
66 |
|
|
|
67 |
|
|
Symbol table '\.symtab' contains [0-9]+ entries:
|
68 |
|
|
+Num: +Value +Size Type +Bind +Vis +Ndx Name
|
69 |
|
|
.* NOTYPE +LOCAL +DEFAULT +UND *
|
70 |
|
|
.* SECTION LOCAL +DEFAULT +1 *
|
71 |
|
|
.* SECTION LOCAL +DEFAULT +2 *
|
72 |
|
|
.* SECTION LOCAL +DEFAULT +3 *
|
73 |
|
|
.* SECTION LOCAL +DEFAULT +4 *
|
74 |
|
|
.* SECTION LOCAL +DEFAULT +5 *
|
75 |
|
|
.* SECTION LOCAL +DEFAULT +6 *
|
76 |
|
|
.* SECTION LOCAL +DEFAULT +7 *
|
77 |
|
|
.* SECTION LOCAL +DEFAULT +8 *
|
78 |
|
|
.* TLS +LOCAL +DEFAULT +6 bl1
|
79 |
|
|
.* TLS +LOCAL +DEFAULT +6 bl2
|
80 |
|
|
.* TLS +LOCAL +DEFAULT +6 bl3
|
81 |
|
|
.* TLS +LOCAL +DEFAULT +6 bl4
|
82 |
|
|
.* TLS +LOCAL +DEFAULT +6 bl5
|
83 |
|
|
.* OBJECT +LOCAL +HIDDEN +ABS _DYNAMIC
|
84 |
|
|
.* TLS +LOCAL +HIDDEN +6 sh3
|
85 |
|
|
.* OBJECT +LOCAL +HIDDEN +ABS _PROCEDURE_LINKAGE_TABLE_
|
86 |
|
|
.* TLS +LOCAL +HIDDEN +6 sh4
|
87 |
|
|
.* TLS +LOCAL +HIDDEN +6 sh1
|
88 |
|
|
.* OBJECT +LOCAL +HIDDEN +ABS _GLOBAL_OFFSET_TABLE_
|
89 |
|
|
.* TLS +LOCAL +HIDDEN +6 sh2
|
90 |
|
|
.* FUNC +GLOBAL DEFAULT +5 fn3
|
91 |
|
|
.* TLS +GLOBAL DEFAULT +UND sg1
|
92 |
|
|
.* NOTYPE +GLOBAL DEFAULT +ABS __bss_start
|
93 |
|
|
.* TLS +GLOBAL DEFAULT +UND sg2
|
94 |
|
|
.* NOTYPE +GLOBAL DEFAULT +ABS _edata
|
95 |
|
|
.* NOTYPE +GLOBAL DEFAULT +ABS _end
|