diff options
author | Vladimir Stefanovic <vladimir.stefanovic@rt-rk.com> | 2018-12-10 15:07:36 +0000 |
---|---|---|
committer | Vladimir Stefanovic <vladimir.stefanovic@rt-rk.com> | 2018-12-10 15:07:36 +0000 |
commit | 4433f93afe901ecd9cc85706ff9c41b79ccbc725 (patch) | |
tree | e2edb248097d205a9fe91801f6e851ec57443ed0 /lldb/packages/Python/lldbsuite/support/gmodules.py | |
parent | 753efe3584b777ce3c0e9a35579eaa3e02609bac (diff) | |
download | bcm5719-llvm-4433f93afe901ecd9cc85706ff9c41b79ccbc725.tar.gz bcm5719-llvm-4433f93afe901ecd9cc85706ff9c41b79ccbc725.zip |
[mips][mc] Emit R_{MICRO}MIPS_JALR when expanding jal to jalr
When replacing jal with jalr, also emit '.reloc R_MIPS_JALR' (R_MICROMIPS_JALR
for micromips). The linker might then be able to turn jalr into a direct
call.
Add '-mips-jalr-reloc' to enable/disable this feature (default is true).
Differential revision: https://reviews.llvm.org/D55292
llvm-svn: 348760
Diffstat (limited to 'lldb/packages/Python/lldbsuite/support/gmodules.py')
0 files changed, 0 insertions, 0 deletions