diff options
author | Nick Clifton <nickc@redhat.com> | 2003-07-12 10:55:05 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-07-12 10:55:05 +0000 |
commit | e56b5b82ae1f084de152d7efdba1bf5cb5ddddb2 (patch) | |
tree | 156f5cd76d29114d03df3d77d076f0add9510793 /bfd/coffcode.h | |
parent | e0dbba2dfd94470e5b3759a60e452d27ee4d330c (diff) | |
download | binutils-redhat-e56b5b82ae1f084de152d7efdba1bf5cb5ddddb2.tar.gz |
Set the IMAGE_FILE_32BIT_MACHINE flag for PE targets.
Diffstat (limited to 'bfd/coffcode.h')
-rw-r--r-- | bfd/coffcode.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bfd/coffcode.h b/bfd/coffcode.h index e9ad4df7e8..003977e72e 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -3873,7 +3873,9 @@ coff_write_object_contents (abfd) internal_f.f_flags |= IMAGE_FILE_DEBUG_STRIPPED; #endif -#ifndef COFF_WITH_PE +#ifdef COFF_WITH_PE + internal_f.f_flags |= IMAGE_FILE_32BIT_MACHINE; +#else if (bfd_little_endian (abfd)) internal_f.f_flags |= F_AR32WR; else |