Update the ABI version to LIBFFI_BASE_8.0 (#544) Since x86 and x86-64 FFI_TRAMPOLINE_SIZE have been increased, we must bump the ABI version. This fixes: https://github.com/libffi/libffi/issues/543
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62
diff --git a/libffi.map.in b/libffi.map.in
index 5553ab0..de8778a 100644
--- a/libffi.map.in
+++ b/libffi.map.in
@@ -6,7 +6,7 @@
/* These version numbers correspond to the libtool-version abi numbers,
not to the libffi release numbers. */
-LIBFFI_BASE_7.0 {
+LIBFFI_BASE_8.0 {
global:
/* Exported data variables. */
ffi_type_void;
@@ -38,27 +38,23 @@ LIBFFI_BASE_7.0 {
ffi_java_raw_to_ptrarray;
ffi_java_raw_size;
+ ffi_get_struct_offsets;
local:
*;
};
-LIBFFI_BASE_7.1 {
- global:
- ffi_get_struct_offsets;
-} LIBFFI_BASE_7.0;
-
#ifdef FFI_TARGET_HAS_COMPLEX_TYPE
-LIBFFI_COMPLEX_7.0 {
+LIBFFI_COMPLEX_8.0 {
global:
/* Exported data variables. */
ffi_type_complex_float;
ffi_type_complex_double;
ffi_type_complex_longdouble;
-} LIBFFI_BASE_7.0;
+} LIBFFI_BASE_8.0;
#endif
#if FFI_CLOSURES
-LIBFFI_CLOSURE_7.0 {
+LIBFFI_CLOSURE_8.0 {
global:
ffi_closure_alloc;
ffi_closure_free;
@@ -68,13 +64,13 @@ LIBFFI_CLOSURE_7.0 {
ffi_prep_raw_closure_loc;
ffi_prep_java_raw_closure;
ffi_prep_java_raw_closure_loc;
-} LIBFFI_BASE_7.0;
+} LIBFFI_BASE_8.0;
#endif
#if FFI_GO_CLOSURES
-LIBFFI_GO_CLOSURE_7.0 {
+LIBFFI_GO_CLOSURE_8.0 {
global:
ffi_call_go;
ffi_prep_go_closure;
-} LIBFFI_CLOSURE_7.0;
+} LIBFFI_CLOSURE_8.0;
#endif