summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorWesley Peck <peckw@wesleypeck.com>2010-10-21 02:52:59 +0000
committerWesley Peck <peckw@wesleypeck.com>2010-10-21 02:52:59 +0000
commit17ffc5271802e68408bc18a390d8f5dc22c8771a (patch)
treeef92584f5c3e1f174e3fabba5524e43a151ae1ad /include
parente9c253e0bc01fd50bf788efb62093a5fa6ef5849 (diff)
downloadllvm-17ffc5271802e68408bc18a390d8f5dc22c8771a.tar.gz
llvm-17ffc5271802e68408bc18a390d8f5dc22c8771a.tar.bz2
llvm-17ffc5271802e68408bc18a390d8f5dc22c8771a.tar.xz
Adding the EM_MBLAZE value to the machine architectures enumeration to
support future ELF file generation by the MBlaze backend. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116985 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Support/ELF.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/include/llvm/Support/ELF.h b/include/llvm/Support/ELF.h
index 83478b75cb..df6f8b1506 100644
--- a/include/llvm/Support/ELF.h
+++ b/include/llvm/Support/ELF.h
@@ -126,21 +126,22 @@ enum {
// Machine architectures
enum {
- EM_NONE = 0, // No machine
- EM_M32 = 1, // AT&T WE 32100
- EM_SPARC = 2, // SPARC
- EM_386 = 3, // Intel 386
- EM_68K = 4, // Motorola 68000
- EM_88K = 5, // Motorola 88000
- EM_486 = 6, // Intel 486 (deprecated)
- EM_860 = 7, // Intel 80860
- EM_MIPS = 8, // MIPS R3000
- EM_PPC = 20, // PowerPC
- EM_PPC64 = 21, // PowerPC64
- EM_ARM = 40, // ARM
- EM_ALPHA = 41, // DEC Alpha
- EM_SPARCV9 = 43, // SPARC V9
- EM_X86_64 = 62 // AMD64
+ EM_NONE = 0, // No machine
+ EM_M32 = 1, // AT&T WE 32100
+ EM_SPARC = 2, // SPARC
+ EM_386 = 3, // Intel 386
+ EM_68K = 4, // Motorola 68000
+ EM_88K = 5, // Motorola 88000
+ EM_486 = 6, // Intel 486 (deprecated)
+ EM_860 = 7, // Intel 80860
+ EM_MIPS = 8, // MIPS R3000
+ EM_PPC = 20, // PowerPC
+ EM_PPC64 = 21, // PowerPC64
+ EM_ARM = 40, // ARM
+ EM_ALPHA = 41, // DEC Alpha
+ EM_SPARCV9 = 43, // SPARC V9
+ EM_X86_64 = 62, // AMD64
+ EM_MBLAZE = 47787 // Xilinx MicroBlaze
};
// Object file classes.