[PATCH] [mips] Implement the R_MIPS_JALR and R_MICROMIPS_JALR relocations.

Toma Tabacu toma.tabacu at imgtec.com
Wed Nov 12 09:20:23 PST 2014


Hi dsanders,

These relocations are used for expanding JAL instructions when PIC is enabled.

Here's the reference I used for this implementation:
http://dmz-portal.mips.com/wiki/MIPS_relocation_types#Relocation_Table

For more information about what these relocations mean, see:
http://dmz-portal.mips.com/wiki/MIPS_relocation_types#R_MIPS_JALR

http://reviews.llvm.org/D6230

Files:
  include/llvm/MC/MCExpr.h
  include/llvm/Support/ELF.h
  lib/MC/MCExpr.cpp
  lib/Object/ELF.cpp
  lib/Object/ELFYAML.cpp
  lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp
  lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp
  lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp
  lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h
  lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6230.16101.patch
Type: text/x-patch
Size: 7513 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141112/2280b7ee/attachment.bin>


More information about the llvm-commits mailing list