[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 01:15:51 PDT 2016
grimar added a comment.
In https://reviews.llvm.org/D23352#516156, @silvas wrote:
> - `__start_SECNAME`/`__stop_SECNAME` are not exported in the dynamic symbol table. This is needed for the loader which looks up `__start_set_modmetadata_set`/`__stop_set_modmetadata_set`.
> - 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 :)
>
> Hopefully it saves you some time!
I`ll take a look on these, thanks a lot for this info !
https://reviews.llvm.org/D23352
More information about the llvm-commits
mailing list