From 9922f8d01469d2df06910b13d94c423c8784c54e Mon Sep 17 00:00:00 2001 From: Akira Hatanaka Date: Fri, 14 Oct 2011 02:47:50 +0000 Subject: [PATCH] Add missing relocation types. Patch by Jack Carter and Reed Kotler at Mips. llvm-svn: 141936 --- lib/Target/Mips/MipsRelocations.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 }; } }