mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-21 18:09:30 +02:00
+ Handle R_X86_64_PLTOFF64 relocation (same as R_X86_64_GOTOFF64 but requests creation of PLT entry).
git-svn-id: trunk@22846 -
This commit is contained in:
parent
f142019343
commit
4f201bb826
@ -230,6 +230,7 @@ implementation
|
||||
|
||||
case reltyp of
|
||||
R_X86_64_PLT32,
|
||||
R_X86_64_PLTOFF64,
|
||||
R_X86_64_GOTPLT64:
|
||||
begin
|
||||
objsym:=ObjReloc.symbol.exesymbol.ObjSymbol;
|
||||
@ -484,7 +485,8 @@ implementation
|
||||
address:=address+relocval;
|
||||
end;
|
||||
|
||||
R_X86_64_GOTOFF64:
|
||||
R_X86_64_GOTOFF64,
|
||||
R_X86_64_PLTOFF64:
|
||||
begin
|
||||
address:=address+relocval-gotsymbol.address;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user