Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.4 KiB

  1. /***
  2. *sect_attribs.h - section attributes for IA64 CRTs
  3. *
  4. * Copyright (c) 1998-2001, Microsoft Corporation. All rights reserved.
  5. *
  6. *Revision History:
  7. * 04-14-98 JWM File created
  8. * 04-28-99 PML Wrap for IA64 only, define _CRTALLOC
  9. * 08-10-99 RMS Add .RTC initializer/terminator sections
  10. * 11-06-01 GB Add CRT$XPXA
  11. *
  12. ****/
  13. #if defined(_M_IA64) || defined(_M_AMD64)
  14. #pragma section(".CRT$XCA",long,read)
  15. #pragma section(".CRT$XCAA",long,read)
  16. #pragma section(".CRT$XCC",long,read)
  17. #pragma section(".CRT$XCZ",long,read)
  18. #pragma section(".CRT$XIA",long,read)
  19. #pragma section(".CRT$XIC",long,read)
  20. #pragma section(".CRT$XIY",long,read)
  21. #pragma section(".CRT$XIZ",long,read)
  22. #pragma section(".CRT$XLA",long,read)
  23. #pragma section(".CRT$XLZ",long,read)
  24. #pragma section(".CRT$XPA",long,read)
  25. #pragma section(".CRT$XPX",long,read)
  26. #pragma section(".CRT$XPXA",long,read)
  27. #pragma section(".CRT$XPZ",long,read)
  28. #pragma section(".CRT$XTA",long,read)
  29. #pragma section(".CRT$XTB",long,read)
  30. #pragma section(".CRT$XTX",long,read)
  31. #pragma section(".CRT$XTZ",long,read)
  32. #pragma section(".rdata$T",long,read)
  33. #pragma section(".rtc$IAA",long,read)
  34. #pragma section(".rtc$IZZ",long,read)
  35. #pragma section(".rtc$TAA",long,read)
  36. #pragma section(".rtc$TZZ",long,read)
  37. #define _CRTALLOC(x) __declspec(allocate(x))
  38. #else /* ndef _M_IA64/_M_AMD64 */
  39. #define _CRTALLOC(x)
  40. #endif /* ndef _M_IA64/_M_AMD64 */