From fb70ec1714f6be66464f5a9dfab1681cf8f4ac3d Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 14 Apr 2018 10:50:16 +0930 Subject: [PATCH] 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. --- binutils/ChangeLog | 4 ++++ binutils/readelf.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 88e4b569aca..4ce690d6780 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2018-04-14 Alan Modra + + * readelf.c (get_machine_name): Revert 2018-04-11 change. + 2018-04-12 Nick Clifton PR 23050 diff --git a/binutils/readelf.c b/binutils/readelf.c index 4b6f9fc8ac6..cfd35d2cd67 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"; -- 2.30.2