Commit | Line | Data |
---|---|---|
266fb683 AM |
1 | #source: tls.s |
2 | #source: tlslib.s | |
3 | #as: -a64 | |
ac8b6cc0 | 4 | #ld: -melf64ppc |
266fb683 AM |
5 | #readelf: -WSsrl |
6 | #target: powerpc64*-*-* | |
7 | ||
c9ccd0df | 8 | There are [0-9]+ section headers, starting at offset 0x[0-9a-f]+: |
266fb683 AM |
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]+\] \.interp +.* | |
14 | +\[[ 0-9]+\] \.hash +.* | |
15 | +\[[ 0-9]+\] \.dynsym +.* | |
16 | +\[[ 0-9]+\] \.dynstr +.* | |
17 | +\[[ 0-9]+\] \.rela\.dyn +.* | |
18 | +\[[ 0-9]+\] \.rela\.plt +.* | |
9df0ef5f | 19 | +\[[ 0-9]+\] \.text +PROGBITS .* 0+128 0+ +AX +0 +0 +8 |
c9ccd0df MF |
20 | +\[[ 0-9]+\] \.tdata +PROGBITS .* 0+38 0+ WAT +0 +0 +8 |
21 | +\[[ 0-9]+\] \.tbss +NOBITS .* 0+38 0+ WAT +0 +0 +8 | |
a7f2871e | 22 | +\[[ 0-9]+\] \.dynamic +DYNAMIC .* 0+160 10 +WA +4 +0 +8 |
c9ccd0df MF |
23 | +\[[ 0-9]+\] \.got +PROGBITS .* 0+30 08 +WA +0 +0 +8 |
24 | +\[[ 0-9]+\] \.plt +.* | |
25 | +\[[ 0-9]+\] \.shstrtab +.* | |
26 | +\[[ 0-9]+\] \.symtab +.* | |
27 | +\[[ 0-9]+\] \.strtab +.* | |
266fb683 AM |
28 | #... |
29 | ||
30 | Elf file type is EXEC \(Executable file\) | |
e7b679eb | 31 | Entry point .* |
c9ccd0df | 32 | There are [0-9]+ program headers, starting at offset [0-9]+ |
266fb683 AM |
33 | |
34 | Program Headers: | |
35 | +Type +Offset +VirtAddr +PhysAddr +FileSiz +MemSiz +Flg Align | |
36 | +PHDR +0x0+40 0x0+10000040 0x0+10000040 0x0+150 0x0+150 R E 0x8 | |
37 | +INTERP +0x0+190 0x0+10000190 0x0+10000190 0x0+11 0x0+11 R +0x1 | |
38 | +\[Requesting program interpreter: .*\] | |
85167a84 AM |
39 | +LOAD .* R E 0x10000 |
40 | +LOAD .* RW +0x10000 | |
41 | +DYNAMIC .* RW +0x8 | |
42 | +TLS .* 0x0+38 0x0+70 R +0x8 | |
266fb683 AM |
43 | |
44 | Section to Segment mapping: | |
45 | +Segment Sections\.\.\. | |
ac8b6cc0 | 46 | +0+ + |
266fb683 | 47 | +01 +\.interp |
ac8b6cc0 | 48 | +02 +\.interp \.hash \.dynsym \.dynstr \.rela\.dyn \.rela\.plt \.text |
d969d15f | 49 | +03 +\.tdata \.dynamic \.got \.plt |
cbaa0dc5 | 50 | +04 +\.dynamic |
266fb683 AM |
51 | +05 +\.tdata \.tbss |
52 | ||
89b16ee5 | 53 | Relocation section '\.rela\.dyn' at offset .* contains 3 entries: |
266fb683 | 54 | +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend |
f6ac7612 AM |
55 | [0-9a-f ]+R_PPC64_TPREL64 +0+ gd \+ 0 |
56 | [0-9a-f ]+R_PPC64_DTPMOD64 +0+ ld \+ 0 | |
57 | [0-9a-f ]+R_PPC64_DTPREL64 +0+50 ld2 \+ 0 | |
266fb683 | 58 | |
ac8b6cc0 AM |
59 | Relocation section '\.rela\.plt' at offset .* contains 1 entries: |
60 | +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend | |
a7f2871e | 61 | [0-9a-f ]+R_PPC64_JMP_SLOT +0+ __tls_get_addr_opt \+ 0 |
ac8b6cc0 | 62 | |
85167a84 | 63 | Symbol table '\.dynsym' contains [0-9]+ entries: |
f9272224 | 64 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
85167a84 | 65 | .* NOTYPE +LOCAL +DEFAULT +UND |
f9272224 AM |
66 | .* TLS +GLOBAL +DEFAULT +UND gd |
67 | .* TLS +GLOBAL +DEFAULT +UND ld | |
68 | .* TLS +GLOBAL +DEFAULT +9 ld2 | |
69 | .* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start | |
70 | .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt | |
71 | .* NOTYPE +GLOBAL +DEFAULT +ABS _edata | |
72 | .* NOTYPE +GLOBAL +DEFAULT +ABS _end | |
266fb683 | 73 | |
c9ccd0df | 74 | Symbol table '\.symtab' contains [0-9]+ entries: |
f9272224 AM |
75 | +Num: +Value +Size +Type +Bind +Vis +Ndx +Name |
76 | .* 0+ +0 +NOTYPE +LOCAL +DEFAULT +UND | |
77 | .* SECTION +LOCAL +DEFAULT +1 | |
78 | .* SECTION +LOCAL +DEFAULT +2 | |
79 | .* SECTION +LOCAL +DEFAULT +3 | |
80 | .* SECTION +LOCAL +DEFAULT +4 | |
81 | .* SECTION +LOCAL +DEFAULT +5 | |
82 | .* SECTION +LOCAL +DEFAULT +6 | |
83 | .* SECTION +LOCAL +DEFAULT +7 | |
84 | .* SECTION +LOCAL +DEFAULT +8 | |
85 | .* SECTION +LOCAL +DEFAULT +9 | |
86 | .* SECTION +LOCAL +DEFAULT +10 | |
87 | .* SECTION +LOCAL +DEFAULT +11 | |
88 | .* SECTION +LOCAL +DEFAULT +12 | |
e4e0193e AM |
89 | .* TLS +LOCAL +DEFAULT +8 gd4 |
90 | .* TLS +LOCAL +DEFAULT +8 ld4 | |
91 | .* TLS +LOCAL +DEFAULT +8 ld5 | |
92 | .* TLS +LOCAL +DEFAULT +8 ld6 | |
93 | .* TLS +LOCAL +DEFAULT +8 ie4 | |
94 | .* TLS +LOCAL +DEFAULT +8 le4 | |
95 | .* TLS +LOCAL +DEFAULT +8 le5 | |
935bd1e0 | 96 | .* OBJECT +LOCAL +DEFAULT +10 _DYNAMIC |
b02c4cfa AM |
97 | .* (NOTYPE +LOCAL +DEFAULT +7 00000010\.plt_call\.__tls_get_addr(|_opt)\+0|(FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt)) |
98 | .* (NOTYPE +LOCAL +DEFAULT +7 __glink_PLTresolve|NOTYPE +LOCAL +DEFAULT +7 00000010\.plt_call\.__tls_get_addr(|_opt)\+0) | |
99 | .* ((FUNC|NOTYPE) +LOCAL +DEFAULT +UND \.__tls_get_addr(|_opt)|NOTYPE +LOCAL +DEFAULT +7 __glink_PLTresolve) | |
f9272224 AM |
100 | .* GLOBAL +DEFAULT +UND gd |
101 | .* GLOBAL +DEFAULT +9 le0 | |
102 | .* GLOBAL +DEFAULT +9 ld0 | |
103 | .* GLOBAL +DEFAULT +9 le1 | |
104 | .* GLOBAL +DEFAULT +UND ld | |
105 | .* NOTYPE +GLOBAL +DEFAULT +7 _start | |
106 | .* TLS +GLOBAL +DEFAULT +9 ld2 | |
107 | .* TLS +GLOBAL +DEFAULT +9 ld1 | |
108 | .* NOTYPE +GLOBAL +DEFAULT +ABS __bss_start | |
a7f2871e | 109 | .* FUNC +GLOBAL +DEFAULT +UND __tls_get_addr_opt |
f9272224 AM |
110 | .* NOTYPE +GLOBAL +DEFAULT +ABS _edata |
111 | .* NOTYPE +GLOBAL +DEFAULT +ABS _end | |
112 | .* TLS +GLOBAL +DEFAULT +9 gd0 | |
113 | .* TLS +GLOBAL +DEFAULT +9 ie0 |