1.1 --- a/src/sh4/sh4x86.in Fri Aug 24 08:53:50 2012 +1000
1.2 +++ b/src/sh4/sh4x86.in Wed Feb 04 08:38:23 2015 +1000
1.4 static struct sh4_x86_state sh4_x86;
1.6 static uint8_t sh4_entry_stub[128];
1.7 -void FASTCALL (*sh4_translate_enter)(void *code);
1.8 +typedef FASTCALL void (*entry_point_t)(void *);
1.9 +entry_point_t sh4_translate_enter;
1.11 static uint32_t max_int = 0x7FFFFFFF;
1.12 static uint32_t min_int = 0x80000000;
1.17 - sh4_translate_enter = sh4_entry_stub;
1.18 + sh4_translate_enter = (entry_point_t)sh4_entry_stub;
1.21 void sh4_translate_init(void)
1.22 @@ -3204,13 +3205,11 @@
1.24 void *xlat_get_native_pc( void *code, uint32_t code_size )
1.26 - struct _Unwind_Exception exc;
1.27 struct UnwindInfo info;
1.30 info.block_start = (uintptr_t)code;
1.31 info.block_end = info.block_start + code_size;
1.32 - void *result = NULL;
1.33 _Unwind_Backtrace( xlat_check_frame, &info );