This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Make readelf correctly print out machine name for Blackfin


This small patch will make readelf correctly print out machine name for
Blackfin.

Is it OK?

Thanks,
Jie

	* readelf.c (get_machine_name): Add case for Blackfin.

Index: readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.327
diff -u -p -r1.327 readelf.c
--- readelf.c	12 Dec 2005 11:25:02 -0000	1.327
+++ readelf.c	30 Dec 2005 06:25:19 -0000
@@ -1688,6 +1688,7 @@ get_machine_name (unsigned e_machine)
     case EM_XTENSA:		return "Tensilica Xtensa Processor";
     case EM_M32C:	        return "Renesas M32c";
     case EM_MS1:                return "Morpho Techologies MS1 processor";
+    case EM_BLACKFIN:		return "Analog Devices Blackfin";
     default:
       snprintf (buff, sizeof (buff), _("<unknown>: %x"), e_machine);
       return buff;



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]