2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
6 .. index:: calling conventions
10 Stack Layout and Calling Conventions
11 ************************************
13 .. prevent bad page break with this line
15 This describes the stack layout and calling conventions.
20 stack-layout-and-calling-conventions/basic-stack-layout
21 stack-layout-and-calling-conventions/exception-handling-support
22 stack-layout-and-calling-conventions/specifying-how-stack-checking-is-done
23 stack-layout-and-calling-conventions/registers-that-address-the-stack-frame
24 stack-layout-and-calling-conventions/eliminating-frame-pointer-and-arg-pointer
25 stack-layout-and-calling-conventions/passing-function-arguments-on-the-stack
26 stack-layout-and-calling-conventions/passing-arguments-in-registers
27 stack-layout-and-calling-conventions/how-scalar-function-values-are-returned
28 stack-layout-and-calling-conventions/how-large-values-are-returned
29 stack-layout-and-calling-conventions/caller-saves-register-allocation
30 stack-layout-and-calling-conventions/function-entry-and-exit
31 stack-layout-and-calling-conventions/generating-code-for-profiling
32 stack-layout-and-calling-conventions/permitting-tail-calls
33 stack-layout-and-calling-conventions/shrink-wrapping-separate-components
34 stack-layout-and-calling-conventions/stack-smashing-protection
35 stack-layout-and-calling-conventions/miscellaneous-register-hooks