[PATCH] D64906: [ELF][PPC] Allow PT_LOAD to have overlapping p_offset ranges
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 7 01:25:30 PDT 2019
MaskRay added a comment.
🥳It would be nice to get this in. Recently I learned that Brandon Bergren at FreeBSD used a local patch to fix the powerpc64 size regression caused by lld:
// We need 64K pages (at least under glibc/Linux, the loader won't
// set different permissions on a finer granularity than that).
- defaultMaxPageSize = 65536;
+ defaultMaxPageSize = 4096;
(It works for them because they use 4k pagesize, but a general fix (this patch) will be preferable.) D64906 <https://reviews.llvm.org/D64906> is also a prerequisite for aarch64 support, which many more people may want.
Repository:
rLLD LLVM Linker
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D64906/new/
https://reviews.llvm.org/D64906
More information about the llvm-commits
mailing list