From b3e4ace4e348d04f58c3724c12bf3fbb7a8df661 Mon Sep 17 00:00:00 2001 From: nickysn Date: Tue, 12 Jun 2018 00:38:51 +0000 Subject: [PATCH] * fixed compilation of .com files in the i8086 tiny memory model, when used with section based smartlinking git-svn-id: trunk@39213 - --- compiler/systems/t_msdos.pas | 1 + 1 file changed, 1 insertion(+) diff --git a/compiler/systems/t_msdos.pas b/compiler/systems/t_msdos.pas index 42fde05398..63bb18affa 100644 --- a/compiler/systems/t_msdos.pas +++ b/compiler/systems/t_msdos.pas @@ -469,6 +469,7 @@ begin LinkScript.Concat('EXESECTION .MZ_flat_content'); if current_settings.x86memorymodel=mm_tiny then begin + LinkScript.Concat(' OBJSECTION _TEXT||CODE'); LinkScript.Concat(' OBJSECTION *||CODE'); LinkScript.Concat(' OBJSECTION *||DATA'); LinkScript.Concat(' SYMBOL _edata');