windows-nt/Source/XPSP1/NT/base/crts/crtw32/h/sect_attribs.h

45 lines
1.3 KiB
C
Raw Permalink Normal View History

2020-09-26 03:20:57 -05:00
/***
*sect_attribs.h - section attributes for IA64 CRTs
*
* Copyright (c) 1998-2001, Microsoft Corporation. All rights reserved.
*
*Revision History:
* 04-14-98 JWM File created
* 04-28-99 PML Wrap for IA64 only, define _CRTALLOC
* 08-10-99 RMS Add .RTC initializer/terminator sections
*
****/
#if defined(_M_IA64) || defined(_M_AMD64)
#pragma section(".CRT$XCA",long,read)
#pragma section(".CRT$XCAA",long,read)
#pragma section(".CRT$XCC",long,read)
#pragma section(".CRT$XCZ",long,read)
#pragma section(".CRT$XIA",long,read)
#pragma section(".CRT$XIC",long,read)
#pragma section(".CRT$XIY",long,read)
#pragma section(".CRT$XIZ",long,read)
#pragma section(".CRT$XLA",long,read)
#pragma section(".CRT$XLZ",long,read)
#pragma section(".CRT$XPA",long,read)
#pragma section(".CRT$XPX",long,read)
#pragma section(".CRT$XPZ",long,read)
#pragma section(".CRT$XTA",long,read)
#pragma section(".CRT$XTB",long,read)
#pragma section(".CRT$XTX",long,read)
#pragma section(".CRT$XTZ",long,read)
#pragma section(".rdata$T",long,read)
#pragma section(".rtc$IAA",long,read)
#pragma section(".rtc$IZZ",long,read)
#pragma section(".rtc$TAA",long,read)
#pragma section(".rtc$TZZ",long,read)
#define _CRTALLOC(x) __declspec(allocate(x))
#else /* ndef _M_IA64 */
#define _CRTALLOC(x)
#endif /* ndef _M_IA64 */