aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/DFAPacketizer.cpp
diff options
context:
space:
mode:
authorSimon Atanasyan <simon@atanasyan.com>2016-01-14 20:42:09 +0000
committerSimon Atanasyan <simon@atanasyan.com>2016-01-14 20:42:09 +0000
commit682aeea9deec8f2646fe83e030e5fe1cad9a9f82 (patch)
treefaf3a250464bf791836747734e95e4a86f9df067 /llvm/lib/CodeGen/DFAPacketizer.cpp
parent5f91ace82832c08a850ea685a45304186a502ff1 (diff)
downloadllvm-682aeea9deec8f2646fe83e030e5fe1cad9a9f82.zip
llvm-682aeea9deec8f2646fe83e030e5fe1cad9a9f82.tar.gz
llvm-682aeea9deec8f2646fe83e030e5fe1cad9a9f82.tar.bz2
[ELF][MIPS] Ignore 'hint' relocations like R_MIPS_JALR in the `scanRelocs` 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
Diffstat (limited to 'llvm/lib/CodeGen/DFAPacketizer.cpp')
0 files changed, 0 insertions, 0 deletions