From: Thiemo Seufer Date: Sun, 26 Aug 2001 13:04:34 +0000 (+0000) Subject: * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE. X-Git-Tag: cygnus_cvs_20020108_pre~1555 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a5d22d2ad52db83a1fcf71aa322f5f77facfede4;hp=d83c654853c53c431e581c6ca3a715dd70cbe126;p=thirdparty%2Fbinutils-gdb.git * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f186ff6f1df..53bb6ee07d8 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2001-08-26 Thiemo Seufer + + * readelf.c (get_machine_flags): Add detection of EF_MIPS_32BITMODE. + 2001-08-25 H.J. Lu * nm.c (print_width): New. 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");