aboutsummaryrefslogtreecommitdiff
path: root/bfd/elfxx-mips.c
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/elfxx-mips.c
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/elfxx-mips.c')
-rw-r--r--bfd/elfxx-mips.c15
1 files changed, 15 insertions, 0 deletions
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;