2006-07-27 Carlos O'Donell <carlos@codesourcery.com>
authorCarlos O'Donell <carlos@codesourcery.com>
Fri, 28 Jul 2006 17:26:04 +0000 (17:26 +0000)
committerCarlos O'Donell <carlos@codesourcery.com>
Fri, 28 Jul 2006 17:26:04 +0000 (17:26 +0000)
bfd/
* 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.

ChangeLog.csl
bfd/elfxx-mips.c

index e4f83ff..6295d38 100644 (file)
@@ -1,3 +1,10 @@
+2006-07-27  Carlos O'Donell  <carlos@codesourcery.com>
+
+       bfd/
+       * 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.
+
 2006-07-26  Vladimir Prus  <vladimir@codesourcery.com>
        
        bfd/
index 6f6b4a2..7f124b0 100644 (file)
@@ -10007,6 +10007,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;