aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@codesourcery.com>2007-02-16 17:48:12 +0000
committerCarlos O'Donell <carlos@codesourcery.com>2007-02-16 17:48:12 +0000
commitc0e3f241cd83598784a6252bfae236a15901dd71 (patch)
treedb818d4e74c50c778441cc6266b1f74d38c03283 /bfd
parentaf69206070ccb02c8253df2c9e995c5ee4921273 (diff)
downloadgdb-c0e3f241cd83598784a6252bfae236a15901dd71.zip
gdb-c0e3f241cd83598784a6252bfae236a15901dd71.tar.gz
gdb-c0e3f241cd83598784a6252bfae236a15901dd71.tar.bz2
bfd/
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.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog6
-rw-r--r--bfd/elfxx-mips.c15
2 files changed, 21 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7c676c0..31dadbc 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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,
diff --git a/bfd/elfxx-mips.c b/bfd/elfxx-mips.c
index b612a59..84c1c50 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;