projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c11cdb
)
Set the IMAGE_FILE_32BIT_MACHINE flag for PE targets.
author
Nick Clifton
<nickc@redhat.com>
Sat, 12 Jul 2003 10:55:05 +0000
(10:55 +0000)
committer
Nick Clifton
<nickc@redhat.com>
Sat, 12 Jul 2003 10:55:05 +0000
(10:55 +0000)
bfd/ChangeLog
patch
|
blob
|
history
bfd/coffcode.h
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index cf325a63eaa0651519fbf3bceaea85948e67442e..0a3143e11c24310571ded5b38d220bea21d6687d 100644
(file)
--- a/
bfd/ChangeLog
+++ b/
bfd/ChangeLog
@@
-1,3
+1,8
@@
+2003-07-12 Jeff Muizelaar <muizelaar@rogers.com>
+
+ * coffcode.h (coff_set_section_contents): Set the
+ IMAGE_FILE_32BIT_MACHINE flag for PE targets.
+
2003-07-11 Richard Sandiford <rsandifo@redhat.com>
* bfd-in.h (bfd_h8300_pad_address): Declare.
diff --git
a/bfd/coffcode.h
b/bfd/coffcode.h
index e9ad4df7e80fd734f1fcf0ae8d45b9c384180b1d..003977e72e674198ec852ca9d6b122d6a5619858 100644
(file)
--- 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