aboutsummaryrefslogtreecommitdiff
path: root/include/elf/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/elf/common.h')
-rw-r--r--include/elf/common.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/elf/common.h b/include/elf/common.h
index 3a6244d..1a940ff 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -340,6 +340,7 @@
#define EM_LANAI 244 /* Lanai 32-bit processor. */
#define EM_BPF 247 /* Linux BPF – in-kernel virtual machine. */
#define EM_NFP 250 /* Netronome Flow Processor. */
+#define EM_CSKY 252 /* C-SKY processor family. */
/* If it is necessary to assign new unofficial EM_* values, please pick large
random numbers (0x8523, 0xa7f2, etc.) to minimize the chances of collision
@@ -435,6 +436,10 @@
/* Old constant that might be in use by some software. */
#define EM_OPENRISC EM_OR1K
+/* C-SKY historically used 39, the same value as MCORE, from which the
+ architecture was derived. */
+#define EM_CSKY_OLD EM_MCORE
+
/* See the above comment before you add a new EM_* value here. */
/* Values for e_version. */