* offset used by A_LDF,A_STF,A_FLDS,A_FLDD,A_FSTS,A_FSTD must be dividable by 4

git-svn-id: trunk@19270 -
This commit is contained in:
florian 2011-09-28 19:01:09 +00:00
parent a6d01c09aa
commit ce61891ca3

View File

@ -936,6 +936,7 @@ unit cgcpu;
((op in [A_LDF,A_STF,A_FLDS,A_FLDD,A_FSTS,A_FSTD]) and
((ref.offset<-1020) or
(ref.offset>1020) or
((abs(ref.offset) mod 4)<>0) or
{ the usual pc relative symbol handling assumes possible offsets of +/- 4095 }
assigned(ref.symbol)
)