This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Support new MIPS machine flags
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Mon, 30 Sep 2002 20:29:03 -0700
- Subject: 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: