Skip to content

Commit

Permalink
cygwin fix & updates for 3.0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
atgreen committed Mar 17, 2013
1 parent cb32c81 commit 12b1886
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 22 deletions.
13 changes: 13 additions & 0 deletions ChangeLog
@@ -1,3 +1,16 @@
2013-03-17 Anthony Green <green@moxielogic.com>

* README: Update for 3.0.13.
* configure.ac: Ditto.
* configure: Rebuilt.
* doc/*: Update version.

2013-03-17 Dave Korn <dave.korn.cygwin@gmail.com>

* src/closures.c (is_emutramp_enabled
[!FFI_MMAP_EXEC_EMUTRAMP_PAX]): Move default definition outside
enclosing #if scope.

2013-03-17 Anthony Green <green@moxielogic.com> 2013-03-17 Anthony Green <green@moxielogic.com>


* configure.ac: Only modify toolexecdir in certain cases. * configure.ac: Only modify toolexecdir in certain cases.
Expand Down
2 changes: 2 additions & 0 deletions README
Expand Up @@ -169,6 +169,8 @@ See the ChangeLog files for details.
Fix stack alignment bug on 32-bit x86. Fix stack alignment bug on 32-bit x86.
Build fix for m68000 targets. Build fix for m68000 targets.
Build fix for soft-float Power targets. Build fix for soft-float Power targets.
Fix the install dir location for some platforms when building
with GCC (OS X, Solaris).


3.0.12 Feb-11-13 3.0.12 Feb-11-13
Add Moxie support. Add Moxie support.
Expand Down
32 changes: 16 additions & 16 deletions doc/libffi.info
@@ -1,5 +1,5 @@
This is ../doc/libffi.info, produced by makeinfo version 4.13 from This is ../libffi/doc/libffi.info, produced by makeinfo version 4.13
../doc/libffi.texi. from ../libffi/doc/libffi.texi.


This manual is for Libffi, a portable foreign-function interface This manual is for Libffi, a portable foreign-function interface
library. library.
Expand Down Expand Up @@ -598,19 +598,19 @@ Index


 
Tag Table: Tag Table:
Node: Top698 Node: Top712
Node: Introduction1446 Node: Introduction1460
Node: Using libffi3082 Node: Using libffi3096
Node: The Basics3568 Node: The Basics3582
Node: Simple Example7210 Node: Simple Example7224
Node: Types8237 Node: Types8251
Node: Primitive Types8520 Node: Primitive Types8534
Node: Structures10340 Node: Structures10354
Node: Type Example11210 Node: Type Example11224
Node: Multiple ABIs12433 Node: Multiple ABIs12447
Node: The Closure API12804 Node: The Closure API12818
Node: Closure Example15748 Node: Closure Example15762
Node: Missing Features17307 Node: Missing Features17321
Node: Index17760 Node: Index17774
 
End Tag Table End Tag Table
4 changes: 2 additions & 2 deletions doc/stamp-vti
@@ -1,4 +1,4 @@
@set UPDATED 16 March 2013 @set UPDATED 16 March 2013
@set UPDATED-MONTH March 2013 @set UPDATED-MONTH March 2013
@set EDITION 3.0.13-rc1 @set EDITION 3.0.13-rc2
@set VERSION 3.0.13-rc1 @set VERSION 3.0.13-rc2
4 changes: 2 additions & 2 deletions doc/version.texi
@@ -1,4 +1,4 @@
@set UPDATED 16 March 2013 @set UPDATED 16 March 2013
@set UPDATED-MONTH March 2013 @set UPDATED-MONTH March 2013
@set EDITION 3.0.13-rc1 @set EDITION 3.0.13-rc2
@set VERSION 3.0.13-rc1 @set VERSION 3.0.13-rc2
6 changes: 4 additions & 2 deletions src/closures.c
Expand Up @@ -189,8 +189,6 @@ emutramp_enabled_check (void)


#define is_emutramp_enabled() (emutramp_enabled >= 0 ? emutramp_enabled \ #define is_emutramp_enabled() (emutramp_enabled >= 0 ? emutramp_enabled \
: (emutramp_enabled = emutramp_enabled_check ())) : (emutramp_enabled = emutramp_enabled_check ()))
#else
#define is_emutramp_enabled() 0
#endif /* FFI_MMAP_EXEC_EMUTRAMP_PAX */ #endif /* FFI_MMAP_EXEC_EMUTRAMP_PAX */


#elif defined (__CYGWIN__) || defined(__INTERIX) #elif defined (__CYGWIN__) || defined(__INTERIX)
Expand All @@ -202,6 +200,10 @@ emutramp_enabled_check (void)


#endif /* !defined(X86_WIN32) && !defined(X86_WIN64) */ #endif /* !defined(X86_WIN32) && !defined(X86_WIN64) */


#ifndef FFI_MMAP_EXEC_EMUTRAMP_PAX
#define is_emutramp_enabled() 0
#endif /* FFI_MMAP_EXEC_EMUTRAMP_PAX */

/* Declare all functions defined in dlmalloc.c as static. */ /* Declare all functions defined in dlmalloc.c as static. */
static void *dlmalloc(size_t); static void *dlmalloc(size_t);
static void dlfree(void*); static void dlfree(void*);
Expand Down

0 comments on commit 12b1886

Please sign in to comment.