Dan Kruchinin wrote:
It isn't gcc-specific. The x86_64 stack alignment rule is in the ABI and compilers other than GCC also obey it.Are there any gcc-specific rules about stack alignment on x86_64?
Quoting from 3.2.2 in the ABIthe value (%rsp - 8) is always a multiple of 16 when control is transferred to the function entry point.