Explorar o código

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

git-svn-id: trunk@46417 -
florian %!s(int64=5) %!d(string=hai) anos
pai
achega
ac6f74a6a2
Modificáronse 1 ficheiros con 3 adicións e 1 borrados
  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;