[binutils-gdb] Reinstate readelf decoding of i860 and i960 machine names

Alan Modra amodra@sourceware.org
Sat Apr 14 08:47:00 GMT 2018


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=fb70ec1714f6be66464f5a9dfab1681cf8f4ac3d

commit fb70ec1714f6be66464f5a9dfab1681cf8f4ac3d
Author: Alan Modra <amodra@gmail.com>
Date:   Sat Apr 14 10:50:16 2018 +0930

    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.

Diff:
---
 binutils/ChangeLog | 4 ++++
 binutils/readelf.c | 2 ++
 2 files changed, 6 insertions(+)

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";



More information about the Binutils-cvs mailing list