summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2011-10-14 02:47:50 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2011-10-14 02:47:50 +0000
commit0fc7d7af5a46142093f706c349afd82f52e86885 (patch)
treeccdda1ab3017b9c3afb65473c80a372dd6f282ad /llvm/lib/Target
parent49e55b805941f1653bc379c564c447461537664d (diff)
downloadbcm5719-llvm-0fc7d7af5a46142093f706c349afd82f52e86885.tar.gz
bcm5719-llvm-0fc7d7af5a46142093f706c349afd82f52e86885.zip
Add missing relocation types.
Patch by Jack Carter and Reed Kotler at Mips. llvm-svn: 141936
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/Mips/MipsRelocations.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MipsRelocations.h b/llvm/lib/Target/Mips/MipsRelocations.h
index 255daf04ac0..18f1b2b2e62 100644
--- a/llvm/lib/Target/Mips/MipsRelocations.h
+++ b/llvm/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
};
}
}
OpenPOWER on IntegriCloud