linux-packaging-mono/debian/patches/import-amd64-tramp-size.patch
Jo Shields 2891ba40b7 Increase AMD64 tramp sized (fixes #28586)
Former-commit-id: c394dd5eb9178bc2637b66636e4b40c89e92f173
2015-04-28 00:19:02 +01:00

14 lines
486 B
Diff

diff --git a/mono/mini/tramp-amd64.c b/mono/mini/tramp-amd64.c
index 526ba98..0c7f8b2 100755
--- a/mono/mini/tramp-amd64.c
+++ b/mono/mini/tramp-amd64.c
@@ -983,7 +983,7 @@ mono_arch_create_monitor_enter_trampoline (MonoTrampInfo **info, gboolean is_v4,
status_offset = MONO_THREADS_SYNC_MEMBER_OFFSET (status_offset);
nest_offset = MONO_THREADS_SYNC_MEMBER_OFFSET (nest_offset);
- tramp_size = 96;
+ tramp_size = 128;
code = buf = mono_global_codeman_reserve (tramp_size);