summaryrefslogtreecommitdiffstats
path: root/private/crt32/h/defsects.inc
diff options
context:
space:
mode:
Diffstat (limited to 'private/crt32/h/defsects.inc')
-rw-r--r--private/crt32/h/defsects.inc58
1 files changed, 58 insertions, 0 deletions
diff --git a/private/crt32/h/defsects.inc b/private/crt32/h/defsects.inc
new file mode 100644
index 000000000..a736b02a1
--- /dev/null
+++ b/private/crt32/h/defsects.inc
@@ -0,0 +1,58 @@
+;***
+;defsects.inc - defines sections.
+;
+; Copyright (c) 1989-1992, Microsoft Corporation. All rights reserved.
+;
+;Purpose:
+; This file defines sections for the C and C++ libs.
+;
+; NOTE: As needed, special "CRT" sections can be added into the existing
+; init/term tables. These will be for our use only -- users who put
+; stuff in here do so at their own risk.
+;
+;Revision History:
+; 03-19-92 SKS Loosely based on the 16-bit include file DEFSEGS.INC
+; 08-06-92 SKS Changed these section names from X[ICPT]$[ACLUXZ] to
+; .CRT$X[ICPT][ACLUXZ] to avoid creating too many sections
+; Also, sections are no longer defined in groups. That was
+; for use with OMF type objects where order of appearance
+; is important. With COFF, sorting is done by section name.
+;
+;******************************************************************************
+
+;*******
+;*
+;* beginSection - a macro for declaring and beginning a section
+;*
+;* endSection - a macro for ending a previously declared section
+;*
+;*******
+
+beginSection MACRO SectName
+.CRT$&SectName SEGMENT DWORD PUBLIC 'DATA'
+ ENDM
+
+endSection MACRO SectName
+.CRT$&SectName ENDS
+ ENDM
+
+; XIA Begin C Initializer Sections
+; XIC Microsoft Reserved
+; XIU User
+; XIZ End C Initializer Sections
+;
+; XCA Begin C++ Constructor Sections
+; XCC Compiler (MS)
+; XCL Library
+; XCU User
+; XCZ End C++ Constructor Sections
+;
+; XPA Begin C Pre-Terminator Sections
+; XPU User
+; XPX Microsoft Reserved
+; XPZ End C Pre-Terminator Sections
+;
+; XTA Begin C Pre-Terminator Sections
+; XTU User
+; XTX Microsoft Reserved
+; XTZ End C Pre-Terminator Sections