mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-17 03:39:28 +02:00
* don't write stabs with rva entries on linux
git-svn-id: trunk@5834 -
This commit is contained in:
parent
d4b4cb3096
commit
4aa5f6401e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user