summaryrefslogtreecommitdiffstats
path: root/lld/test/ELF/mips-jalr.test
Commit message (Collapse)AuthorAgeFilesLines
* [mips] Make another set of test cases more tolerant to exact symbol ↵Simon Atanasyan2019-09-071-51/+0
| | | | | | addresses. NFC llvm-svn: 371313
* [ELF][MIPS] Improve testsFangrui Song2019-07-251-2/+2
| | | | | | | | | | * Add --no-show-raw-insn to llvm-objdump -d tests * When linking an executable with %t.so, the path %t.so will be recorded in the DT_NEEDED entry if %t.so doesn't have DT_SONAME. .dynstr will have varying lengths on different systems. Add -soname to make tests more robust. llvm-svn: 366988
* [test] Change llvm-readobj -long-option to --long-option or well-known short ↵Fangrui Song2019-05-011-1/+1
| | | | | | | | | | | | options. NFC Also change some options that have different semantics (cause confusion) in llvm-readelf mode: -s => -S -t => --symbols -sd => --section-data llvm-svn: 359651
* [LLD] - Update the test cases after yaml2obj change.George Rimar2019-04-031-12/+11
| | | | | | | | | https://reviews.llvm.org/D60122 (r357595) changed the symbols description format. This change updates the LLD tests. llvm-svn: 357596
* [yaml2obj] Hopefully the last test case update from r273915Chris Bieneman2016-06-271-1/+1
| | | | | | Should fix the last LLD bots. llvm-svn: 273942
* [yaml2obj] One more missing test case update from r273915Chris Bieneman2016-06-271-0/+1
| | | | | | Should fix the last LLD bots. llvm-svn: 273939
* [ELF][MIPS] Ignore 'hint' relocations like R_MIPS_JALR in the `scanRelocs` ↵Simon Atanasyan2016-01-141-0/+4
| | | | | | | | | | | | | | | | method MIPS ABI has relocations like R_MIPS_JALR which is just a hint for linker to make some code optimization. Such relocations should not be handled as a regular ones and lead to say dynamic relocation creation. The patch introduces new virtual `Target::isHintReloc` method, overrides it in the `MipsTargetInfo` class and calls it in the `Writer<ELFT>::scanRelocs` method. Differential Revision: http://reviews.llvm.org/D16193 llvm-svn: 257798
* [ELF][MIPS] Ignore R_MIPS_JALR relocation for nowSimon Atanasyan2015-12-131-0/+47
The `R_MIPS_JALR` is a relocation generated by gcc and gas. This relocation points to the `jalr` instruction which might be optimized and converted to the `b` instruction under some conditions. Now we just ignore this relocation and keep instructions unchanged. llvm-svn: 255453
OpenPOWER on IntegriCloud