Stack Layout and Calling Conventions#
This describes the stack layout and calling conventions.
- Basic Stack Layout
- Exception Handling Support
- Specifying How Stack Checking is Done
- Registers That Address the Stack Frame
- Eliminating Frame Pointer and Arg Pointer
- Passing Function Arguments on the Stack
- Passing Arguments in Registers
- How Scalar Function Values Are Returned
- How Large Values Are Returned
- Caller-Saves Register Allocation
- Function Entry and Exit
- Generating Code for Profiling
- Permitting tail calls
- Shrink-wrapping separate components
- Stack smashing protection
- Miscellaneous register hooks