This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[SPARC] Fix an old oversight in libffi
- From: Eric Botcazou <ebotcazou at adacore dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sat, 11 Feb 2012 11:58:10 +0100
- Subject: [SPARC] Fix an old oversight in libffi
The minimum stack frame size is 176 in 64-bit mode, not 128.
Tested on SPARC/Solaris, applied on the mainline.
2012-02-11 Eric Botcazou <ebotcazou@adacore.com>
* src/sparc/v9.S (STACKFRAME): Bump to 176.
--
Eric Botcazou
Index: src/sparc/v9.S
===================================================================
--- src/sparc/v9.S (revision 183864)
+++ src/sparc/v9.S (working copy)
@@ -32,7 +32,7 @@
/* Only compile this in for 64bit builds, because otherwise the object file
will have inproper architecture due to used instructions. */
-#define STACKFRAME 128 /* Minimum stack framesize for SPARC */
+#define STACKFRAME 176 /* Minimum stack framesize for SPARC 64-bit */
#define STACK_BIAS 2047
#define ARGS (128) /* Offset of register area in frame */