This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] Let readelf detect EF_MIPS_32BITMODE
- To: binutils at sources dot redhat dot com
- Subject: [PATCH] Let readelf detect EF_MIPS_32BITMODE
- From: Thiemo Seufer <ica2_ts at csv dot ica dot uni-stuttgart dot de>
- Date: Sat, 25 Aug 2001 04:32:56 +0200
Hi All,
this adds detection of EF_MIPS_32BITMODE to readelf.
Thiemo
2001-08-25 Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
/binutils/ChangeLog
* readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
diff -BurpNX /bigdisk/src/binutils-exclude src-orig/binutils/readelf.c src/binutils/readelf.c
--- src-orig/binutils/readelf.c Thu Aug 23 17:58:55 2001
+++ src/binutils/readelf.c Sat Aug 25 01:24:16 2001
@@ -1607,6 +1607,9 @@ get_machine_flags (e_flags, e_machine)
if (e_flags & EF_MIPS_ABI2)
strcat (buf, ", abi2");
+ if (e_flags & EF_MIPS_32BITMODE)
+ strcat (buf, ", 32bitmode");
+
if ((e_flags & EF_MIPS_ARCH) == E_MIPS_ARCH_1)
strcat (buf, ", mips1");