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

Eugene Leviant via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 3 01:28:41 PDT 2016


evgeny777 added a comment.

>   Do you have a specific reason to want to change the default beyond matching some parts of what gold/bfd implement?

I'm using lld to link kernel for AArch64, so I decided to to make this patch in order to have similar behavior with ld/gold. Also I think switching to default page size of 65536 will make room for further optimizations for  a case when one has 4K kernel / 64K alignment. You're right saying that using 64K alignment increases image size, but I suppose 4K systems are using '-z max-page-size=4096' (just because ld or gold is used) to overcome this problem, aren't they?


Repository:
  rL LLVM

https://reviews.llvm.org/D25079





More information about the llvm-commits mailing list