aboutsummaryrefslogtreecommitdiffstats
path: root/backend/Stacking.v
diff options
context:
space:
mode:
authorxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2006-09-08 15:43:29 +0000
committerxleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2006-09-08 15:43:29 +0000
commit43b4d97a655e52e3962c0d14bda39dacb24af901 (patch)
treed4ea6a6694cf3e69323bf7a8756ea4b583c2b068 /backend/Stacking.v
parent593ce3f7c5647e284cd2fdc3dd3ed41be9563982 (diff)
downloadcompcert-kvx-43b4d97a655e52e3962c0d14bda39dacb24af901.tar.gz
compcert-kvx-43b4d97a655e52e3962c0d14bda39dacb24af901.zip
Stocker l'adresse de retour a l'offset 12 au lieu de l'offset 4 pour meilleure compatibilite avec les conventions de MacOSX
git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@85 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e
Diffstat (limited to 'backend/Stacking.v')
-rw-r--r--backend/Stacking.v6
1 files changed, 3 insertions, 3 deletions
diff --git a/backend/Stacking.v b/backend/Stacking.v
index 85ac9335..de350dc1 100644
--- a/backend/Stacking.v
+++ b/backend/Stacking.v
@@ -17,9 +17,9 @@ Require Import Conventions.
(** The general shape of activation records is as follows,
from bottom (lowest offsets) to top:
- 24 reserved bytes. The first 4 bytes hold the back pointer to the
- activation record of the caller. The next 4 bytes will be used
- to store the return address. The remaining 16 bytes are unused
- but reserved in accordance with the PowerPC application binary interface.
+ activation record of the caller. We use the 4 bytes at offset 12
+ to store the return address. (These are reserved by the PowerPC
+ application binary interface.) The remaining bytes are unused.
- Space for outgoing arguments to function calls.
- Local stack slots of integer type.
- Saved values of integer callee-save registers used by the function.