diff options
author | Brian Ford <ford@vss.fsi.com> | 2004-05-07 15:08:49 +0000 |
---|---|---|
committer | Brian Ford <ford@vss.fsi.com> | 2004-05-07 15:08:49 +0000 |
commit | d70270c5ec4289b4505c5b7e31bcbd5d25c9f7d4 (patch) | |
tree | 718569cc24032cef7efe50e50894a745f39007ac /bfd/coffcode.h | |
parent | c69b8bfcf66dafe950e14042f8bb1220c7c5fc69 (diff) | |
download | gdb-d70270c5ec4289b4505c5b7e31bcbd5d25c9f7d4.zip gdb-d70270c5ec4289b4505c5b7e31bcbd5d25c9f7d4.tar.gz gdb-d70270c5ec4289b4505c5b7e31bcbd5d25c9f7d4.tar.bz2 |
* 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/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index d495b53..35da7c9 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -3894,6 +3894,8 @@ coff_write_object_contents (abfd) #ifdef COFF_IMAGE_WITH_PE if (! hasdebug) internal_f.f_flags |= IMAGE_FILE_DEBUG_STRIPPED; + if (pe_data (abfd)->real_flags & IMAGE_FILE_LARGE_ADDRESS_AWARE) + internal_f.f_flags |= IMAGE_FILE_LARGE_ADDRESS_AWARE; #endif #ifdef COFF_WITH_PE |