This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]