Closed thrimbor closed 3 years ago
Looks good to me. 👍
Hm, thinking about it, I might close this and #39, and instead move all of crt0 to the nxdk repo instead. I could then also integrate the linker parameters to include _fltused
and _xlibc_check_stack
into it - this would keep LTO working while reducing the amount of necessary linker parameters even further.
This renames the entry point from
XboxCRTEntry
toWinMainCRTStartup
. This doesn't change any behavior, but allows us to drop the-entry:XboxCRTEntry
linker parameter in nxdk (will have to be done in the same commit as the submodule update, or the build will break).