summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/mips-jalr.s
Commit message (Collapse)AuthorAgeFilesLines
* [mips] Relax jalr/jr instructions using R_MIPS_JALR relocationSimon Atanasyan2019-09-261-8/+44
| | | | | | | | | | | The R_MIPS_JALR relocation denotes jalr/jr instructions in position independent code. Both these instructions take a target's address from the $25 register. If offset to the target symbol fits into the 18-bits, it's more efficient to replace jalr/jr by bal/b instructions. Differential Revision: https://reviews.llvm.org/D68057 llvm-svn: 372951
* [mips] Make another set of test cases more tolerant to exact symbol ↵Simon Atanasyan2019-09-071-0/+20
addresses. NFC llvm-svn: 371313
OpenPOWER on IntegriCloud