Repository navigation
aarch64-windows: ARM64 PE output; all six targets build - #46
Merged
Merged
Conversation
pe.trk writes IMAGE_FILE_MACHINE_ARM64 images (DYNAMIC_BASE, an empty .reloc block, adrp+ldr IAT fixups); the A64 translator gains the Windows import call (rcx/rdx/r8/r9 + Win64 stack words to x0-x7 and [sp]) and a brk system call stub. --target aarch64-windows now builds; reseeded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
windows-arm-cross builds trackc.exe, hello and the examples for aarch64-windows on Linux; windows-arm runs them on windows-11-arm against the goldens and checks trackc.exe rebuilds hello byte for byte. An Arm64 trackc.exe defaults to aarch64-windows. README and docs/native.md list all six targets with how each is tested. Reseeded. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed.
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
trackc build --target aarch64-windowswrites ARM64 PE32+ images. This finishes the target matrix: x86_64 and aarch64 × Linux, macOS and Windows.ax_import_call_winmaps the Win64 argument registers rcx, rdx, r8 and r9 to AAPCS64 x0–x3, the stack words to x4–x7, and args 9 and up to [sp]. x18, the TEB register, is never used, and a test checks that.windows-arm-cross(ubuntu) andwindows-arm(windows-11-arm). The second runs the goldens, rebuilds hello on the device and compares hashes, then runs tests/windows/run.ps1.Verification:
Not yet run on Windows-on-ARM hardware: the
windows-armCI job is the first run.🤖 Generated with Claude Code