aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elfxx-mips.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index eed4240..bb7e6bb 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+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.
+
2002-04-23 Alan Modra <amodra@bigpond.net.au>
* elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition
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