[PATCH] D24987: [ELF] Use MaxPageSize for aligning PT_LOAD

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 4 12:53:22 PDT 2016


On 2 November 2016 at 17:17, Ed Maste <emaste at freebsd.org> wrote:
> emaste added a comment.
>
> This change broke linking the FreeBSD kernel with lld, which relies on MAXPAGESIZE to set the kernel's phys addr. See https://svnweb.freebsd.org/base/head/sys/conf/ldscript.amd64?revision=303442&view=markup#l9


Sorry, but looking at it in not clear why it requires the max page to
be 0x200000. It should work with other values too, no?

Cheers,
Rafael


More information about the llvm-commits mailing list