aboutsummaryrefslogtreecommitdiff
path: root/binutils/objdump.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-11-03 02:31:02 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-11-03 02:31:02 +0000
commit6b6bc957dd8c070845cda722223573c6bc363a10 (patch)
tree855cbfb11d2b2baffbb0ecf906a32a4b6520b7aa /binutils/objdump.c
parente9ed54eec6395626d8288f79557c6181af4f7cb5 (diff)
downloadgdb-6b6bc957dd8c070845cda722223573c6bc363a10.zip
gdb-6b6bc957dd8c070845cda722223573c6bc363a10.tar.gz
gdb-6b6bc957dd8c070845cda722223573c6bc363a10.tar.bz2
Don't display bits only used for BFD in abfd->flags.
bfd/ 2010-11-02 H.J. Lu <hongjiu.lu@intel.com> * bfd.c (BFD_FLAGS_FOR_BFD_USE_MASK): New. * bfd-in2.h: Regenerated. binutils/ 2010-11-02 H.J. Lu <hongjiu.lu@intel.com> * objdump.c (dump_bfd_header): Don't display BFD_FLAGS_FOR_BFD_USE_MASK bits in abfd->flags.
Diffstat (limited to 'binutils/objdump.c')
-rw-r--r--binutils/objdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/objdump.c b/binutils/objdump.c
index 5f996e6..c672f15 100644
--- a/binutils/objdump.c
+++ b/binutils/objdump.c
@@ -2562,7 +2562,7 @@ dump_bfd_header (bfd *abfd)
printf (_("architecture: %s, "),
bfd_printable_arch_mach (bfd_get_arch (abfd),
bfd_get_mach (abfd)));
- printf (_("flags 0x%08x:\n"), abfd->flags);
+ printf (_("flags 0x%08x:\n"), abfd->flags & ~BFD_FLAGS_FOR_BFD_USE_MASK);
#define PF(x, y) if (abfd->flags & x) {printf("%s%s", comma, y); comma=", ";}
PF (HAS_RELOC, "HAS_RELOC");