[PATCH] D13561: [ELF2] Make the system page size a target-dependent property

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 8 14:44:18 PDT 2015


ruiu added inline comments.

================
Comment at: ELF/Target.cpp:367
@@ -360,2 +366,3 @@
   PltEntrySize = 8;
+  PageSize = 0x10000;
   VAStart = 0x400000;
----------------
hfinkel wrote:
> ruiu wrote:
> > Is 64KB page size standard on MIPS? (I'm not familiar with the platform.)
> I'm not really familiar either, but I checked what ld.gold does, and that's its default ABI page size for MIPS.
> 
Thanks for the investigation. Doing what gold does sounds reasonable.


http://reviews.llvm.org/D13561





More information about the llvm-commits mailing list