summaryrefslogtreecommitdiff
path: root/bfd/peXXigen.c
diff options
context:
space:
mode:
authorBrian Ford <ford@vss.fsi.com>2004-05-07 15:08:49 +0000
committerBrian Ford <ford@vss.fsi.com>2004-05-07 15:08:49 +0000
commit95c9a905f27ad1aec5dd468999609bd521a660c5 (patch)
tree2235487042c7ad95b4abcf5091491f6494ea6f49 /bfd/peXXigen.c
parentc03febaec09d496e812890bf8e4850bb758d84bf (diff)
downloadbinutils-redhat-95c9a905f27ad1aec5dd468999609bd521a660c5.tar.gz
* coffcode.h (coff_write_object_contents) [COFF_IMAGE_WITH_PE]:
Propagate IMAGE_FILE_LARGE_ADDRESS_AWARE. * peXXigen.c (_bfd_XX_print_private_bfd_data_common): Recognize IMAGE_FILE_LARGE_ADDRESS_AWARE. Use PE defines.
Diffstat (limited to 'bfd/peXXigen.c')
-rw-r--r--bfd/peXXigen.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/bfd/peXXigen.c b/bfd/peXXigen.c
index d7f3750362..1b939e1013 100644
--- a/bfd/peXXigen.c
+++ b/bfd/peXXigen.c
@@ -1841,16 +1841,17 @@ _bfd_XX_print_private_bfd_data_common (abfd, vfile)
fprintf (file, _("\nCharacteristics 0x%x\n"), pe->real_flags);
#undef PF
#define PF(x, y) if (pe->real_flags & x) { fprintf (file, "\t%s\n", y); }
- PF (F_RELFLG, "relocations stripped");
- PF (F_EXEC, "executable");
- PF (F_LNNO, "line numbers stripped");
- PF (F_LSYMS, "symbols stripped");
- PF (0x80, "little endian");
- PF (F_AR32WR, "32 bit words");
- PF (0x200, "debugging information removed");
- PF (0x1000, "system file");
- PF (F_DLL, "DLL");
- PF (0x8000, "big endian");
+ PF (IMAGE_FILE_RELOCS_STRIPPED, "relocations stripped");
+ PF (IMAGE_FILE_EXECUTABLE_IMAGE, "executable");
+ PF (IMAGE_FILE_LINE_NUMS_STRIPPED, "line numbers stripped");
+ PF (IMAGE_FILE_LOCAL_SYMS_STRIPPED, "symbols stripped");
+ PF (IMAGE_FILE_LARGE_ADDRESS_AWARE, "large address aware");
+ PF (IMAGE_FILE_BYTES_REVERSED_LO, "little endian");
+ PF (IMAGE_FILE_32BIT_MACHINE, "32 bit words");
+ PF (IMAGE_FILE_DEBUG_STRIPPED, "debugging information removed");
+ PF (IMAGE_FILE_SYSTEM, "system file");
+ PF (IMAGE_FILE_DLL, "DLL");
+ PF (IMAGE_FILE_BYTES_REVERSED_HI, "big endian");
#undef PF
/* ctime implies '\n'. */