aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2015-01-09 07:12:37 -0500
committerAnthony Green <green@moxielogic.com>2015-01-09 07:13:07 -0500
commit400cf8cbe9bc48068f1601ea9cd33fbd2f5de36a (patch)
treea9cab2f91bb24c2857db784f67c292d47b30f9c5 /include
parentc945a99f01941ccb3e73586d5e6f8d45ffa91f77 (diff)
downloadgdb-400cf8cbe9bc48068f1601ea9cd33fbd2f5de36a.zip
gdb-400cf8cbe9bc48068f1601ea9cd33fbd2f5de36a.tar.gz
gdb-400cf8cbe9bc48068f1601ea9cd33fbd2f5de36a.tar.bz2
Use official ELF machine number for moxie
Diffstat (limited to 'include')
-rw-r--r--include/elf/ChangeLog5
-rw-r--r--include/elf/common.h4
2 files changed, 8 insertions, 1 deletions
diff --git a/include/elf/ChangeLog b/include/elf/ChangeLog
index 7cd5304..6eb7b8f 100644
--- a/include/elf/ChangeLog
+++ b/include/elf/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-09 Anthony Green <green@moxielogic.com>
+
+ * common.h (EM_MOXIE): Redefine to official number.
+ (EM_MOXIE_OLD): Define (from old number).
+
2015-01-01 Alan Modra <amodra@gmail.com>
Update year range in copyright notice of all files.
diff --git a/include/elf/common.h b/include/elf/common.h
index a564cae..f584e34 100644
--- a/include/elf/common.h
+++ b/include/elf/common.h
@@ -302,6 +302,7 @@
#define EM_INTEL208 208 /* Reserved by Intel */
#define EM_INTEL209 209 /* Reserved by Intel */
#define EM_VISIUM 221 /* Controls and Data Services VISIUMcore processor */
+#define EM_MOXIE 223 /* Moxie 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
@@ -394,7 +395,8 @@
#define EM_CYGNUS_MEP 0xF00D /* Toshiba MeP */
-#define EM_MOXIE 0xFEED /* Moxie */
+/* Old, unofficial value for Moxie. */
+#define EM_MOXIE_OLD 0xFEED
/* Old Sunplus S+core7 backend magic number. Written in the absence of an ABI. */
#define EM_SCORE_OLD 95