Jelajahi Sumber

* Define FPC_HAS_RIP_RELATIVE to indicate that x86_64 internal assembler supports RIP relative symbol addressing.

git-svn-id: trunk@13136 -
yury 16 tahun lalu
induk
melakukan
82ad6b4de9
1 mengubah file dengan 3 tambahan dan 0 penghapusan
  1. 3 0
      compiler/options.pas

+ 3 - 0
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)}