Skip to content
This repository was archived by the owner on Feb 5, 2019. It is now read-only.

Commit 75b56dc

Browse files
committed
Update to the latest registered ELF e_machine names and values.
Patch by John Wolf! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211202 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 8dfacbc commit 75b56dc

File tree

1 file changed

+22
-1
lines changed
  • include/llvm/Support

1 file changed

+22
-1
lines changed

include/llvm/Support/ELF.h

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,8 @@ enum {
124124
};
125125

126126
// Machine architectures
127+
// See current registered ELF machine architectures at:
128+
// http://www.uxsglobal.com/developers/gabi/latest/ch4.eheader.html
127129
enum {
128130
EM_NONE = 0, // No machine
129131
EM_M32 = 1, // AT&T WE 32100
@@ -287,7 +289,26 @@ enum {
287289
EM_RL78 = 197, // Renesas RL78 family
288290
EM_VIDEOCORE5 = 198, // Broadcom VideoCore V processor
289291
EM_78KOR = 199, // Renesas 78KOR family
290-
EM_56800EX = 200 // Freescale 56800EX Digital Signal Controller (DSC)
292+
EM_56800EX = 200, // Freescale 56800EX Digital Signal Controller (DSC)
293+
EM_BA1 = 201, // Beyond BA1 CPU architecture
294+
EM_BA2 = 202, // Beyond BA2 CPU architecture
295+
EM_XCORE = 203, // XMOS xCORE processor family
296+
EM_MCHP_PIC = 204, // Microchip 8-bit PIC(r) family
297+
EM_INTEL205 = 205, // Reserved by Intel
298+
EM_INTEL206 = 206, // Reserved by Intel
299+
EM_INTEL207 = 207, // Reserved by Intel
300+
EM_INTEL208 = 208, // Reserved by Intel
301+
EM_INTEL209 = 209, // Reserved by Intel
302+
EM_KM32 = 210, // KM211 KM32 32-bit processor
303+
EM_KMX32 = 211, // KM211 KMX32 32-bit processor
304+
EM_KMX16 = 212, // KM211 KMX16 16-bit processor
305+
EM_KMX8 = 213, // KM211 KMX8 8-bit processor
306+
EM_KVARC = 214, // KM211 KVARC processor
307+
EM_CDP = 215, // Paneve CDP architecture family
308+
EM_COGE = 216, // Cognitive Smart Memory Processor
309+
EM_COOL = 217, // iCelero CoolEngine
310+
EM_NORC = 218, // Nanoradio Optimized RISC
311+
EM_CSR_KALIMBA = 219 // CSR Kalimba architecture family
291312
};
292313

293314
// Object file classes.

0 commit comments

Comments
 (0)