aboutsummaryrefslogtreecommitdiff
path: root/bfd/bfd-in2.h
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 /bfd/bfd-in2.h
parente9ed54eec6395626d8288f79557c6181af4f7cb5 (diff)
downloadfsf-binutils-gdb-6b6bc957dd8c070845cda722223573c6bc363a10.zip
fsf-binutils-gdb-6b6bc957dd8c070845cda722223573c6bc363a10.tar.gz
fsf-binutils-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 'bfd/bfd-in2.h')
-rw-r--r--bfd/bfd-in2.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h
index aec5c24..c6a54b5 100644
--- a/bfd/bfd-in2.h
+++ b/bfd/bfd-in2.h
@@ -5081,6 +5081,11 @@ struct bfd
#define BFD_FLAGS_SAVED \
(BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS)
+ /* Flags bits which are for BFD use only. */
+#define BFD_FLAGS_FOR_BFD_USE_MASK \
+ (BFD_IN_MEMORY | BFD_COMPRESS | BFD_DECOMPRESS | BFD_LINKER_CREATED \
+ | BFD_TRADITIONAL_FORMAT | BFD_DETERMINISTIC_OUTPUT)
+
/* Currently my_archive is tested before adding origin to
anything. I believe that this can become always an add of
origin, with origin set to 0 for non archive files. */