Ensure that users don't include ffitarget.h directly
This commit is contained in:
@@ -1,3 +1,21 @@
|
||||
2012-02-10 Kai Tietz <ktietz@redhat.com>
|
||||
|
||||
* configure.ac (AM_LTLDFLAGS): Add -no-undefine for x64
|
||||
windows target.
|
||||
* configure: Regenerated.
|
||||
|
||||
2012-02-08 Kai Tietz <ktietz@redhat.com>
|
||||
|
||||
* src/prep_cif.c (ffi_prep_cif): Allow for X86_WIN32
|
||||
also FFI_THISCALL.
|
||||
* src/x86/ffi.c (ffi_closure_THISCALL): Add prototype.
|
||||
(FFI_INIT_TRAMPOLINE_THISCALL): New trampoline code.
|
||||
(ffi_prep_closure_loc): Add FFI_THISCALL support.
|
||||
* src/x86/ffitarget.h (FFI_TRAMPOLINE_SIZE): Adjust size.
|
||||
* src/x86/win32.S (ffi_closure_THISCALL): New closure code
|
||||
for thiscall-calling convention.
|
||||
* testsuite/libffi.call/closure_thiscall.c: New test.
|
||||
|
||||
2012-01-28 Kai Tietz <ktietz@redhat.com>
|
||||
|
||||
* src/libffi/src/x86/ffi.c (ffi_call_win32): Add new
|
||||
|
||||
9
.pc/darwin11/configure
vendored
9
.pc/darwin11/configure
vendored
@@ -12167,6 +12167,15 @@ case "$host" in
|
||||
|
||||
x86_64-*-cygwin* | x86_64-*-mingw*)
|
||||
TARGET=X86_WIN64; TARGETDIR=x86
|
||||
# All mingw/cygwin/win32 builds require -no-undefined for sharedlib.
|
||||
# We must also check with_cross_host to decide if this is a native
|
||||
# or cross-build and select where to install dlls appropriately.
|
||||
if test -n "$with_cross_host" &&
|
||||
test x"$with_cross_host" != x"no"; then
|
||||
AM_LTLDFLAGS='-no-undefined -bindir "$(toolexeclibdir)"';
|
||||
else
|
||||
AM_LTLDFLAGS='-no-undefined -bindir "$(bindir)"';
|
||||
fi
|
||||
;;
|
||||
|
||||
x86_64-*-*)
|
||||
|
||||
@@ -186,6 +186,15 @@ case "$host" in
|
||||
|
||||
x86_64-*-cygwin* | x86_64-*-mingw*)
|
||||
TARGET=X86_WIN64; TARGETDIR=x86
|
||||
# All mingw/cygwin/win32 builds require -no-undefined for sharedlib.
|
||||
# We must also check with_cross_host to decide if this is a native
|
||||
# or cross-build and select where to install dlls appropriately.
|
||||
if test -n "$with_cross_host" &&
|
||||
test x"$with_cross_host" != x"no"; then
|
||||
AM_LTLDFLAGS='-no-undefined -bindir "$(toolexeclibdir)"';
|
||||
else
|
||||
AM_LTLDFLAGS='-no-undefined -bindir "$(bindir)"';
|
||||
fi
|
||||
;;
|
||||
|
||||
x86_64-*-*)
|
||||
|
||||
Reference in New Issue
Block a user