From 19ed835f2b4759214714a86aa05f12c9f7393131 Mon Sep 17 00:00:00 2001 From: florian Date: Sat, 4 Aug 2012 17:01:57 +0000 Subject: [PATCH] * don't generate an extra indirection when loading vfp constants git-svn-id: trunk@22010 - --- compiler/arm/cgcpu.pas | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/compiler/arm/cgcpu.pas b/compiler/arm/cgcpu.pas index 717c239b46..f6238db1e5 100644 --- a/compiler/arm/cgcpu.pas +++ b/compiler/arm/cgcpu.pas @@ -933,9 +933,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) + ((abs(ref.offset) mod 4)<>0) ) ) then begin