Преглед изворни кода

* 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
               else
                 Internalerror(2020031401);
                 Internalerror(2020031401);
             end;
             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;
       end;