From 43b4d97a655e52e3962c0d14bda39dacb24af901 Mon Sep 17 00:00:00 2001 From: xleroy Date: Fri, 8 Sep 2006 15:43:29 +0000 Subject: 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 --- backend/Stacking.v | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'backend/Stacking.v') 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. -- cgit