[ELF2/PPC64] Add a comment about the page size

Rafael requested some additional commentary (post-commit review of r249760), to
make it clear this is intended and necessary.

llvm-svn: 250087
This commit is contained in:
Hal Finkel 2015-10-12 19:34:29 +00:00
parent 80f82fb2d4
commit c848b321fd
1 changed files with 4 additions and 0 deletions

View File

@ -200,7 +200,11 @@ PPC64TargetInfo::PPC64TargetInfo() {
// PCRelReloc = FIXME
// GotReloc = FIXME
PltEntrySize = 32;
// We need 64K pages (at least under glibc/Linux, the loader won't
// set different permissions on a finer granularity than that).
PageSize = 65536;
VAStart = 0x10000000;
}
void PPC64TargetInfo::writePltEntry(uint8_t *Buf, uint64_t GotEntryAddr,