Browse Source

* fixed compilation of .com files in the i8086 tiny memory model, when used with
section based smartlinking

git-svn-id: trunk@39213 -

nickysn 7 years ago
parent
commit
b3e4ace4e3
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/systems/t_msdos.pas

+ 1 - 0
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');