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 năm trước cách đây
mục cha
commit
b3e4ace4e3
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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');