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
?CreateLogicalDevice@@YAPAVDLogicalDevice@@XZ @ 1 NONAME ; class DLogicalDevice * __cdecl CreateLogicalDevice(void)
?LinkedTest1@@YAHXZ @ 2 NONAME ; int __cdecl LinkedTest1(void)
?LinkedTest2@@YAHXZ @ 3 NONAME ; int __cdecl LinkedTest2(void)
?LinkedTest3@@YAHXZ @ 4 NONAME ; int __cdecl LinkedTest3(void)
?LinkedTest4@@YAHXZ @ 5 NONAME ; int __cdecl LinkedTest4(void)
?LinkedTest5@@YAHXZ @ 6 NONAME ; int __cdecl LinkedTest5(void)
?LinkedTest6@@YAHH@Z @ 7 NONAME ; int __cdecl LinkedTest6(int)
?LinkedTest7@@YAKXZ @ 8 NONAME ; unsigned long __cdecl LinkedTest7(void)
?LinkedTest8@@YAXK@Z @ 9 NONAME ; void __cdecl LinkedTest8(unsigned long)
?LinkedTest9@@YAHXZ @ 10 NONAME ; int __cdecl LinkedTest9(void)