diff options
| author | Fangrui Song <maskray@google.com> | 2019-03-15 03:20:13 +0000 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-03-15 03:20:13 +0000 |
| commit | f4646a0bb103f7ad33cf464d088d05cf83851f6d (patch) | |
| tree | eaa46469d61d4e3ab15149ace0935c0a4ffb3a4c /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 2f741868ed7722466e70f13cab044d4ac94a30dd (diff) | |
[ELF] Fix 3 tests after D56828
arm-plt-reloc.s arm-thumb-plt-reloc.s: update offset calculations
pack-dyn-relocs-loop.s: this test is very sensitive to exact section
offsets and sizes. If we comment out the following two lines in
SyntheticSections.cpp, we should reproduce `ld.lld: error: thunk
creation not converged` caused by oscillation of the section size.
if (RelocData.size() < OldSize)
RelocData.append(OldSize - RelocData.size(), 0);
Use -z norelro to counteract the layout change (to be more specific,
we have to place .dynamic below .foo so that offset(foo) remains 0x10004)
llvm-svn: 356229
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
