summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJack Carter <jcarter@mips.com>2013-02-05 09:30:03 +0000
committerJack Carter <jcarter@mips.com>2013-02-05 09:30:03 +0000
commit7304702ef99f98897d15baae0eede55f294bc602 (patch)
tree750793287d42bb3070187a37950417ce33c547a7 /include
parent37ef65b9c1b93c386d13089d9ace6a1cc00e82dc (diff)
downloadllvm-7304702ef99f98897d15baae0eede55f294bc602.tar.gz
llvm-7304702ef99f98897d15baae0eede55f294bc602.tar.bz2
llvm-7304702ef99f98897d15baae0eede55f294bc602.tar.xz
This patch that sets the Mips ELF header flag for
MicroMips architectures. Contributer: Zoran Jovanovic git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174360 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/ELF.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
index a1b8f54448..2c831a691b 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -747,7 +747,8 @@ enum {
EF_MIPS_ARCH_64 = 0x60000000, // MIPS64 instruction set per linux not elf.h
EF_MIPS_ARCH_32R2 = 0x70000000, // mips32r2
EF_MIPS_ARCH_64R2 = 0x80000000, // mips64r2
- EF_MIPS_ARCH = 0xf0000000 // Mask for applying EF_MIPS_ARCH_ variant
+ EF_MIPS_ARCH = 0xf0000000, // Mask for applying EF_MIPS_ARCH_ variant
+ EF_MIPS_MICROMIPS = 0x02000000 // microMIPS
};
// ELF Relocation types for Mips