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

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 30 09:47:22 PDT 2016


peter.smith added a comment.

I think I'm going to need a bit of time to do some research. Both gold and ld.bfd have the concept of a maximum page size and a common page size. The maximum page size is 64k but the common page size is 4k. The maximum (abi page size in gold) is used in some places .rel.ro but not in others. I'm a bit concerned that this may be setting both maximum and common page size to 64k which may not be the best default, for example it certainly used to be true that a 64k page size prevented AArch32 (ARM) user space applications from running as these needed a 4kb page size.

If anyone has more information and can add some references I'd be most grateful.

I'll have a look as soon as I can, I'm at a conference this week and am flying back to UK this evening so I may not be able to finish today. Will pick it back up on Monday if I don't.


Repository:
  rL LLVM

https://reviews.llvm.org/D25079





More information about the llvm-commits mailing list