Re: Stack allocation on amd64

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/09/2018 11:28 AM, Mason wrote:
IIUC, it's the callee's responsibility to align the stack.

On GNU, the caller has to provide 16-byte alignment. Beyond that, the callee has to do its own thing, but it can (and will) assume 16 byte alignment (i.e., %rsp + 8 is a multiple of 16).

Thanks,
Florian



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux