diff options
author | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
---|---|---|
committer | Adam <you@example.com> | 2020-05-17 05:51:50 +0200 |
commit | e611b132f9b8abe35b362e5870b74bce94a1e58e (patch) | |
tree | a5781d2ec0e085eeca33cf350cf878f2efea6fe5 /private/crt32/h/defsects.inc | |
download | NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.gz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.bz2 NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.lz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.xz NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.tar.zst NT4.0-e611b132f9b8abe35b362e5870b74bce94a1e58e.zip |
Diffstat (limited to 'private/crt32/h/defsects.inc')
-rw-r--r-- | private/crt32/h/defsects.inc | 58 |
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 |