From: Holger Hans Peter Freyther <[email protected]> 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 <[email protected]> * 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 040063b..031c3ea 100644 --- a/libgst/ChangeLog +++ b/libgst/ChangeLog @@ -1,3 +1,7 @@ +2013-06-03 Holger Hans Peter Freyther <[email protected]> + + * xlat.c: Use jit_flush_code for the runtime code. + 2013-05-18 Holger Hans Peter Freyther <[email protected]> * libgst/byte.c: Define _gst_omit_line_numbers, emit line 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 [email protected] https://lists.gnu.org/mailman/listinfo/help-smalltalk
