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]

PATCH: Support new MIPS machine flags


I checked in the following patch.


H.J.
---
2002-09-30  H.J. Lu <hjl@gnu.org>

	* readelf.c (get_machine_flags): Handle E_MIPS_MACH_4120,
	E_MIPS_MACH_5400 and E_MIPS_MACH_5500.

Index: readelf.c
===================================================================
RCS file: /cvs/src/src/binutils/readelf.c,v
retrieving revision 1.174
diff -u -p -r1.174 readelf.c
--- readelf.c	12 Sep 2002 10:35:54 -0000	1.174
+++ readelf.c	1 Oct 2002 03:25:09 -0000
@@ -1821,8 +1821,11 @@ get_machine_flags (e_flags, e_machine)
 	    case E_MIPS_MACH_3900: strcat (buf, ", 3900"); break;
 	    case E_MIPS_MACH_4010: strcat (buf, ", 4010"); break;
 	    case E_MIPS_MACH_4100: strcat (buf, ", 4100"); break;
-	    case E_MIPS_MACH_4650: strcat (buf, ", 4650"); break;
 	    case E_MIPS_MACH_4111: strcat (buf, ", 4111"); break;
+	    case E_MIPS_MACH_4120: strcat (buf, ", 4120"); break;
+	    case E_MIPS_MACH_4650: strcat (buf, ", 4650"); break;
+	    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 0:
 	    /* We simply ignore the field in this case to avoid confusion:


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