Commit | Line | Data |
---|---|---|
266fb683 AM |
1 | #source: tls.s |
2 | #as: -a64 | |
ed6b7ef4 | 3 | #ld: -shared |
266fb683 AM |
4 | #readelf: -WSsrl |
5 | #target: powerpc64*-*-* | |
6 | ||
c9ccd0df | 7 | There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: |
266fb683 AM |
8 | |
9 | Section Headers: | |
10 | +\[Nr\] Name +Type +Address +Off +Size +ES Flg Lk Inf Al | |
c9ccd0df MF |
11 | +\[[ 0-9]+\] +NULL +0+ 0+ 0+ 0+ +0 +0 +0 |
12 | +\[[ 0-9]+\] \.hash .* | |
13 | +\[[ 0-9]+\] \.dynsym .* | |
14 | +\[[ 0-9]+\] \.dynstr .* | |
15 | +\[[ 0-9]+\] \.rela\.dyn .* | |
16 | +\[[ 0-9]+\] \.rela\.plt .* | |
17 | +\[[ 0-9]+\] \.text .* | |
18 | +\[[ 0-9]+\] \.tdata +PROGBITS .* 0+38 0+ WAT +0 +0 +8 | |
19 | +\[[ 0-9]+\] \.tbss +NOBITS .* 0+38 0+ WAT +0 +0 +8 | |
20 | +\[[ 0-9]+\] \.dynamic .* | |
71a39c98 | 21 | +\[[ 0-9]+\] \.opd .* |
c9ccd0df MF |
22 | +\[[ 0-9]+\] \.got .* |
23 | +\[[ 0-9]+\] \.plt .* | |
c9ccd0df MF |
24 | +\[[ 0-9]+\] \.symtab .* |
25 | +\[[ 0-9]+\] \.strtab .* | |
dd905818 | 26 | +\[[ 0-9]+\] \.shstrtab .* |
266fb683 AM |
27 | #... |
28 | ||
29 | Elf file type is DYN \(Shared object file\) | |
8c37241b | 30 | Entry point 0x[0-9a-f]+ |
c9ccd0df | 31 | There are [0-9]+ program headers, starting at offset [0-9]+ |
266fb683 AM |
32 | |
33 | Program Headers: | |
34 | +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align | |
85167a84 AM |
35 | +LOAD .* R E 0x10000 |
36 | +LOAD .* RW +0x10000 | |
37 | +DYNAMIC .* RW +0x8 | |
38 | +TLS .* 0x0+38 0x0+70 R +0x8 | |
266fb683 AM |
39 | |
40 | Section to Segment mapping: | |
41 | +Segment Sections\.\.\. | |
71a39c98 AM |
42 | +0+ +\.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text * |
43 | +01 +\.tdata \.dynamic \.opd \.got \.plt * | |
44 | +02 +\.dynamic * | |
45 | +03 +\.tdata \.tbss * | |
266fb683 | 46 | |
f749f26e | 47 | Relocation section '\.rela\.dyn' at offset .* contains 20 entries: |
266fb683 | 48 | +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend |
f749f26e | 49 | [0-9a-f ]+R_PPC64_RELATIVE +51c |
a27e685f | 50 | [0-9a-f ]+R_PPC64_RELATIVE +18800 |
f6ac7612 AM |
51 | [0-9a-f ]+R_PPC64_TPREL16 +0+60 le0 \+ 0 |
52 | [0-9a-f ]+R_PPC64_TPREL16_HA +0+68 le1 \+ 0 | |
53 | [0-9a-f ]+R_PPC64_TPREL16_LO +0+68 le1 \+ 0 | |
f26a3287 AM |
54 | [0-9a-f ]+R_PPC64_TPREL16_DS +28 |
55 | [0-9a-f ]+R_PPC64_TPREL16_HA +30 | |
56 | [0-9a-f ]+R_PPC64_TPREL16_LO +30 | |
9920b1ee L |
57 | [0-9a-f ]+R_PPC64_DTPMOD64 +0 |
58 | [0-9a-f ]+R_PPC64_DTPREL64 +0 | |
59 | [0-9a-f ]+R_PPC64_DTPREL64 +18 | |
60 | [0-9a-f ]+R_PPC64_DTPMOD64 +0 | |
f6ac7612 AM |
61 | [0-9a-f ]+R_PPC64_DTPMOD64 +0+ gd \+ 0 |
62 | [0-9a-f ]+R_PPC64_DTPREL64 +0+ gd \+ 0 | |
f749f26e AM |
63 | [0-9a-f ]+R_PPC64_DTPMOD64 +0+40 ld0 \+ 0 |
64 | [0-9a-f ]+R_PPC64_DTPMOD64 +0+ ld \+ 0 | |
f6ac7612 AM |
65 | [0-9a-f ]+R_PPC64_DTPREL64 +0+50 ld2 \+ 0 |
66 | [0-9a-f ]+R_PPC64_DTPMOD64 +0+38 gd0 \+ 0 | |
67 | [0-9a-f ]+R_PPC64_DTPREL64 +0+38 gd0 \+ 0 | |
68 | [0-9a-f ]+R_PPC64_TPREL64 +0+58 ie0 \+ 0 | |
266fb683 | 69 | |
d3a49aa8 | 70 | Relocation section '\.rela\.plt' at offset .* contains 1 entry: |
266fb683 | 71 | +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend |
f6ac7612 | 72 | [0-9a-f ]+R_PPC64_JMP_SLOT +0+ __tls_get_addr \+ 0 |
266fb683 | 73 | |
c9ccd0df | 74 | Symbol table '\.dynsym' contains [0-9]+ entries: |
f9272224 | 75 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
71a39c98 AM |
76 | .* NOTYPE +LOCAL +DEFAULT +UND * |
77 | .* SECTION +LOCAL +DEFAULT +6 * | |
f26a3287 | 78 | .* SECTION +LOCAL +DEFAULT +10 * |
f9272224 AM |
79 | .* TLS +GLOBAL +DEFAULT +UND gd |
80 | .* TLS +GLOBAL +DEFAULT +8 le0 | |
81 | .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr | |
82 | .* TLS +GLOBAL +DEFAULT +8 ld0 | |
83 | .* TLS +GLOBAL +DEFAULT +8 le1 | |
84 | .* TLS +GLOBAL +DEFAULT +UND ld | |
71a39c98 | 85 | .* FUNC +GLOBAL +DEFAULT +10 _start |
f9272224 AM |
86 | .* TLS +GLOBAL +DEFAULT +8 ld2 |
87 | .* TLS +GLOBAL +DEFAULT +8 ld1 | |
f9272224 AM |
88 | .* TLS +GLOBAL +DEFAULT +8 gd0 |
89 | .* TLS +GLOBAL +DEFAULT +8 ie0 | |
266fb683 | 90 | |
c9ccd0df | 91 | Symbol table '\.symtab' contains [0-9]+ entries: |
f9272224 | 92 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
71a39c98 AM |
93 | .* NOTYPE +LOCAL +DEFAULT +UND * |
94 | .* SECTION +LOCAL +DEFAULT +1 * | |
95 | .* SECTION +LOCAL +DEFAULT +2 * | |
96 | .* SECTION +LOCAL +DEFAULT +3 * | |
97 | .* SECTION +LOCAL +DEFAULT +4 * | |
98 | .* SECTION +LOCAL +DEFAULT +5 * | |
99 | .* SECTION +LOCAL +DEFAULT +6 * | |
100 | .* SECTION +LOCAL +DEFAULT +7 * | |
101 | .* SECTION +LOCAL +DEFAULT +8 * | |
102 | .* SECTION +LOCAL +DEFAULT +9 * | |
103 | .* SECTION +LOCAL +DEFAULT +10 * | |
104 | .* SECTION +LOCAL +DEFAULT +11 * | |
105 | .* SECTION +LOCAL +DEFAULT +12 * | |
ffbc01cc | 106 | .* FILE +LOCAL +DEFAULT +ABS .* |
c3614cff | 107 | .* NOTYPE +LOCAL +DEFAULT +ABS TLSMARK |
85167a84 AM |
108 | .* TLS +LOCAL +DEFAULT +7 gd4 |
109 | .* TLS +LOCAL +DEFAULT +7 ld4 | |
110 | .* TLS +LOCAL +DEFAULT +7 ld5 | |
111 | .* TLS +LOCAL +DEFAULT +7 ld6 | |
112 | .* TLS +LOCAL +DEFAULT +7 ie4 | |
113 | .* TLS +LOCAL +DEFAULT +7 le4 | |
114 | .* TLS +LOCAL +DEFAULT +7 le5 | |
49bd1d6e | 115 | .* FILE +LOCAL +DEFAULT +ABS |
ab6dce23 | 116 | .* OBJECT +LOCAL +DEFAULT +9 _DYNAMIC |
b02c4cfa | 117 | .* NOTYPE +LOCAL +DEFAULT +6 __glink_PLTresolve |
2d7ad24e | 118 | .* NOTYPE +LOCAL +DEFAULT +6 .*\.plt_call\.__tls_get_addr |
f9272224 AM |
119 | .* TLS +GLOBAL +DEFAULT +UND gd |
120 | .* TLS +GLOBAL +DEFAULT +8 le0 | |
121 | .* NOTYPE +GLOBAL +DEFAULT +UND __tls_get_addr | |
122 | .* TLS +GLOBAL +DEFAULT +8 ld0 | |
123 | .* TLS +GLOBAL +DEFAULT +8 le1 | |
124 | .* TLS +GLOBAL +DEFAULT +UND ld | |
71a39c98 | 125 | .* FUNC +GLOBAL +DEFAULT +10 _start |
f9272224 AM |
126 | .* TLS +GLOBAL +DEFAULT +8 ld2 |
127 | .* TLS +GLOBAL +DEFAULT +8 ld1 | |
f9272224 AM |
128 | .* TLS +GLOBAL +DEFAULT +8 gd0 |
129 | .* TLS +GLOBAL +DEFAULT +8 ie0 |