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
?Export1@@YAHXZ @ 1 NONAME ; int __cdecl Export1(void)
?Export2@@YAHXZ @ 2 NONAME ; int __cdecl Export2(void)
?Export3@@YAHXZ @ 3 NONAME ; int __cdecl Export3(void)
?Export4@@YAHXZ @ 4 NONAME ABSENT ; int __cdecl Export4(void)
?Export5@@YAHH@Z @ 5 NONAME ABSENT ; int __cdecl Export5(int)
?Export6@@YAHH@Z @ 6 NONAME ; int __cdecl Export6(int)