2
0
Эх сурвалжийг харах

* don't check whether references are PIC-safe when targeting LLVM, that's
not taken care of at our level in that case

git-svn-id: branches/hlcgllvm@26070 -

Jonas Maebe 11 жил өмнө
parent
commit
66cbff35f6
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      compiler/aasmtai.pas

+ 2 - 0
compiler/aasmtai.pas

@@ -2558,6 +2558,7 @@ implementation
             if (ref^.segment<>NR_NO) and (ref^.segment<>NR_DS) then
               segprefix:=ref^.segment;
 {$endif}
+{$ifndef llvm}
             if (cs_create_pic in current_settings.moduleswitches) and
               assigned(r.symbol) and
               not assigned(r.relsymbol) and
@@ -2567,6 +2568,7 @@ implementation
 {$endif ARM}
               then
               internalerror(200502052);
+{$endif not llvm}
             typ:=top_ref;
             if assigned(add_reg_instruction_hook) then
               begin