crt: crt_handler: Propagate SEH EXCEPTION_FLT_STACK_CHECK exception

Handle EXCEPTION_FLT_STACK_CHECK in both __mingw_SEH_error_handler() and
_gnu_exception_handler() callbacks via application's SIGFPE signal handler.

This EXCEPTION_FLT_STACK_CHECK exception can be triggered by loading more
values to x87 stack than x87 stack size, and having enabled the x87 Invalid
operation interrupt.

Signed-off-by: LIU Hao <lh_mouse@126.com>
2 files changed