Преглед на файлове

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

git-svn-id: trunk@13136 -
yury преди 16 години
родител
ревизия
82ad6b4de9
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  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)}