[binutils-gdb] Fix i960 machine name

Alan Modra amodra@sourceware.org
Mon Apr 16 13:53:00 GMT 2018


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

commit d7867d174c060f65dfff61e7db7725b30b1e1a32
Author: Alan Modra <amodra@gmail.com>
Date:   Mon Apr 16 23:21:58 2018 +0930

    Fix i960 machine name
    
    	* readelf.c (get_machine_name): Correct typo.

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

diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 3559c02..b69d0a7 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,5 +1,9 @@
 2018-04-16  Alan Modra  <amodra@gmail.com>
 
+	* readelf.c (get_machine_name): Correct typo.
+
+2018-04-16  Alan Modra  <amodra@gmail.com>
+
 	* configure.ac: Remove arm-epoc-pe support.
 	* dlltool.c: Likewise.
 	* configure: Regenerate.
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 2031ebe..1e80e81 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -2256,7 +2256,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_960:		return "Intel 80960";
     case EM_PPC:		return "PowerPC";
       /* 20 */
     case EM_PPC64:		return "PowerPC64";



More information about the Binutils-cvs mailing list