From c0e3f241cd83598784a6252bfae236a15901dd71 Mon Sep 17 00:00:00 2001 From: Carlos O'Donell Date: Fri, 16 Feb 2007 17:48:12 +0000 Subject: [PATCH] bfd/ 2007-02-16 Carlos O'Donell * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT and EF_MIPS_UCODE. --- bfd/ChangeLog | 6 ++++++ bfd/elfxx-mips.c | 15 +++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7c676c0c049..31dadbcf1e1 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,9 @@ +2007-02-16 Carlos O'Donell + + * elfxx-mips.c (_bfd_mips_elf_print_private_bfd_data): + Print EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT + and EF_MIPS_UCODE. + 2007-02-15 Alan Modra * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define, diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c index b612a594169..84c1c50a47a 100644 --- a/bfd/elfxx-mips.c +++ b/bfd/elfxx-mips.c @@ -11223,6 +11223,21 @@ _bfd_mips_elf_print_private_bfd_data (bfd *abfd, void *ptr) else fprintf (file, _(" [not 32bitmode]")); + if (elf_elfheader (abfd)->e_flags & EF_MIPS_NOREORDER) + fprintf (file, _(" [noreorder]")); + + if (elf_elfheader (abfd)->e_flags & EF_MIPS_PIC) + fprintf (file, _(" [PIC]")); + + if (elf_elfheader (abfd)->e_flags & EF_MIPS_CPIC) + fprintf (file, _(" [CPIC]")); + + if (elf_elfheader (abfd)->e_flags & EF_MIPS_XGOT) + fprintf (file, _(" [XGOT]")); + + if (elf_elfheader (abfd)->e_flags & EF_MIPS_UCODE) + fprintf (file, _(" [UCODE]")); + fputc ('\n', file); return TRUE; -- 2.30.2