mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[SDK/INCLUDE] Fix the .code16 macro definition for MASM/ML.
Modify the .code16 macro so that the 16-bit code segment can get a chance to be correctly merged with other (possibly 32-bit) code segments, without keeping generating multiple .text segments with different attributes and generating the corresponding LNK4078 warning. This fixes the warning when compiling NTOSKRNL on MSVC: "v86.S.obj : warning LNK4078: multiple '.text' sections found with different attributes (C0520040)".
This commit is contained in:
parent
c90b53d5ad
commit
0ee02b2c4d
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ ENDM
|
|||
|
||||
.code16 MACRO
|
||||
ASSUME nothing
|
||||
.text SEGMENT use16
|
||||
.text SEGMENT use16 PUBLIC 'CODE'
|
||||
.586P
|
||||
ENDM
|
||||
|
||||
|
|
Loading…
Reference in a new issue