소스 검색

* don't write stabs with rva entries on linux

git-svn-id: trunk@5834 -
florian 18 년 전
부모
커밋
4aa5f6401e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/assemble.pas

+ 1 - 1
compiler/assemble.pas

@@ -869,7 +869,7 @@ Implementation
             oldsec:=ObjData.CurrObjSec;
             ObjData.SetSection(ObjData.StabsSec);
             ObjData.Writebytes(stab,sizeof(TObjStabEntry)-4);
-            if DLLSource and RelocSection then
+            if (target_info.system in system_windows+system_wince) and DLLSource and RelocSection then
               reltype:=RELOC_RVA
             else
               reltype:=RELOC_ABSOLUTE;