Commit | Line | Data |
---|---|---|
b9734f35 JJ |
1 | #source: tlssunpic64.s |
2 | #source: tlspic.s | |
3 | #as: --64 -Av9 -K PIC | |
4 | #ld: -shared -melf64_sparc | |
5 | #readelf: -WSsrl | |
6 | #target: sparc*-*-* | |
7 | ||
c9ccd0df | 8 | There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: |
40937810 JJ |
9 | |
10 | Section Headers: | |
11 | +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al | |
c9ccd0df MF |
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]+\] .rela.plt +.* | |
18 | +\[[ 0-9]+\] .text +PROGBITS +0+1000 0+1000 0+1000 0+ +AX +0 +0 4096 | |
19 | +\[[ 0-9]+\] .tdata +PROGBITS +0+102000 0+2000 0+60 0+ WAT +0 +0 +4 | |
20 | +\[[ 0-9]+\] .tbss +NOBITS +0+102060 0+2060 0+20 0+ WAT +0 +0 +4 | |
21 | +\[[ 0-9]+\] .dynamic +DYNAMIC +0+102060 0+2060 0+130 10 +WA +3 +0 +8 | |
22 | +\[[ 0-9]+\] .got +PROGBITS +0+102190 0+2190 0+98 08 +WA +0 +0 +8 | |
23 | +\[[ 0-9]+\] .plt +.* | |
24 | +\[[ 0-9]+\] .shstrtab +.* | |
25 | +\[[ 0-9]+\] .symtab +.* | |
26 | +\[[ 0-9]+\] .strtab +.* | |
40937810 JJ |
27 | #... |
28 | ||
29 | Elf file type is DYN \(Shared object file\) | |
30 | Entry point 0x1000 | |
c9ccd0df | 31 | There are [0-9]+ program headers, starting at offset [0-9]+ |
40937810 JJ |
32 | |
33 | Program Headers: | |
34 | +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align | |
35 | +LOAD +0x0+ 0x0+ 0x0+ 0x0+2000 0x0+2000 R E 0x100000 | |
36 | +LOAD +0x0+2000 0x0+102000 0x0+102000 0x0+3a0 0x0+3a0 RWE 0x100000 | |
37 | +DYNAMIC +0x0+2060 0x0+102060 0x0+102060 0x0+130 0x0+130 RW +0x8 | |
38 | +TLS +0x0+2000 0x0+102000 0x0+102000 0x0+60 0x0+80 R +0x4 | |
39 | #... | |
40 | ||
41 | Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 14 entries: | |
42 | +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend | |
9920b1ee L |
43 | [0-9a-f ]+R_SPARC_TLS_DTPMOD64 +0 |
44 | [0-9a-f ]+R_SPARC_TLS_TPOFF64 +24 | |
45 | [0-9a-f ]+R_SPARC_TLS_TPOFF64 +30 | |
46 | [0-9a-f ]+R_SPARC_TLS_DTPMOD64 +0 | |
47 | [0-9a-f ]+R_SPARC_TLS_DTPMOD64 +0 | |
48 | [0-9a-f ]+R_SPARC_TLS_TPOFF64 +64 | |
49 | [0-9a-f ]+R_SPARC_TLS_TPOFF64 +50 | |
50 | [0-9a-f ]+R_SPARC_TLS_TPOFF64 +70 | |
51 | [0-9a-f ]+R_SPARC_TLS_DTPMOD64 +0 | |
52 | [0-9a-f ]+R_SPARC_TLS_TPOFF64 +44 | |
85167a84 AM |
53 | [0-9a-f ]+R_SPARC_TLS_TPOFF64 +0+10 +sg5 \+ 0 |
54 | [0-9a-f ]+R_SPARC_TLS_DTPMOD64 +0+ +sg1 \+ 0 | |
55 | [0-9a-f ]+R_SPARC_TLS_DTPOFF64 +0+ +sg1 \+ 0 | |
56 | [0-9a-f ]+R_SPARC_TLS_TPOFF64 +0+4 +sg2 \+ 0 | |
40937810 JJ |
57 | |
58 | Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entries: | |
59 | +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend | |
85167a84 | 60 | [0-9a-f ]+R_SPARC_JMP_SLOT +0+ +__tls_get_addr \+ 0 |
40937810 | 61 | |
c9ccd0df | 62 | Symbol table '\.dynsym' contains [0-9]+ entries: |
f9272224 | 63 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
85167a84 | 64 | .* NOTYPE +LOCAL +DEFAULT +UND * |
f9272224 AM |
65 | .* SECTION +LOCAL +DEFAULT +6 * |
66 | .* SECTION +LOCAL +DEFAULT +7 * | |
67 | .* SECTION +LOCAL +DEFAULT +10 * | |
68 | .* TLS +GLOBAL +DEFAULT +7 sg8 | |
69 | .* TLS +GLOBAL +DEFAULT +7 sg3 | |
70 | .* TLS +GLOBAL +DEFAULT +7 sg4 | |
71 | .* TLS +GLOBAL +DEFAULT +7 sg5 | |
72 | .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr | |
73 | .* TLS +GLOBAL +DEFAULT +7 sg1 | |
74 | .* FUNC +GLOBAL +DEFAULT +6 fn1 | |
d2667025 | 75 | .* NOTYPE +GLOBAL +DEFAULT +11 __bss_start |
f9272224 AM |
76 | .* TLS +GLOBAL +DEFAULT +7 sg2 |
77 | .* TLS +GLOBAL +DEFAULT +7 sg6 | |
78 | .* TLS +GLOBAL +DEFAULT +7 sg7 | |
d2667025 AM |
79 | .* NOTYPE +GLOBAL +DEFAULT +11 _edata |
80 | .* NOTYPE +GLOBAL +DEFAULT +11 _end | |
40937810 | 81 | |
c9ccd0df | 82 | Symbol table '\.symtab' contains [0-9]+ entries: |
f9272224 | 83 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
85167a84 | 84 | .* NOTYPE +LOCAL +DEFAULT +UND * |
f9272224 AM |
85 | .* SECTION +LOCAL +DEFAULT +1 * |
86 | .* SECTION +LOCAL +DEFAULT +2 * | |
87 | .* SECTION +LOCAL +DEFAULT +3 * | |
88 | .* SECTION +LOCAL +DEFAULT +4 * | |
89 | .* SECTION +LOCAL +DEFAULT +5 * | |
90 | .* SECTION +LOCAL +DEFAULT +6 * | |
91 | .* SECTION +LOCAL +DEFAULT +7 * | |
92 | .* SECTION +LOCAL +DEFAULT +8 * | |
93 | .* SECTION +LOCAL +DEFAULT +9 * | |
94 | .* SECTION +LOCAL +DEFAULT +10 * | |
95 | .* SECTION +LOCAL +DEFAULT +11 * | |
ffbc01cc | 96 | .* FILE +LOCAL +DEFAULT +ABS .* |
85167a84 AM |
97 | .* TLS +LOCAL +DEFAULT +7 sl1 |
98 | .* TLS +LOCAL +DEFAULT +7 sl2 | |
99 | .* TLS +LOCAL +DEFAULT +7 sl3 | |
100 | .* TLS +LOCAL +DEFAULT +7 sl4 | |
101 | .* TLS +LOCAL +DEFAULT +7 sl5 | |
102 | .* TLS +LOCAL +DEFAULT +7 sl6 | |
103 | .* TLS +LOCAL +DEFAULT +7 sl7 | |
104 | .* TLS +LOCAL +DEFAULT +7 sl8 | |
49bd1d6e L |
105 | .* FILE +LOCAL +DEFAULT +ABS |
106 | .* OBJECT +LOCAL +DEFAULT +ABS _DYNAMIC | |
107 | .* OBJECT +LOCAL +DEFAULT +ABS _PROCEDURE_LINKAGE_TABLE_ | |
108 | .* OBJECT +LOCAL +DEFAULT +ABS _GLOBAL_OFFSET_TABLE_ | |
935bd1e0 | 109 | .* TLS +LOCAL +DEFAULT +8 sH1 |
935bd1e0 L |
110 | .* TLS +LOCAL +DEFAULT +7 sh3 |
111 | .* TLS +LOCAL +DEFAULT +8 sH2 | |
112 | .* TLS +LOCAL +DEFAULT +8 sH7 | |
935bd1e0 L |
113 | .* TLS +LOCAL +DEFAULT +7 sh7 |
114 | .* TLS +LOCAL +DEFAULT +7 sh8 | |
115 | .* TLS +LOCAL +DEFAULT +8 sH4 | |
116 | .* TLS +LOCAL +DEFAULT +7 sh4 | |
117 | .* TLS +LOCAL +DEFAULT +8 sH3 | |
118 | .* TLS +LOCAL +DEFAULT +7 sh5 | |
119 | .* TLS +LOCAL +DEFAULT +8 sH5 | |
120 | .* TLS +LOCAL +DEFAULT +8 sH6 | |
121 | .* TLS +LOCAL +DEFAULT +8 sH8 | |
122 | .* TLS +LOCAL +DEFAULT +7 sh1 | |
935bd1e0 L |
123 | .* TLS +LOCAL +DEFAULT +7 sh2 |
124 | .* TLS +LOCAL +DEFAULT +7 sh6 | |
f9272224 AM |
125 | .* TLS +GLOBAL +DEFAULT +7 sg8 |
126 | .* TLS +GLOBAL +DEFAULT +7 sg3 | |
127 | .* TLS +GLOBAL +DEFAULT +7 sg4 | |
128 | .* TLS +GLOBAL +DEFAULT +7 sg5 | |
129 | .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr | |
130 | .* TLS +GLOBAL +DEFAULT +7 sg1 | |
131 | .* FUNC +GLOBAL +DEFAULT +6 fn1 | |
d2667025 | 132 | .* NOTYPE +GLOBAL +DEFAULT +11 __bss_start |
f9272224 AM |
133 | .* TLS +GLOBAL +DEFAULT +7 sg2 |
134 | .* TLS +GLOBAL +DEFAULT +7 sg6 | |
135 | .* TLS +GLOBAL +DEFAULT +7 sg7 | |
d2667025 AM |
136 | .* NOTYPE +GLOBAL +DEFAULT +11 _edata |
137 | .* NOTYPE +GLOBAL +DEFAULT +11 _end |