This is an archive of the discontinued LLVM Phabricator instance.

[ELF] Support -z common-page-size option
AbandonedPublic

Authored by phosek on Sep 24 2016, 5:57 PM.

Details

Reviewers
ruiu
Summary

This option is already supported by both BFD ld and gold and allows overriding the page size whose default value is defined by the target.

Diff Detail

Event Timeline

phosek updated this revision to Diff 72405.Sep 24 2016, 5:57 PM
phosek retitled this revision from to [ELF] Support -z common-page-size option.
phosek updated this object.
phosek added a reviewer: ruiu.
phosek added a project: lld.
phosek added subscribers: llvm-commits, phosek.
phosek updated this revision to Diff 72407.Sep 24 2016, 6:24 PM
davide added a subscriber: davide.Sep 24 2016, 7:37 PM

The code for overriding max-page-size and common-page-size is nearly identical. Can you think of a way of sharing/factoring it out?

Please take a look at the updated version of https://reviews.llvm.org/D24891, if you prefer that one I'll abandon this one.

Please take a look at the updated version of https://reviews.llvm.org/D24891, if you prefer that one I'll abandon this one.

Yes, please abandon this one.

phosek abandoned this revision.Sep 24 2016, 9:41 PM