bfd/
authorCarlos O'Donell <carlos@codesourcery.com>
Fri, 16 Feb 2007 17:48:12 +0000 (17:48 +0000)
committerCarlos O'Donell <carlos@codesourcery.com>
Fri, 16 Feb 2007 17:48:12 +0000 (17:48 +0000)
2007-02-16  Carlos O'Donell  <carlos@codesourcery.com>

* 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
bfd/elfxx-mips.c

index 7c676c0c0497dca062fd98da7ba84fe94cb353c2..31dadbcf1e11cc9a2c764d4a3d2a020f7e17fe1b 100644 (file)
@@ -1,3 +1,9 @@
+2007-02-16  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * 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  <amodra@bigpond.net.au>
 
        * libbfd-in.h (_bfd_norelocs_get_reloc_upper_bound): Don't define,
index b612a59416973cb5298e85863de0fbaa7c9ab439..84c1c50a47ada19b75d3b8f1f8c2a5a495570999 100644 (file)
@@ -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;