diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-16 15:10:23 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2016-09-16 15:10:23 +0000 |
commit | d31907957a6cfcd500a620a241ffecc1b98eec5a (patch) | |
tree | 9d67a2141a7159f4f840ee850fb00b523fe8681d /llvm/lib/Object/IRObjectFile.cpp | |
parent | 74db8faa71f352bf94bbb2ae4ed4e4acfc6183ca (diff) | |
download | llvm-d31907957a6cfcd500a620a241ffecc1b98eec5a.zip llvm-d31907957a6cfcd500a620a241ffecc1b98eec5a.tar.gz llvm-d31907957a6cfcd500a620a241ffecc1b98eec5a.tar.bz2 |
Change how we compute offsets with linker scripts.
This fixes pr30367, but more importantly, it changes how we compute offsets.
Now offset computation in a walk over linker script commands, like the
rest of assignAddresses. IMHO this is simpler to understand and if we
ever have to create multiple outputsections or chunks to change how we
handle test/ELF/linkerscript/alternate-sections.s it should be easier
to do it.
llvm-svn: 281736
Diffstat (limited to 'llvm/lib/Object/IRObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions