この問題の解決策が見つかりません..
私がやろうとしているのは、gcc を使用してアセンブリ関数を呼び出すことです。ちょっと見てください:
// Somewhere in start.s
global _start_thread
_start_thread:
; ...
// Somewhere in UserThread.cpp
extern void _start_thread( pointer );
static void UserMainHack()
{
_start_thread(((UserThread*)currentThread)->getUserMain());
}
助けてくれてありがとう..