浏览代码

* 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)}