Explorar el Código

Merged revisions 1649 via svnmerge from
http://svn.freepascal.org/svn/fpc/trunk

........
r1649 | florian | 2005-11-05 00:56:06 +0100 (Sa, 05 Nov 2005) | 2 lines

* ldf*/stf* can handle only offsets with max. +/- 1020, so generate never a pc relative symbol

........

git-svn-id: branches/fixes_2_0@1650 -

florian hace 20 años
padre
commit
68be8f3dbd
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      compiler/arm/cgcpu.pas

+ 3 - 1
compiler/arm/cgcpu.pas

@@ -628,7 +628,9 @@ unit cgcpu;
            ) or
            ((op in [A_LDF,A_STF]) and
             ((ref.offset<-1020) or
-             (ref.offset>1020)
+             (ref.offset>1020) or
+             { the usual pc relative symbol handling assumes possible offsets of +/- 4095 }
+             assigned(ref.symbol)
             )
            ) then
           begin