From a4f4983a140c6d3ac02e9062dfad1d99b6499662 Mon Sep 17 00:00:00 2001 From: carlos 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 7c676c0c04..31dadbcf1e 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 b612a59416..84c1c50a47 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.11.0