mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 23:38:06 +02:00
+ fix for writing absolute relocations in the .rel format
git-svn-id: trunk@45288 -
This commit is contained in:
parent
bface9fd94
commit
4aba225c8b
@ -313,6 +313,7 @@ implementation
|
||||
else
|
||||
begin
|
||||
objreloc:=TRelRelocation.CreateSection(CurrObjSec.Size,p.objsection,Reloctype);
|
||||
inc(data,symaddr);
|
||||
if Reloctype in [RELOC_ABSOLUTE_HI8,RELOC_ABSOLUTE_LO8] then
|
||||
objreloc.HiByte:=Byte(Data shr 8);
|
||||
CurrObjSec.ObjRelocations.Add(objreloc);
|
||||
|
Loading…
Reference in New Issue
Block a user