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