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

Rui Ueyama via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 28 14:35:15 PST 2018


ruiu added a comment.

+peter.smith

Somewhat tangent to this patch, but is 64KiB a reasonable default for `-z max-page-size`? I believe that max-page-size is set to 64KiB so that OS/CPU whose minimum page size is 64KiB can load an executable linked with lld, but is there any real target OS/CPU that does not allow 4KiB pages? Or, is there any other reason to use that default value?


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