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

* don't write stabs with rva entries on linux

git-svn-id: trunk@5834 -
florian 18 жил өмнө
parent
commit
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;