[PATCH] D25079: [ELF] Set maximum page size to 65536 on AArch64

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 10:05:07 PDT 2016


evgeny777 added a comment.

I think AArch32 is handled by ARMTargetInfo in lld, which has PageSize == MaxPageSize == 4096.

To my understanding gold uses common_pagesize (analog of PageSize in lld) to align sections to machine page boundary **within** segment
in order  to save one memory page, in case OS kernel uses 4KB pages instead of 64KB. IMHO, we are quite far from this.


Repository:
  rL LLVM

https://reviews.llvm.org/D25079





More information about the llvm-commits mailing list