Commit 6f84e89d authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

winebuild: Use ARMv7 for wine modules.

parent 7f7dd82c
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
#define IMAGE_FILE_MACHINE_I386 0x014c #define IMAGE_FILE_MACHINE_I386 0x014c
#define IMAGE_FILE_MACHINE_POWERPC 0x01f0 #define IMAGE_FILE_MACHINE_POWERPC 0x01f0
#define IMAGE_FILE_MACHINE_AMD64 0x8664 #define IMAGE_FILE_MACHINE_AMD64 0x8664
#define IMAGE_FILE_MACHINE_ARM 0x01C0 #define IMAGE_FILE_MACHINE_ARMV7 0x01C4
/* Wine extension */ /* Wine extension */
#define IMAGE_FILE_MACHINE_SPARC 0x2000 #define IMAGE_FILE_MACHINE_SPARC 0x2000
...@@ -480,7 +480,7 @@ void output_module( DLLSPEC *spec ) ...@@ -480,7 +480,7 @@ void output_module( DLLSPEC *spec )
{ {
case CPU_x86: machine = IMAGE_FILE_MACHINE_I386; break; case CPU_x86: machine = IMAGE_FILE_MACHINE_I386; break;
case CPU_x86_64: machine = IMAGE_FILE_MACHINE_AMD64; break; case CPU_x86_64: machine = IMAGE_FILE_MACHINE_AMD64; break;
case CPU_ARM: machine = IMAGE_FILE_MACHINE_ARM; break; case CPU_ARM: machine = IMAGE_FILE_MACHINE_ARMV7; break;
case CPU_POWERPC: machine = IMAGE_FILE_MACHINE_POWERPC; break; case CPU_POWERPC: machine = IMAGE_FILE_MACHINE_POWERPC; break;
case CPU_SPARC: machine = IMAGE_FILE_MACHINE_SPARC; break; case CPU_SPARC: machine = IMAGE_FILE_MACHINE_SPARC; break;
} }
...@@ -669,7 +669,7 @@ void output_fake_module( DLLSPEC *spec ) ...@@ -669,7 +669,7 @@ void output_fake_module( DLLSPEC *spec )
case CPU_x86_64: put_word( IMAGE_FILE_MACHINE_AMD64 ); break; case CPU_x86_64: put_word( IMAGE_FILE_MACHINE_AMD64 ); break;
case CPU_POWERPC: put_word( IMAGE_FILE_MACHINE_POWERPC ); break; case CPU_POWERPC: put_word( IMAGE_FILE_MACHINE_POWERPC ); break;
case CPU_SPARC: put_word( IMAGE_FILE_MACHINE_SPARC ); break; case CPU_SPARC: put_word( IMAGE_FILE_MACHINE_SPARC ); break;
case CPU_ARM: put_word( IMAGE_FILE_MACHINE_ARM ); break; case CPU_ARM: put_word( IMAGE_FILE_MACHINE_ARMV7 ); break;
} }
put_word( nb_sections ); /* NumberOfSections */ put_word( nb_sections ); /* NumberOfSections */
put_dword( 0 ); /* TimeDateStamp */ put_dword( 0 ); /* TimeDateStamp */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment