From: Akira Hatanaka Date: Fri, 14 Oct 2011 02:47:50 +0000 (+0000) Subject: Add missing relocation types. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=51f72c5a3f3e42eafac7abf27ed2849e991b5fbc;p=oota-llvm.git 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 --- diff --git a/lib/Target/Mips/MipsRelocations.h b/lib/Target/Mips/MipsRelocations.h index 255daf04ac0..18f1b2b2e62 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 }; } }