mirror of
https://github.com/reactos/reactos.git
synced 2026-07-01 18:04:20 +08:00
Previously this was mixed with vcruntime, with some objects being shared. But this is messy. Instead use a separate library and link ucrtbase to this as well. This also matches more closely how native libraries are organized, where vcstartup is merged into the CRT import libraries, while vcruntime is merged into the static CRT libraries.
23 lines
595 B
C++
23 lines
595 B
C++
//
|
|
// section_markers.c
|
|
//
|
|
// Copyright (c) 2024 Timo Kreuzer
|
|
//
|
|
// Markers for CRT initializer sections.
|
|
//
|
|
// SPDX-License-Identifier: MIT
|
|
//
|
|
|
|
#include <internal_shared.h>
|
|
|
|
_CRTALLOC(".CRT$XIA") _PIFV __xi_a[] = { 0 };
|
|
_CRTALLOC(".CRT$XIZ") _PIFV __xi_z[] = { 0 };
|
|
_CRTALLOC(".CRT$XCA") _PVFV __xc_a[] = { 0 };
|
|
_CRTALLOC(".CRT$XCZ") _PVFV __xc_z[] = { 0 };
|
|
_CRTALLOC(".CRT$XPA") _PVFV __xp_a[] = { 0 };
|
|
_CRTALLOC(".CRT$XPZ") _PVFV __xp_z[] = { 0 };
|
|
_CRTALLOC(".CRT$XTA") _PVFV __xt_a[] = { 0 };
|
|
_CRTALLOC(".CRT$XTZ") _PVFV __xt_z[] = { 0 };
|
|
|
|
#pragma comment(linker, "/merge:.CRT=.rdata")
|