aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
diff options
context:
space:
mode:
authorChris Demetriou <cgd@google.com>2002-04-24 18:49:00 +0000
committerChris Demetriou <cgd@google.com>2002-04-24 18:49:00 +0000
commit40d32fc6085fce4b62e5db44e45eceacddd653be (patch)
tree29a9298f9c9c50bf56e4bfbf2f2e2ef02b327386 /bfd/elfxx-mips.c
parenta0abec0350ce5ea3c78560b3c15b6e9638d3be84 (diff)
downloadgdb-40d32fc6085fce4b62e5db44e45eceacddd653be.zip
gdb-40d32fc6085fce4b62e5db44e45eceacddd653be.tar.gz
gdb-40d32fc6085fce4b62e5db44e45eceacddd653be.tar.bz2
2002-04-24 Chris G. Demetriou <cgd@broadcom.com>
* elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or MIPS-16 ASE flags are set, print something to indicate that.
Diffstat (limited to 'bfd/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 90426c4..c47556f 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -7761,6 +7761,12 @@ _bfd_mips_elf_print_private_bfd_data (abfd, ptr)
else
fprintf (file, _(" [unknown ISA]"));
+ if (elf_elfheader (abfd)->e_flags & EF_MIPS_ARCH_ASE_MDMX)
+ fprintf (file, _(" [mdmx]"));
+
+ if (elf_elfheader (abfd)->e_flags & EF_MIPS_ARCH_ASE_M16)
+ fprintf (file, _(" [mips16]"));
+
if (elf_elfheader (abfd)->e_flags & EF_MIPS_32BITMODE)
fprintf (file, _(" [32bitmode]"));
else