瀏覽代碼

* fixed Darwin/i386 after r43176

git-svn-id: trunk@43185 -
Jonas Maebe 5 年之前
父節點
當前提交
dadeff5b09
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      compiler/ncgcal.pas

+ 3 - 1
compiler/ncgcal.pas

@@ -1207,7 +1207,9 @@ implementation
            pop_parasize which uses pushedparasize to determine this
            pop_parasize which uses pushedparasize to determine this
 
 
            This does not apply to interrupt procedures, their ret statment never clears any stack parameters }
            This does not apply to interrupt procedures, their ret statment never clears any stack parameters }
-         else if paramanager.use_fixed_stack and not(po_interrupt in procdefinition.procoptions) then
+         else if paramanager.use_fixed_stack and
+                 not(po_interrupt in procdefinition.procoptions) and
+                 (target_info.abi=abi_linux386_sysv) then
            begin
            begin
              { however, a delphi style frame pointer for a nested subroutine
              { however, a delphi style frame pointer for a nested subroutine
                is not cleared by the callee, so we have to compensate for this
                is not cleared by the callee, so we have to compensate for this