Add missing relocation types.
authorAkira Hatanaka <ahatanaka@mips.com>
Fri, 14 Oct 2011 02:47:50 +0000 (02:47 +0000)
committerAkira Hatanaka <ahatanaka@mips.com>
Fri, 14 Oct 2011 02:47:50 +0000 (02:47 +0000)
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

lib/Target/Mips/MipsRelocations.h

index 255daf04ac0e25d92c00590b2e9d3438d9981f86..18f1b2b2e6287cb4303ce47405424f244dc4b051 100644 (file)
@@ -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
     };
   }
 }