summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorAkira Hatanaka <ahatanaka@mips.com>2012-11-21 19:59:51 +0000
committerAkira Hatanaka <ahatanaka@mips.com>2012-11-21 19:59:51 +0000
commit03fb5b96fc157f19048c66402d57d27e60fc0895 (patch)
tree516745438e2dae5ebdd21c817340c4362e0751c4 /llvm/lib
parent3ec3a49432c7d88a3ee9c44ef7fc608a8fba2ff1 (diff)
downloadbcm5719-llvm-03fb5b96fc157f19048c66402d57d27e60fc0895.tar.gz
bcm5719-llvm-03fb5b96fc157f19048c66402d57d27e60fc0895.zip
[mips] Add target operand flag enums for big GOT relocations.
llvm-svn: 168450
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/llvm/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h b/llvm/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
index 233214b461f..94e0d20d883 100644
--- a/llvm/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
+++ b/llvm/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
@@ -84,7 +84,13 @@ namespace MipsII {
/// MO_HIGHER/HIGHEST - Represents the highest or higher half word of a
/// 64-bit symbol address.
MO_HIGHER,
- MO_HIGHEST
+ MO_HIGHEST,
+
+ /// MO_GOT_HI16/LO16, MO_CALL_HI16/LO16 - Relocations used for large GOTs.
+ MO_GOT_HI16,
+ MO_GOT_LO16,
+ MO_CALL_HI16,
+ MO_CALL_LO16
};
enum {
OpenPOWER on IntegriCloud