reactos/sdk/include/asm
Joachim Henze 06d8420de6 [0.4.11][SDK/INCLUDE] Fix MSVC x86 warning LNK4078 CORE-18104
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 MSVC2010SP1 x86 in dbg config:
"v86.S.obj : warning LNK4078: multiple '.text' sections found with different attributes (C0520040)".

And it even slightly shrinks the size of hal.dll, e.g. for releases/0.4.7 from 1.231.360 to 1.230.848bytes

fix picked from 0.4.12-dev-494-g 0ee02b2c4d
2022-03-27 10:25:20 +02:00
..
asm.inc [0.4.11][SDK/INCLUDE] Fix MSVC x86 warning LNK4078 CORE-18104 2022-03-27 10:25:20 +02:00
CMakeLists.txt [CMAKE] Avoid some uses of the LOCATION target property. CORE-14509 2018-03-30 20:28:20 +02:00
genincdata.c
ks386.template.h [SDK] Fix NT6 building issues and improve SDK NT6 headers. 2018-02-10 18:58:35 +01:00
ksamd64.template.h
ksarm.template.h
ksx.template.h [SDK] Fix NT6 building issues and improve SDK NT6 headers. 2018-02-10 18:58:35 +01:00
kxarm.h
syscalls.inc
trapamd64.inc