瀏覽代碼

* patch by Christo Crause to make nostackframe with the windowed xtensa abi working, resolves #37550

git-svn-id: trunk@46417 -
florian 5 年之前
父節點
當前提交
ac6f74a6a2
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      compiler/xtensa/cgcpu.pas

+ 3 - 1
compiler/xtensa/cgcpu.pas

@@ -742,7 +742,9 @@ implementation
               else
                 Internalerror(2020031401);
             end;
-          end;
+          end
+        else if target_info.abi=abi_xtensa_windowed then
+          list.concat(taicpu.op_reg_const(A_ENTRY,NR_STACK_POINTER_REG,16));
       end;