mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 17:45:41 +00:00
[VCSTARTUP] Implement atexit and _onexit
These must use a local table and cannot use the one from ucrtbase. The table is initialized with a .CRT section initializer.
This commit is contained in:
parent
fce48c3014
commit
f81c82f5fa
4 changed files with 55 additions and 0 deletions
|
@ -31,6 +31,7 @@ extern "C" {
|
|||
#pragma section(".CRT$XPXA", long, read)
|
||||
|
||||
#pragma section(".CRT$XIA", long, read)
|
||||
#pragma section(".CRT$XIAA", long, read) // CRT startup
|
||||
#pragma section(".CRT$XIZ", long, read)
|
||||
#pragma section(".CRT$XCA", long, read)
|
||||
#pragma section(".CRT$XCZ", long, read)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue