summaryrefslogtreecommitdiffstats
path: root/libffi/fficonfig.h.in
diff options
context:
space:
mode:
authorandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-26 18:49:55 +0000
committerandreast <andreast@138bc75d-0d04-0410-961f-82ee72b054a4>2009-12-26 18:49:55 +0000
commit3531d81fc96e1a056686527aafe18cf934ce6d44 (patch)
tree1662bd43280fd0c940233f8e229b9a2eaec7361e /libffi/fficonfig.h.in
parent81b376aefe496a92f695ce84f8a7271a9bcee8c1 (diff)
downloadppe42-gcc-3531d81fc96e1a056686527aafe18cf934ce6d44.tar.gz
ppe42-gcc-3531d81fc96e1a056686527aafe18cf934ce6d44.zip
2009-12-26 Andreas Tobler <a.tobler@schweiz.org>
* configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets. * configure: Regenerate. * fficonfig.h.in: Likewise. * src/closures.c: Remove the FFI_MMAP_EXEC_WRIT definition for Solaris/x86. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@155475 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/fficonfig.h.in')
-rw-r--r--libffi/fficonfig.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/libffi/fficonfig.h.in b/libffi/fficonfig.h.in
index 9fce46b2ea9..e03bbf90b27 100644
--- a/libffi/fficonfig.h.in
+++ b/libffi/fficonfig.h.in
@@ -17,6 +17,9 @@
/* Define this if you want extra debugging. */
#undef FFI_DEBUG
+/* Cannot use malloc on this target, so, we revert to alternative means */
+#undef FFI_MMAP_EXEC_WRIT
+
/* Define this is you do not want support for the raw API. */
#undef FFI_NO_RAW_API
OpenPOWER on IntegriCloud