diff options
author | Jack Carter <jcarter@mips.com> | 2013-02-05 09:30:03 +0000 |
---|---|---|
committer | Jack Carter <jcarter@mips.com> | 2013-02-05 09:30:03 +0000 |
commit | 7304702ef99f98897d15baae0eede55f294bc602 (patch) | |
tree | 750793287d42bb3070187a37950417ce33c547a7 /include/llvm/Support | |
parent | 37ef65b9c1b93c386d13089d9ace6a1cc00e82dc (diff) | |
download | external_llvm-7304702ef99f98897d15baae0eede55f294bc602.zip external_llvm-7304702ef99f98897d15baae0eede55f294bc602.tar.gz external_llvm-7304702ef99f98897d15baae0eede55f294bc602.tar.bz2 |
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/llvm/Support')
-rw-r--r-- | include/llvm/Support/ELF.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h index a1b8f54..2c831a6 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 |