[PATCH] D55029: set default max-page-size to 4KB in lld for Android Aarch64

Peter Smith via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 29 02:34:27 PST 2018


peter.smith added a comment.

Yes this is fine. The effects are entirely within the Android target.

The change in LLD to a 64k page size was made in D25079 <https://reviews.llvm.org/D25079>. The main reason given was that a sufficient number of linux distributions including Redhat had chosen a 64k page size. GNU ld had changed its default page-size to 64k so that applications and libraries would always be compatible with distributions that had chosen 4k page size but not necessarily vice versa. So it was essentially a safe default.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D55029/new/

https://reviews.llvm.org/D55029





More information about the cfe-commits mailing list