浏览代码

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

git-svn-id: trunk@39213 -

nickysn 7 年之前
父节点
当前提交
b3e4ace4e3
共有 1 个文件被更改,包括 1 次插入0 次删除
  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');