Something went wrong. Try again.
Reactos
Something went wrong. Try again.
[NDK][NTOS] Add global definition of INIT_FUNCTION/INIT_SECTION (#779) master
* Add an NDK header to define INIT_FUNCTION/INIT_SECTION globally * Use _declspec(allocate(x)) and _declspec(code_seg(x)) on MSVC versions that support it * Use INIT_FUNCTION on functions only and INIT_SECTION on data only (required by MSVC) * Place INIT_FUNCTION before the return type (required by MSVC) * Make sure declarations and implementations share the same modifiers (required by MSVC) * Add a global linker option to suppress warnings about defined but unused INIT section * Merge INIT section into .text in freeldr
Author Timo Kreuzer Committer GitHub Date (Dec 30, 2018, 11:19 AM UTC) Commit 71fefa32 71fefa32db013317842fd9224b63bcf5f72f2e32 Parent 7c662473 7c66247343697b5f1fe67207f850d1d88f232932