[PATCH] D23352: [ELF] - Linkerscript: implemented simple heuristic for placing orphan sections.
George Rimar via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 16 03:50:46 PDT 2016
grimar added a comment.
In https://reviews.llvm.org/D23352#516156, @silvas wrote:
> - LLD does not honor MAXPAGESIZE (needs to be 2M for amd64), this causes the kernel load address to get set far too low (at 4K, close to where the loader lives), which clobbers the loader's text / data structures when copying in the kernel :)
So I wonder do we want implement -z max-page-size (https://reviews.llvm.org/D19600, this will require adding that option to FreeBSD cmd line I think)
or change X86_64TargetInfo::PageSize to handle this ?
https://reviews.llvm.org/D23352
More information about the llvm-commits
mailing list