summaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2001-08-26 13:04:34 +0000
committerThiemo Seufer <ths@networkno.de>2001-08-26 13:04:34 +0000
commitecf62885ca203f22b33d1c294edfbe6d79506356 (patch)
tree94b041a8168270116d25bcafab633a7a7ef11612 /binutils/readelf.c
parent2b6c5504475a50e4b2698427da827998c4653a66 (diff)
downloadbinutils-redhat-ecf62885ca203f22b33d1c294edfbe6d79506356.tar.gz
* readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index 5cdbc6d376..d79ab55959 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -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");