* readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
authorThiemo Seufer <ths@networkno.de>
Sun, 26 Aug 2001 13:04:34 +0000 (13:04 +0000)
committerThiemo Seufer <ths@networkno.de>
Sun, 26 Aug 2001 13:04:34 +0000 (13:04 +0000)
binutils/ChangeLog
binutils/readelf.c

index f186ff6..53bb6ee 100644 (file)
@@ -1,3 +1,7 @@
+2001-08-26  Thiemo Seufer <seufer@csv.ica.uni-stuttgart.de>
+
+       * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
+
 2001-08-25  H.J. Lu  <hjl@gnu.org>
 
        * nm.c (print_width): New.
index 5cdbc6d..d79ab55 100644 (file)
@@ -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");