mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-09 16:43:25 +01:00
* 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:
parent
a6d01c09aa
commit
ce61891ca3
@ -936,6 +936,7 @@ unit cgcpu;
|
|||||||
((op in [A_LDF,A_STF,A_FLDS,A_FLDD,A_FSTS,A_FSTD]) and
|
((op in [A_LDF,A_STF,A_FLDS,A_FLDD,A_FSTS,A_FSTD]) and
|
||||||
((ref.offset<-1020) or
|
((ref.offset<-1020) or
|
||||||
(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 }
|
{ the usual pc relative symbol handling assumes possible offsets of +/- 4095 }
|
||||||
assigned(ref.symbol)
|
assigned(ref.symbol)
|
||||||
)
|
)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user