diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-09-11 23:44:53 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-09-11 23:44:53 +0000 |
commit | b7147ad3ddda34782c6fad3ecfc5ab105cf1c093 (patch) | |
tree | 2d3d5ae0158c081e9918fd309ab46f365eb6e6e7 /llvm/lib/Target/ARM/ARMISelLowering.cpp | |
parent | be9c00347fa7dcfb78f9f3a6c6c61a00a9071d31 (diff) | |
download | bcm5719-llvm-b7147ad3ddda34782c6fad3ecfc5ab105cf1c093.tar.gz bcm5719-llvm-b7147ad3ddda34782c6fad3ecfc5ab105cf1c093.zip |
Correct ALIGN expression when inside a section.
When given
foobar = ALIGN(., 0x100);
my expectation from what the manual says is that the final address of
foobar will be aligned. It seems that bfd aligns the offset in the
section, which causes some odd results if the section is not 0x100
aligned. Gold aligns the address.
This changes lld to align the final address.
llvm-svn: 312979
Diffstat (limited to 'llvm/lib/Target/ARM/ARMISelLowering.cpp')
0 files changed, 0 insertions, 0 deletions