-
Notifications
You must be signed in to change notification settings - Fork 20
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
x86-symbolic: Stack alignment #436
Comments
The "System V Application Binary Interface x86-64 Architecture Processor Supplement Draft Version 0.99.6" section 3.2.2 "The Stack Frame" is a bit more specific on what the above means:
Note that the standard function prelude involves In 3.2.3 "Parameter Passing", it further says:
|
Er... I thought -fomit-frame-pointer was the default on x86_64 (not that this is really relevant) |
Yeah, I think you're right! I added that comment because I saw it while I was reading about this, and found it helpful for understanding why it can often be unnecessary for the compiler to insert padding before |
True enough... |
On the subject of the stack under the x86_64 SysV ABI, the OSDev wiki says:
We should ensure that the functions introduced in #433 properly establish this precondition.
The text was updated successfully, but these errors were encountered: