summaryrefslogtreecommitdiffstats
path: root/llvm
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
commit612703a831e0446828957b4a41432c4e8a36889d (patch)
treef88336a7552369a6270a8752c423265c337ade56 /llvm
parentf509c6ca2748900d89a4b4c4f86d7af3c1caaa5b (diff)
downloadbcm5719-llvm-612703a831e0446828957b4a41432c4e8a36889d.tar.gz
bcm5719-llvm-612703a831e0446828957b4a41432c4e8a36889d.zip
Adding the EM_MBLAZE value to the machine architectures enumeration to
support future ELF file generation by the MBlaze backend. llvm-svn: 116985
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Support/ELF.h31
1 files changed, 16 insertions, 15 deletions
diff --git a/llvm/include/llvm/Support/ELF.h b/llvm/include/llvm/Support/ELF.h
index 83478b75cbc..df6f8b15065 100644
--- a/llvm/include/llvm/Support/ELF.h
+++ b/llvm/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.
OpenPOWER on IntegriCloud