diff options
author | Andreas Tobler <a.tobler@schweiz.org> | 2009-12-26 18:49:55 +0000 |
---|---|---|
committer | Andreas Tobler <andreast@gcc.gnu.org> | 2009-12-26 19:49:55 +0100 |
commit | 99fba2c42aac9edb23f2848e8378cf9138b25a16 (patch) | |
tree | 1662bd43280fd0c940233f8e229b9a2eaec7361e /libffi/configure | |
parent | 302486f4fb52bf49b2a3b581e24c30b9a680da91 (diff) | |
download | gcc-99fba2c42aac9edb23f2848e8378cf9138b25a16.zip gcc-99fba2c42aac9edb23f2848e8378cf9138b25a16.tar.gz gcc-99fba2c42aac9edb23f2848e8378cf9138b25a16.tar.bz2 |
configure.ac: Define FFI_MMAP_EXEC_WRIT for the given targets.
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.
From-SVN: r155475
Diffstat (limited to 'libffi/configure')
-rwxr-xr-x | libffi/configure | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libffi/configure b/libffi/configure index f8456c9..aa40a01 100755 --- a/libffi/configure +++ b/libffi/configure @@ -12405,6 +12405,14 @@ $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h fi fi +case "$target" in + *-apple-darwin10* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*) + +$as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h + + ;; +esac + { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .eh_frame section should be read-only" >&5 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; } if test "${libffi_cv_ro_eh_frame+set}" = set; then : |