summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@codesourcery.com>2006-07-28 17:26:04 +0000
committerCarlos O'Donell <carlos@codesourcery.com>2006-07-28 17:26:04 +0000
commitd6a5d01244c1a895484c2f7be3f6354d81b9b378 (patch)
treec8336574c4ee0a9dc851306e63b38993e78b9743
parent3e23f58a00c4aea28f7943b5b7d7944e6dcd1e91 (diff)
downloadbinutils-gdb-d6a5d01244c1a895484c2f7be3f6354d81b9b378.tar.gz
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.
-rw-r--r--ChangeLog.csl7
-rw-r--r--bfd/elfxx-mips.c15
2 files changed, 22 insertions, 0 deletions
diff --git a/ChangeLog.csl b/ChangeLog.csl
index e4f83ff9186..6295d38e636 100644
--- a/ChangeLog.csl
+++ b/ChangeLog.csl
@@ -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/
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index 6f6b4a2e6c7..7f124b091af 100644
--- a/bfd/elfxx-mips.c
+++ b/bfd/elfxx-mips.c
@@ -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;