diff options
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 |