[lld] r249760 - [ELF2] Make the system page size a target-dependent property

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 9 06:45:20 PDT 2015


> The required page alignment is different on different targets. On PowerPC, for
> example, we need 64K pages (the loader won't set different permissions on a
> finer granularity than that). I've set the existing targets to what I believe
> to be the correct values, and have updated the regression tests accordingly.

Can you make this a comment is the code? For someone reading it now it
would look like a bug since the hardware itself uses 4k pages, no?

Cheers,
Rafael


More information about the llvm-commits mailing list