diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-20 22:43:15 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-20 22:43:15 +0000 |
commit | b6b8f6c308ce165bc58a25f25f2226c18614e344 (patch) | |
tree | 7d4150fb13aeceb571e0f594c64ecb29a1258e8b /lldb/packages/Python/lldbsuite/test | |
parent | 9780fc1451e66f620512b47cff0d3c78c7431466 (diff) | |
download | bcm5719-llvm-b6b8f6c308ce165bc58a25f25f2226c18614e344.tar.gz bcm5719-llvm-b6b8f6c308ce165bc58a25f25f2226c18614e344.zip |
Revert "Revert "Only restrict order if both sections are in the script.""
This reverts commit r282021, bringing back r282015.
The problem was that the comparison function was not a strict weak
ordering anymore, which this patch fixes.
Original message:
Only restrict order if both sections are in the script.
This matches gold and bfd behavior and is required to handle some scripts.
The script has to assume where PT_LOADs start in order to align that
spot. If we don't allow section it doesn't know about to move to the
middle, we can need more PT_LOADs and those will not be aligned.
llvm-svn: 282035
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions