This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Default arm-linux-androideabi to -z max-page-size=4096
ClosedPublic

Authored by MaskRay on Apr 8 2020, 10:33 AM.

Details

Summary

Similar to D55029. The requirement arises when discussing increasing
default max-page-size for lld ARM (D77330).

For the record, the default max-page-size on the 3 commonly used linkers:

  • GNU ld since

https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=7572ca8989ead4c3425a1500bc241eaaeffa2c89
defaults to 65536

  • GNU gold remains 4096
  • lld currently uses 4096 but may increase to 65536 (D77330)

Diff Detail

Event Timeline

MaskRay created this revision.Apr 8 2020, 10:33 AM
srhines accepted this revision.Apr 8 2020, 11:35 AM

Thank you for making this clear.

This revision is now accepted and ready to land.Apr 8 2020, 11:35 AM
thieta accepted this revision.Apr 8 2020, 11:53 AM

Thanks for handling this!

MaskRay updated this revision to Diff 256085.Apr 8 2020, 12:03 PM

Clarify a comment

This revision was automatically updated to reflect the committed changes.