Search
lxdream.org :: lxdream/src/sh4/ia32abi.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/sh4/ia32abi.h
changeset 906:268ea359f884
prev905:4c17ebd9ef5e
next907:5ecafd8d7923
author nkeynes
date Thu Oct 30 00:06:49 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Change xlat_get_native_pc to pass in the expected code region - this lets the Mac
unwind implementation range test the IP address (which works) rather than EBP
(which doesn't for some reason).

Remove the test in configure that prevents fomit-frame-pointer being used in Mac
builds.
file annotate diff log raw
1.1 --- a/src/sh4/ia32abi.h Wed Oct 29 23:51:58 2008 +0000
1.2 +++ b/src/sh4/ia32abi.h Thu Oct 30 00:06:49 2008 +0000
1.3 @@ -333,7 +333,7 @@
1.4 return _URC_NO_REASON;
1.5 }
1.6
1.7 -void *xlat_get_native_pc()
1.8 +void *xlat_get_native_pc( void *code, uint32_t code_size )
1.9 {
1.10 struct _Unwind_Exception exc;
1.11 struct UnwindInfo info;
1.12 @@ -346,7 +346,7 @@
1.13 return NULL;
1.14 }
1.15 #else
1.16 -void *xlat_get_native_pc()
1.17 +void *xlat_get_native_pc( void *code, uint32_t code_size )
1.18 {
1.19 void *result = NULL;
1.20 asm(
.