1) Swapping to c++ instead of assembly implementations of several kernel APIs to avoid calling probably broken implementations of __EH_FRAME_?? macros
2) Commenting out otherwise unavoidable calls to __EH_FRAME_?? macros in uc_exe.cia. This is a temporary hack.
Both changes to see if they get past an early kernel panic in the Syborg ROM from the current build:
EH ERROR: no exception descriptor for address 0x801eb277
Thread efile.exe::Main Panic USER-EXEC 3
EXPORTS
?SessionCreate@@YAHABVTDesC8@@HPBVTSecurityPolicy@@H@Z @ 1 NONAME ; int __cdecl SessionCreate(class TDesC8 const &,int,class TSecurityPolicy const *,int)
?SessionSend@@YAHHHPAXPAVTRequestStatus@@@Z @ 2 NONAME ; int __cdecl SessionSend(int,int,void *,class TRequestStatus *)
?SessionSendSync@@YAHHHPAXPAVTRequestStatus@@@Z @ 3 NONAME ; int __cdecl SessionSendSync(int,int,void *,class TRequestStatus *)
?SetSessionPtr@@YAXHPBX@Z @ 4 NONAME ; void __cdecl SetSessionPtr(int,void const *)