mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 02:45:58 +02:00
* fixed emitting of RELOC_SEG and RELOC_SEGREL relocations within the same
section in the omf internal obj writer git-svn-id: trunk@30809 -
This commit is contained in:
parent
328a4fa19a
commit
ced1368221
@ -484,7 +484,8 @@ implementation
|
|||||||
begin
|
begin
|
||||||
objreloc:=TOmfRelocation.CreateSection(CurrObjSec.Size,p.objsection,Reloctype);
|
objreloc:=TOmfRelocation.CreateSection(CurrObjSec.Size,p.objsection,Reloctype);
|
||||||
CurrObjSec.ObjRelocations.Add(objreloc);
|
CurrObjSec.ObjRelocations.Add(objreloc);
|
||||||
inc(data,symaddr);
|
if not (Reloctype in [RELOC_SEG,RELOC_SEGREL]) then
|
||||||
|
inc(data,symaddr);
|
||||||
end;
|
end;
|
||||||
end
|
end
|
||||||
else if Reloctype in [RELOC_DGROUP,RELOC_DGROUPREL] then
|
else if Reloctype in [RELOC_DGROUP,RELOC_DGROUPREL] then
|
||||||
|
Loading…
Reference in New Issue
Block a user