From: Holger Hans Peter Freyther <hol...@moiji-mobile.com> On x86/amd64 this will call mprotect with PROT_EXEC on the allocated memory. This is fixing an infinite recursion in the segfault handler of the garbage collection.
2013-06-03 Holger Hans Peter Freyther <hol...@moiji-mobile.com> * xlat.c: Use jit_flush_code for the runtime code. --- libgst/ChangeLog | 4 ++++ libgst/xlat.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/libgst/ChangeLog b/libgst/ChangeLog index f5a77d7..56a044f 100644 --- a/libgst/ChangeLog +++ b/libgst/ChangeLog @@ -1,3 +1,7 @@ +2013-06-03 Holger Hans Peter Freyther <hol...@moiji-mobile.com> + + * xlat.c: Use jit_flush_code for the runtime code. + 2013-06-14 Gwenael Casaccio <gwenael.casac...@gmail.com> * libgst/dict.c: Remove useless code: gst_ordered_collection structure. diff --git a/libgst/xlat.c b/libgst/xlat.c index e555cca..3f4a555 100644 --- a/libgst/xlat.c +++ b/libgst/xlat.c @@ -620,6 +620,8 @@ generate_run_time_code (void) jit_movi_i (JIT_RET, 0); jit_ret (); + + jit_flush_code(_gst_run_native_code, jit_get_label() ); } -- 1.7.10.4 _______________________________________________ help-smalltalk mailing list help-smalltalk@gnu.org https://lists.gnu.org/mailman/listinfo/help-smalltalk