Browse Source

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

git-svn-id: trunk@46417 -
florian 5 years ago
parent
commit
ac6f74a6a2
1 changed files with 3 additions and 1 deletions
  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;