From: Chris Demetriou Date: Wed, 24 Apr 2002 18:49:00 +0000 (+0000) Subject: 2002-04-24 Chris G. Demetriou X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=40d32fc6085fce4b62e5db44e45eceacddd653be;p=binutils-gdb.git 2002-04-24 Chris G. Demetriou * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): If MDMX or MIPS-16 ASE flags are set, print something to indicate that. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index eed424041af..bb7e6bbec36 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-04-24 Chris G. Demetriou + + * 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 * elf32-hppa.c (hppa_type_of_stub): Correct and simplify condition diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index 90426c437c9..c47556f0770 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