This is the mail archive of the binutils@sources.redhat.com 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]

Teach readelf about E_MIPS_MACH_9000


I think this is the last of the patches to mark objects files as
RM9000 files.  This adds support for E_MIPS_MACH_9000 to readelf when
dumping out the ELF file header.  I am about to commit this.

Ian


2004-12-09  Ian Lance Taylor  <ian@wasabisystems.com>

	* readelf.c (get_machine_flags): Handle E_MIPS_MACH_9000.


Index: readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.266
diff -u -r1.266 readelf.c
--- readelf.c	8 Nov 2004 12:59:37 -0000	1.266
+++ readelf.c	9 Dec 2004 06:17:44 -0000
@@ -2019,6 +2019,7 @@
 	    case E_MIPS_MACH_5400: strcat (buf, ", 5400"); break;
 	    case E_MIPS_MACH_5500: strcat (buf, ", 5500"); break;
 	    case E_MIPS_MACH_SB1:  strcat (buf, ", sb1");  break;
+	    case E_MIPS_MACH_9000: strcat (buf, ", 9000"); break;
 	    case 0:
 	    /* We simply ignore the field in this case to avoid confusion:
 	       MIPS ELF does not specify EF_MIPS_MACH, it is a GNU


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