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.

58 lines
1.7 KiB

  1. ;***
  2. ;defsects.inc - defines sections.
  3. ;
  4. ; Copyright (c) 1989-2001, Microsoft Corporation. All rights reserved.
  5. ;
  6. ;Purpose:
  7. ; This file defines sections for the C and C++ libs.
  8. ;
  9. ; NOTE: As needed, special "CRT" sections can be added into the existing
  10. ; init/term tables. These will be for our use only -- users who put
  11. ; stuff in here do so at their own risk.
  12. ;
  13. ;Revision History:
  14. ; 03-19-92 SKS Loosely based on the 16-bit include file DEFSEGS.INC
  15. ; 08-06-92 SKS Changed these section names from X[ICPT]$[ACLUXZ] to
  16. ; .CRT$X[ICPT][ACLUXZ] to avoid creating too many sections
  17. ; Also, sections are no longer defined in groups. That was
  18. ; for use with OMF type objects where order of appearance
  19. ; is important. With COFF, sorting is done by section name.
  20. ;
  21. ;******************************************************************************
  22. ;*******
  23. ;*
  24. ;* beginSection - a macro for declaring and beginning a section
  25. ;*
  26. ;* endSection - a macro for ending a previously declared section
  27. ;*
  28. ;*******
  29. beginSection MACRO SectName
  30. .CRT$&SectName SEGMENT DWORD PUBLIC 'DATA'
  31. ENDM
  32. endSection MACRO SectName
  33. .CRT$&SectName ENDS
  34. ENDM
  35. ; XIA Begin C Initializer Sections
  36. ; XIC Microsoft Reserved
  37. ; XIU User
  38. ; XIZ End C Initializer Sections
  39. ;
  40. ; XCA Begin C++ Constructor Sections
  41. ; XCC Compiler (MS)
  42. ; XCL Library
  43. ; XCU User
  44. ; XCZ End C++ Constructor Sections
  45. ;
  46. ; XPA Begin C Pre-Terminator Sections
  47. ; XPU User
  48. ; XPX Microsoft Reserved
  49. ; XPZ End C Pre-Terminator Sections
  50. ;
  51. ; XTA Begin C Pre-Terminator Sections
  52. ; XTU User
  53. ; XTX Microsoft Reserved
  54. ; XTZ End C Pre-Terminator Sections