Define FFI_SIZEOF_JAVA_RAW to 4 for x32
PR libffi/53982 PR libffi/53973 * src/x86/ffitarget.h: Check __ILP32__ instead of __LP64__ for x32. (FFI_SIZEOF_JAVA_RAW): Defined to 4 for x32. From-SVN: r189626
This commit is contained in:
parent
a30b29c35e
commit
d6a89122a6
@ -1,3 +1,11 @@
|
||||
2012-07-18 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
PR libffi/53982
|
||||
PR libffi/53973
|
||||
* src/x86/ffitarget.h: Check __ILP32__ instead of __LP64__ for
|
||||
x32.
|
||||
(FFI_SIZEOF_JAVA_RAW): Defined to 4 for x32.
|
||||
|
||||
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* configure: Regenerated.
|
||||
|
@ -61,8 +61,9 @@ typedef unsigned long long ffi_arg;
|
||||
typedef long long ffi_sarg;
|
||||
#endif
|
||||
#else
|
||||
#if defined __x86_64__ && !defined __LP64__
|
||||
#if defined __x86_64__ && defined __ILP32__
|
||||
#define FFI_SIZEOF_ARG 8
|
||||
#define FFI_SIZEOF_JAVA_RAW 4
|
||||
typedef unsigned long long ffi_arg;
|
||||
typedef long long ffi_sarg;
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user