aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2018-04-14 10:50:16 +0930
committerAlan Modra <amodra@gmail.com>2018-04-14 10:50:16 +0930
commitfb70ec1714f6be66464f5a9dfab1681cf8f4ac3d (patch)
treec302b4f3e82b084e602919d0d71bd3f6c3a96b94 /binutils
parent68e91e42492551e165b103d819c021c4953da10b (diff)
downloadfsf-binutils-gdb-fb70ec1714f6be66464f5a9dfab1681cf8f4ac3d.zip
fsf-binutils-gdb-fb70ec1714f6be66464f5a9dfab1681cf8f4ac3d.tar.gz
fsf-binutils-gdb-fb70ec1714f6be66464f5a9dfab1681cf8f4ac3d.tar.bz2
Reinstate readelf decoding of i860 and i960 machine names
Decoding of EM_* ought to continue. * readelf.c (get_machine_name): Revert 2018-04-11 change.
Diffstat (limited to 'binutils')
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/readelf.c2
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 88e4b56..4ce690d 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+2018-04-14 Alan Modra <amodra@gmail.com>
+
+ * readelf.c (get_machine_name): Revert 2018-04-11 change.
+
2018-04-12 Nick Clifton <nickc@redhat.com>
PR 23050
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 4b6f9fc..cfd35d2 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -2252,6 +2252,7 @@ get_machine_name (unsigned e_machine)
case EM_68K: return "MC68000";
case EM_88K: return "MC88000";
case EM_IAMCU: return "Intel MCU";
+ case EM_860: return "Intel 80860";
case EM_MIPS: return "MIPS R3000";
case EM_S370: return "IBM System/370";
/* 10 */
@@ -2260,6 +2261,7 @@ get_machine_name (unsigned e_machine)
case EM_PARISC: return "HPPA";
case EM_VPP550: return "Fujitsu VPP500";
case EM_SPARC32PLUS: return "Sparc v8+" ;
+ case EM_960: return "Intel 90860";
case EM_PPC: return "PowerPC";
/* 20 */
case EM_PPC64: return "PowerPC64";