From: Carlos O'Donell Date: Fri, 16 Feb 2007 17:48:12 +0000 (+0000) Subject: bfd/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c0e3f241cd83598784a6252bfae236a15901dd71;p=binutils-gdb.git 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. --- 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;