소스 검색

* fixed addr_pic check (symbol-relsymbol is also always
position-independent)

git-svn-id: trunk@9352 -

Jonas Maebe 18 년 전
부모
커밋
5a7809394e
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      compiler/aasmtai.pas

+ 1 - 0
compiler/aasmtai.pas

@@ -1926,6 +1926,7 @@ implementation
 {$endif}
             if (cs_create_pic in current_settings.moduleswitches) and
               assigned(r.symbol) and
+              not assigned(r.relsymbol) and
               (r.refaddr=addr_no) then
               internalerror(200502052);
             typ:=top_ref;