This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
[PATCH] PE IMAGE_FILE_32BIT_MACHINE flag
- From: Jeff Muizelaar <muizelaar at rogers dot com>
- To: binutils at sources dot redhat dot com
- Date: Tue, 08 Jul 2003 22:05:22 -0400
- Subject: [PATCH] PE IMAGE_FILE_32BIT_MACHINE flag
It seems all the pe's I have seen have this set and as most machines
that use pe's are 32 bit we should set it as well.
-Jeff
diff -urN binutils-030703/bfd/coffcode.h binutils-32bit-machine/bfd/coffcode.h
--- binutils-030703/bfd/coffcode.h 2003-06-04 07:38:30.000000000 -0400
+++ binutils-32bit-machine/bfd/coffcode.h 2003-07-08 21:54:02.000000000 -0400
@@ -3878,6 +3878,8 @@
internal_f.f_flags |= F_AR32WR;
else
internal_f.f_flags |= F_AR32W;
+#else
+ internal_f.f_flags |= IMAGE_FILE_32BIT_MACHINE;
#endif
#ifdef TI_TARGET_ID