Browse Source

m68k: plain 68000 also needs extra handling for large offsets

git-svn-id: trunk@28423 -
Károly Balogh 11 năm trước cách đây
mục cha
commit
ccc9bc0941
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      compiler/m68k/rgcpu.pas

+ 2 - 2
compiler/m68k/rgcpu.pas

@@ -60,7 +60,7 @@ unit rgcpu;
         helplist : tasmlist;
         hreg     : tregister;
       begin
-        if (abs(spilltemp.offset)>32767) and (current_settings.cputype in cpu_coldfire) then
+        if (abs(spilltemp.offset)>32767) and (current_settings.cputype in (cpu_coldfire + [cpu_mc68000])) then
           begin
             helplist:=tasmlist.create;
 
@@ -92,7 +92,7 @@ unit rgcpu;
         helplist : tasmlist;
         hreg     : tregister;
       begin
-        if (abs(spilltemp.offset)>32767) and (current_settings.cputype in cpu_coldfire) then
+        if (abs(spilltemp.offset)>32767) and (current_settings.cputype in (cpu_coldfire + [cpu_mc68000])) then
           begin
             helplist:=tasmlist.create;