summaryrefslogtreecommitdiff
path: root/lib/Target/Mips
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
commit26e6ad7b290abd4e5dcae1c6fbd5cae77a4beffe (patch)
tree27ecf1898c7617725e90f77b08c70e6d7a5b7d4a /lib/Target/Mips
parent81081b16eff58ea742b8e9f3ddce497dfc10a3ec (diff)
downloadllvm-26e6ad7b290abd4e5dcae1c6fbd5cae77a4beffe.tar.gz
llvm-26e6ad7b290abd4e5dcae1c6fbd5cae77a4beffe.tar.bz2
llvm-26e6ad7b290abd4e5dcae1c6fbd5cae77a4beffe.tar.xz
[mips] Add target operand flag enums for big GOT relocations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168450 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips')
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h b/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
index 233214b461..94e0d20d88 100644
--- a/lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h
+++ b/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 {