diff options
author | Peter Smith <peter.smith@linaro.org> | 2017-09-06 14:02:14 +0000 |
---|---|---|
committer | Peter Smith <peter.smith@linaro.org> | 2017-09-06 14:02:14 +0000 |
commit | 3ef89b0fc7af7436f8f952e24cd50dfdfb87d08d (patch) | |
tree | eae7f1af63dea7051c6124dc9b050fc6e257352c /llvm/lib/Support/Unix/Program.inc | |
parent | 523827145b555a06673c4c3b9113d5ffe3599cee (diff) | |
download | llvm-3ef89b0fc7af7436f8f952e24cd50dfdfb87d08d.zip llvm-3ef89b0fc7af7436f8f952e24cd50dfdfb87d08d.tar.gz llvm-3ef89b0fc7af7436f8f952e24cd50dfdfb87d08d.tar.bz2 |
[ELF] Move fixSectionAlignments() before first call to assignAddresses()
The fixSectionAlignments() function may alter the alignment of some
OutputSections, this is likely to alter the addresses calculated earlier
in assignAddresses(). By moving the call to fixSectionAlignments() we
make sure that assignAddresses() is consistent with the early calculation
used for RangeThunks and the final call just before writing the image.
Differential Revision: https://reviews.llvm.org/D36739
llvm-svn: 312636
Diffstat (limited to 'llvm/lib/Support/Unix/Program.inc')
0 files changed, 0 insertions, 0 deletions