File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -207,11 +207,12 @@ void elf::addReservedSymbols() {
207
207
Symtab->addAbsolute (" __gnu_local_gp" , STV_HIDDEN, STB_GLOBAL);
208
208
}
209
209
210
- // The 64-bit PowerOpen ABI defines a TableOfContents (TOC) which combines the
211
- // typical ELF GOT with the small data sections. It commonly includes .got
212
- // .toc .sdata .sbss. The .TOC. symbol replaces both _GLOBAL_OFFSET_TABLE_ and
213
- // _SDA_BASE_ from the 32-bit ABI. It is used to represent the TOC base which
214
- // is offset by 0x8000 bytes from the start of the .got section.
210
+ // The Power Architecture 64-bit v2 ABI defines a TableOfContents (TOC) which
211
+ // combines the typical ELF GOT with the small data sections. It commonly
212
+ // includes .got .toc .sdata .sbss. The .TOC. symbol replaces both
213
+ // _GLOBAL_OFFSET_TABLE_ and _SDA_BASE_ from the 32-bit ABI. It is used to
214
+ // represent the TOC base which is offset by 0x8000 bytes from the start of
215
+ // the .got section.
215
216
ElfSym::GlobalOffsetTable = addOptionalRegular (
216
217
(Config->EMachine == EM_PPC64) ? " .TOC." : " _GLOBAL_OFFSET_TABLE_" ,
217
218
Out::ElfHeader, Target->GotBaseSymOff );
You can’t perform that action at this time.
0 commit comments