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

Adhemerval Zanella via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 12:18:34 PDT 2016


zatrazz added a comment.

In https://reviews.llvm.org/D25079#557611, @peter.smith wrote:

> - LLD doesn't have a concept of common-page-size and max-page-size so if 64k page size is chosen all output sections are aligned to 64k boundary as well as program segments.


AFAIK LLD does have a 'max-page-size' option and it exactly overrides the target's default value (check ELF/Driver.cpp:665). That's why I think this change in general is not wrong, but as you said it will add some possible issues to system with uses 4K as default.


Repository:
  rL LLVM

https://reviews.llvm.org/D25079





More information about the llvm-commits mailing list