kernel32/tests: Add ARM64 support.
This commit is contained in:
parent
855be0bb55
commit
1b440629a6
|
@ -1787,6 +1787,8 @@ static BOOL create_fake_dll( LPCSTR filename )
|
||||||
nt->FileHeader.Machine = IMAGE_FILE_MACHINE_SPARC;
|
nt->FileHeader.Machine = IMAGE_FILE_MACHINE_SPARC;
|
||||||
#elif defined __arm__
|
#elif defined __arm__
|
||||||
nt->FileHeader.Machine = IMAGE_FILE_MACHINE_ARMNT;
|
nt->FileHeader.Machine = IMAGE_FILE_MACHINE_ARMNT;
|
||||||
|
#elif defined __aarch64__
|
||||||
|
nt->FileHeader.Machine = IMAGE_FILE_MACHINE_ARM64;
|
||||||
#else
|
#else
|
||||||
# error You must specify the machine type
|
# error You must specify the machine type
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -64,6 +64,8 @@ static IMAGE_NT_HEADERS nt_header =
|
||||||
IMAGE_FILE_MACHINE_SPARC, /* Machine */
|
IMAGE_FILE_MACHINE_SPARC, /* Machine */
|
||||||
#elif defined __arm__
|
#elif defined __arm__
|
||||||
IMAGE_FILE_MACHINE_ARMNT, /* Machine */
|
IMAGE_FILE_MACHINE_ARMNT, /* Machine */
|
||||||
|
#elif defined __aarch64__
|
||||||
|
IMAGE_FILE_MACHINE_ARM64, /* Machine */
|
||||||
#else
|
#else
|
||||||
# error You must specify the machine type
|
# error You must specify the machine type
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue