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