瀏覽代碼

* put the i8086-msdos stack segment in a separate object file

git-svn-id: trunk@27825 -
nickysn 11 年之前
父節點
當前提交
e9cb275f66
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      compiler/i8086/n8086util.pas

+ 1 - 0
compiler/i8086/n8086util.pas

@@ -47,6 +47,7 @@ implementation
       inherited;
       if current_settings.x86memorymodel in x86_far_data_models then
         begin
+          maybe_new_object_file(current_asmdata.asmlists[al_globals]);
           new_section(current_asmdata.asmlists[al_globals],sec_stack,'__stack', 16);
           current_asmdata.asmlists[al_globals].concat(tai_datablock.Create('___stack', stacksize));
         end;