Skip to content

Commit

Permalink
fixed trampoline size in libffi
Browse files Browse the repository at this point in the history
  • Loading branch information
ilyakurdyukov authored Dec 29, 2021
1 parent ed0022c commit 6fcb942
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libffi-3.4.2-e2k.patch
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ index 0000000..fe8a656
+#endif /* __e2k__ */
diff --git a/src/e2k/ffitarget.h b/src/e2k/ffitarget.h
new file mode 100644
index 0000000..7d6a7c4
index 0000000..b6ed34b
--- /dev/null
+++ b/src/e2k/ffitarget.h
@@ -0,0 +1,63 @@
Expand Down Expand Up @@ -487,7 +487,7 @@ index 0000000..7d6a7c4
+
+#define FFI_CLOSURES 1
+#define FFI_GO_CLOSURES 1
+#define FFI_TRAMPOLINE_SIZE (48 + 64)
+#define FFI_TRAMPOLINE_SIZE 48
+#define FFI_NATIVE_RAW_API 0
+
+#endif
Expand Down

0 comments on commit 6fcb942

Please sign in to comment.