diff options
author | Simon Atanasyan <simon@atanasyan.com> | 2019-11-09 09:29:42 +0300 |
---|---|---|
committer | Simon Atanasyan <simon@atanasyan.com> | 2019-11-15 23:38:14 +0300 |
commit | 0287efb891c1da33d8eb01889f18ef71cd689ebc (patch) | |
tree | cd5ddd4adef43ffb39814af621e2cba54f2f0f69 /lldb/packages/Python/lldbsuite/test | |
parent | 09c7e51283dafbfd122cc0d7ab251476c451c9f5 (diff) | |
download | bcm5719-llvm-0287efb891c1da33d8eb01889f18ef71cd689ebc.tar.gz bcm5719-llvm-0287efb891c1da33d8eb01889f18ef71cd689ebc.zip |
[mips] Do not emit R_MIPS_JALR for sym+offset in case of O32 ABI
O32 ABI uses relocations in REL format. Relocation's addend is written
in place. R_MIPS_JALR relocation points to the `jalr` instruction which
does not have a place to store the relocation addend. So it's impossible
to save non-zero "offset". This patch blocks emission of `R_MIPS_JALR`
relocations in such cases.
Differential Revision: https://reviews.llvm.org/D70201
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
0 files changed, 0 insertions, 0 deletions