3 #ld: -shared -melf64ppc
5 #target: powerpc64*-*-*
7 There are
16 section headers
.*
10 +\
[Nr\
] Name
+Type
+Address
+Off
+Size
+ES Flg Lk
Inf Al
11 +\
[ 0\
] +NULL +0+ 0+ 0+ 0+ +0 +0 +0
15 +\
[ 4\
] \
.rela\
.dyn
.*
16 +\
[ 5\
] \
.rela\
.plt
.*
18 +\
[ 7\
] \
.tdata
+PROGBITS
.* 0+38 0+ WAT
+0 +0 +8
19 +\
[ 8\
] \
.tbss
+NOBITS
.* 0+38 0+ WAT
+0 +0 +8
20 +\
[ 9\
] \
.data\
.rel\
.ro
.*
29 Elf file type is DYN \
(Shared object file\
)
30 Entry point
0x
[0-9a
-f
]+
31 There are
4 program headers
.*
34 +Type
+Offset
+VirtAddr
+PhysAddr
+FileSiz
+MemSiz
+Flg Align
38 +TLS
.* 0x0+38 0x0+70 R
+0x8
40 Section to Segment mapping
:
41 +Segment Sections\
.\
.\
.
42 +0+ +\
.hash \
.dynsym \
.dynstr \
.rela\
.dyn \
.rela\
.plt \
.text
43 +01 +\
.tdata \
.dynamic \
.got \
.plt
47 Relocation section
'\.rela\.dyn' at offset
.* contains
16 entries
:
48 +Offset
+Info
+Type
+Symbol
's Value +Symbol's Name \
+ Addend
49 [0-9a
-f
]+R_PPC64_TPREL16
+0+60 le0 \
+ 0
50 [0-9a
-f
]+R_PPC64_TPREL16_HA
+0+68 le1 \
+ 0
51 [0-9a
-f
]+R_PPC64_TPREL16_LO
+0+68 le1 \
+ 0
52 [0-9a
-f
]+R_PPC64_TPREL16_DS
+0+10668 \
.tdata \
+ 28
53 [0-9a
-f
]+R_PPC64_TPREL16_HA
+0+10668 \
.tdata \
+ 30
54 [0-9a
-f
]+R_PPC64_TPREL16_LO
+0+10668 \
.tdata \
+ 30
55 [0-9a
-f
]+R_PPC64_DTPMOD64
+0+
56 [0-9a
-f
]+R_PPC64_DTPMOD64
+0+
57 [0-9a
-f
]+R_PPC64_DTPREL64
+0+
58 [0-9a
-f
]+R_PPC64_DTPREL64
+0+18
59 [0-9a
-f
]+R_PPC64_DTPMOD64
+0+ gd \
+ 0
60 [0-9a
-f
]+R_PPC64_DTPREL64
+0+ gd \
+ 0
61 [0-9a
-f
]+R_PPC64_DTPREL64
+0+50 ld2 \
+ 0
62 [0-9a
-f
]+R_PPC64_DTPMOD64
+0+38 gd0 \
+ 0
63 [0-9a
-f
]+R_PPC64_DTPREL64
+0+38 gd0 \
+ 0
64 [0-9a
-f
]+R_PPC64_TPREL64
+0+58 ie0 \
+ 0
66 Relocation section
'\.rela\.plt' at offset
.* contains
1 entries
:
67 +Offset
+Info
+Type
+Symbol
's Value +Symbol's Name \
+ Addend
68 [0-9a
-f
]+R_PPC64_JMP_SLOT
+0+ __tls_get_addr \
+ 0
70 Symbol table
'\.dynsym' contains
.* entries
:
71 +Num
: +Value
+Size Type
+Bind
+Vis
+Ndx Name
72 .* NOTYPE
+LOCAL
+DEFAULT
+UND
73 .* SECTION LOCAL
+DEFAULT
+6
74 .* SECTION LOCAL
+DEFAULT
+7
75 .* SECTION LOCAL
+DEFAULT
+8
76 .* SECTION LOCAL
+DEFAULT
+9
77 .* TLS
+GLOBAL DEFAULT
+UND gd
78 .* TLS
+GLOBAL DEFAULT
+8 le0
79 .* NOTYPE
+GLOBAL DEFAULT
+UND __tls_get_addr
80 .* TLS
+GLOBAL DEFAULT
+8 ld0
81 .* TLS
+GLOBAL DEFAULT
+8 le1
82 .* TLS
+GLOBAL DEFAULT
+UND ld
83 .* NOTYPE
+GLOBAL DEFAULT
+6 _start
84 .* TLS
+GLOBAL DEFAULT
+8 ld2
85 .* TLS
+GLOBAL DEFAULT
+8 ld1
86 .* NOTYPE
+GLOBAL DEFAULT
+ABS __bss_start
87 .* NOTYPE
+GLOBAL DEFAULT
+ABS _edata
88 .* NOTYPE
+GLOBAL DEFAULT
+ABS _end
89 .* TLS
+GLOBAL DEFAULT
+8 gd0
90 .* TLS
+GLOBAL DEFAULT
+8 ie0
92 Symbol table
'\.symtab' contains
39 entries
:
93 +Num
: +Value
+Size Type
+Bind
+Vis
+Ndx Name
94 .* NOTYPE
+LOCAL
+DEFAULT
+UND
95 .* SECTION LOCAL
+DEFAULT
+1
96 .* SECTION LOCAL
+DEFAULT
+2
97 .* SECTION LOCAL
+DEFAULT
+3
98 .* SECTION LOCAL
+DEFAULT
+4
99 .* SECTION LOCAL
+DEFAULT
+5
100 .* SECTION LOCAL
+DEFAULT
+6
101 .* SECTION LOCAL
+DEFAULT
+7
102 .* SECTION LOCAL
+DEFAULT
+8
103 .* SECTION LOCAL
+DEFAULT
+9
104 .* SECTION LOCAL
+DEFAULT
+10
105 .* SECTION LOCAL
+DEFAULT
+11
106 .* SECTION LOCAL
+DEFAULT
+12
107 .* SECTION LOCAL
+DEFAULT
+13
108 .* SECTION LOCAL
+DEFAULT
+14
109 .* SECTION LOCAL
+DEFAULT
+15
110 .* TLS
+LOCAL
+DEFAULT
+7 gd4
111 .* TLS
+LOCAL
+DEFAULT
+7 ld4
112 .* TLS
+LOCAL
+DEFAULT
+7 ld5
113 .* TLS
+LOCAL
+DEFAULT
+7 ld6
114 .* TLS
+LOCAL
+DEFAULT
+7 ie4
115 .* TLS
+LOCAL
+DEFAULT
+7 le4
116 .* TLS
+LOCAL
+DEFAULT
+7 le5
117 .* OBJECT
+LOCAL
+HIDDEN
+ABS _DYNAMIC
118 .* NOTYPE
+LOCAL
+DEFAULT
+6 \
.__tls_get_addr
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
125 .* NOTYPE
+GLOBAL DEFAULT
+6 _start
126 .* TLS
+GLOBAL DEFAULT
+8 ld2
127 .* TLS
+GLOBAL DEFAULT
+8 ld1
128 .* NOTYPE
+GLOBAL DEFAULT
+ABS __bss_start
129 .* NOTYPE
+GLOBAL DEFAULT
+ABS _edata
130 .* NOTYPE
+GLOBAL DEFAULT
+ABS _end
131 .* TLS
+GLOBAL DEFAULT
+8 gd0
132 .* TLS
+GLOBAL DEFAULT
+8 ie0