diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-14 02:47:50 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2011-10-14 02:47:50 +0000 |
commit | 51f72c5a3f3e42eafac7abf27ed2849e991b5fbc (patch) | |
tree | 490f2403ba84fda8b4da9aa4dc1ba7e2feaf5bcd | |
parent | 88c1103c223c1e3eb430ce7081b347e1a2346967 (diff) |
Add missing relocation types.
Patch by Jack Carter and Reed Kotler at Mips.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@141936 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/Mips/MipsRelocations.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsRelocations.h b/lib/Target/Mips/MipsRelocations.h index 255daf04ac..18f1b2b2e6 100644 --- a/lib/Target/Mips/MipsRelocations.h +++ b/lib/Target/Mips/MipsRelocations.h @@ -53,7 +53,9 @@ namespace llvm { reloc_mips_gottprel = 22, // R_MIPS_TLS_GOTTPREL reloc_mips_tprel_hi = 23, // R_MIPS_TLS_TPREL_HI16 reloc_mips_tprel_lo = 24, // R_MIPS_TLS_TPREL_LO16 - reloc_mips_branch_pcrel = 25 // This should become R_MIPS_PC16 + reloc_mips_branch_pcrel = 25, // This should become R_MIPS_PC16 + reloc_mips_pcrel = 26, // R_MIPS_PC16 + reloc_mips_j_jal = 27 // R_MIPS_26 }; } } |