[PATCH] Let readelf detect EF_MIPS_32BITMODE
Thiemo Seufer
ica2_ts@csv.ica.uni-stuttgart.de
Fri Aug 24 19:33:00 GMT 2001
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");
More information about the Binutils
mailing list