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
commita5d22d2ad52db83a1fcf71aa322f5f77facfede4 (patch)
tree254c3cb3fb313df4f66fa057240c83e5b15f5dbc /binutils/readelf.c
parentd83c654853c53c431e581c6ca3a715dd70cbe126 (diff)
downloadbinutils-gdb-a5d22d2ad52db83a1fcf71aa322f5f77facfede4.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 5cdbc6d3769..d79ab559595 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");