diff options
author | Hans Wennborg <hans@hanshq.net> | 2019-09-06 11:20:15 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2019-09-06 11:20:15 +0000 |
commit | 4b9862f5b87d233b4b705b7284fe67711f240134 (patch) | |
tree | aa6c1848473a2c06114852f4631b8a2b62f18d7a /docs/ReleaseNotes.rst | |
parent | 78fcb6ad74e6c86e5dd51bb517db2d13ed7f5757 (diff) |
Merging r371013:
------------------------------------------------------------------------
r371013 | ruiu | 2019-09-05 07:30:24 +0200 (Thu, 05 Sep 2019) | 13 lines
Align output segments correctly
Previously, segments were aligned according to their first section's
alignment requirements. That was not correct, but segments are also
aligned to a page boundary, and a page boundary is usually much larger
than a section alignment requirement, so no one noticed this bug before.
Now, lld has --nmagic option which sets maxPageSize to 1 to effectively
disable page alignment, which reveals the issue.
Fixes https://bugs.llvm.org/show_bug.cgi?id=43212
Differential Revision: https://reviews.llvm.org/D67152
------------------------------------------------------------------------
git-svn-id: https://llvm.org/svn/llvm-project/lld/branches/release_90@371197 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs/ReleaseNotes.rst')
0 files changed, 0 insertions, 0 deletions