From 2d9b3939751b3ef9739049509d353ade10b32a8f Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Wed, 9 Jan 2013 21:14:54 -0500 Subject: [PATCH] Fix for closures with sunpro compiler --- ChangeLog | 10 ++++++++++ configure | 4 ++-- configure.ac | 4 ++-- src/x86/ffi.c | 2 +- src/x86/sysv.S | 10 ++++++++++ 5 files changed, 25 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 289d195e..ff766458 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2013-01-10 Anthony Green + + * configure.ac: Put local.exp in the right place. + * configure: Rebuilt. + + * src/x86/ffi.c: Update comment about regparm function attributes. + * src/x86/sysv.S (ffi_closure_SYSV): The SUNPRO compiler requires + that all function arguments be passed on the stack (no regparm + support). + 2013-01-08 Anthony Green * configure.ac: Generate local.exp. This sets CC_FOR_TARGET diff --git a/configure b/configure index 5876eb7a..4a12b967 100755 --- a/configure +++ b/configure @@ -13068,10 +13068,10 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu if test "x$GCC" = "xyes"; then CFLAGS="$CFLAGS -fexceptions" - touch testsuite/local.exp + touch local.exp else cat > local.exp < local.exp <