From 82ad6b4de9dea96e339f8617ca98243e696a160f Mon Sep 17 00:00:00 2001 From: yury Date: Wed, 13 May 2009 10:44:01 +0000 Subject: [PATCH] * Define FPC_HAS_RIP_RELATIVE to indicate that x86_64 internal assembler supports RIP relative symbol addressing. git-svn-id: trunk@13136 - --- compiler/options.pas | 3 +++ 1 file changed, 3 insertions(+) diff --git a/compiler/options.pas b/compiler/options.pas index b58d1e65e9..4528676529 100644 --- a/compiler/options.pas +++ b/compiler/options.pas @@ -2365,6 +2365,9 @@ begin {$endif} def_system_macro('FPC_HAS_UNICODESTRING'); def_system_macro('FPC_RTTI_PACKSET1'); +{$ifdef x86_64} + def_system_macro('FPC_HAS_RIP_RELATIVE'); +{$endif x86_64} { these cpus have an inline rol/ror implementaion } {$if defined(x86) or defined(arm) or defined(powerpc) or defined(powerpc64)}