소스 검색

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