[PATCH] D56205: Add -z common-page-size option

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 2 11:20:57 PST 2019


ruiu added a comment.

`-z common-page-size=PAGESIZE` creates an executable that cannot be executed if the page size is not PAGESIZE. If you want to align all segments to some value, what you should use is `-z max-page-size`.

I wonder if you found a use case of `-z common-page-size` with a page size that is different from the ABI's default. For example, did you find a use case of the option for x86-64 with a page size larger than 4096?


Repository:
  rLLD LLVM Linker

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

https://reviews.llvm.org/D56205





More information about the llvm-commits mailing list