diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-11-03 02:31:01 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-11-03 02:31:01 +0000 |
commit | 583e61f90299f75322cd29483351d378c6d185c8 (patch) | |
tree | ed787706fcc916a87bc74ab0b5a3c6335c7e661a /bfd/bfd.c | |
parent | 6aa0516e6febd8d17d8d2fd49ad9061b7940b1ee (diff) | |
download | gdb-583e61f90299f75322cd29483351d378c6d185c8.tar.gz |
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.c')
-rw-r--r-- | bfd/bfd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/bfd.c b/bfd/bfd.c index 3b2960320d8..a9ce7cc226b 100644 --- a/bfd/bfd.c +++ b/bfd/bfd.c @@ -161,6 +161,11 @@ CODE_FRAGMENT .#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. *} |