Skip to content

Conversation

jperrett256
Copy link

I read through your documentation, and found some issues.
Lots of them were minor misspellings or grammatical issues, but there were some parts that I found deeply unclear in their meaning, and even parts that were just wrong (specifically the claim that the popular 64-bit system ABIs expect 16-byte stack alignment after the call, rather than before - AFAICT, this is exactly the opposite of what the specs say).

I have done my best to fix these issues, and have tried to split it into commits that might make it easier to review.
Thanks for the project, hope this helps!

Joshua Perrett added 4 commits September 9, 2025 20:20
Both Win64 ABI and System V ABI clearly state that 16-byte stack
alignment is required _before_ the call, not after.
Added some additional details about the Win64 ABI, including a mention
of "shadow space", which is one of the less intuitive aspects.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant