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
?Function3@@YAHXZ @ 1 NONAME ; int __cdecl Function3(void)
?Function4@@YAHXZ @ 2 NONAME ; int __cdecl Function4(void)
?GetDll3Data@@YAHXZ @ 3 NONAME ; int __cdecl GetDll3Data(void)
?SetDll3Data@@YAXH@Z @ 4 NONAME ; void __cdecl SetDll3Data(int)