Ver Fonte

set up register A6 to be saved as well. this will only happen in case A6 is not used as framepointer

git-svn-id: trunk@25759 -
Károly Balogh há 11 anos atrás
pai
commit
3b99974847
1 ficheiros alterados com 2 adições e 2 exclusões
  1. 2 2
      compiler/m68k/cpubase.pas

+ 2 - 2
compiler/m68k/cpubase.pas

@@ -308,8 +308,8 @@ unit cpubase;
          GCC source.
       }
       saved_standard_registers : array[0..5] of tsuperregister = (RS_D2,RS_D3,RS_D4,RS_D5,RS_D6,RS_D7);
-      saved_address_registers : array[0..3] of tsuperregister = (RS_A2,RS_A3,RS_A4,RS_A5);
-      
+      saved_address_registers : array[0..3] of tsuperregister = (RS_A2,RS_A3,RS_A4,RS_A5,RS_A6);
+
       { this is only for the generic code which is not used for this architecture }
       saved_mm_registers : array[0..0] of tsuperregister = (RS_INVALID);