Search
lxdream.org :: lxdream :: r599:2a73a1a53032
lxdream 0.9.1
released Jun 29
Download Now
changeset599:2a73a1a53032
parent598:8798c3f0bf78
child600:3b0f94d0faed
authornkeynes
dateTue Jan 22 10:08:08 2008 +0000 (12 years ago)
Stack fix should be x4 (due to stack relignment and 64-bit push)
src/sh4/ia64abi.h
1.1 --- a/src/sh4/ia64abi.h Tue Jan 22 10:06:41 2008 +0000
1.2 +++ b/src/sh4/ia64abi.h Tue Jan 22 10:08:08 2008 +0000
1.3 @@ -243,7 +243,7 @@
1.4 load_imm32( R_EDX, sh4_x86.backpatch_list[i].fixup_icount );
1.5 int stack_adj = -1 - sh4_x86.backpatch_list[i].exc_code;
1.6 if( stack_adj > 0 ) {
1.7 - ADD_imm8s_r32( stack_adj, R_ESP );
1.8 + ADD_imm8s_r32( stack_adj*4, R_ESP );
1.9 }
1.10 int rel = preexc_ptr - xlat_output;
1.11 JMP_rel(rel);
.