-
Notifications
You must be signed in to change notification settings - Fork 846
Fix 13805 #13815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix 13805 #13815
Conversation
|
Are we in need of a new CI leg? |
I'm afraid arm and ci are not straightforward. |
src/Compiler/AbstractIL/ilwrite.fs
Outdated
| | Some IA64 -> writeInt32AsUInt16 os 0x200 // Machine - IMAGE_FILE_MACHINE_IA64 | ||
| | Some ARM64 -> writeInt32AsUInt16 os 0xaa64 // Machine - IMAGE_FILE_MACHINE_ARM64 | ||
| | Some ARM -> writeInt32AsUInt16 os 0x1c0 // Machine - IMAGE_FILE_MACHINE_ARM | ||
| | Some ARM -> writeInt32AsUInt16 os 0x1c4 // Machine - IMAGE_FILE_MACHINE_ARM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't really know anything about this, but according to this table this value is called IMAGE_FILE_MACHINE_ARMNT. So maybe update the comment to avoid possible future confusion :)
* Fix 13805 * Update src/Compiler/AbstractIL/ilwrite.fs Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com>
Co-authored-by: Vlad Zarytovskii <vzaritovsky@hotmail.com> Co-authored-by: Kevin Ransom (msft) <codecutter@hotmail.com>
Oh my gosh ... this is embarrassing. Please forgive me, or at least beat me gently ...
When I added arm64 and arm native support to the F# compiler, I used the wrong value for MachineType.
it was specified as ARM (CE) for windows CE, rather than ARM.
Anyway, this PR fixes that.