+ 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:
sergei 2012-10-25 16:24:29 +00:00
parent f142019343
commit 4f201bb826

View File

@ -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;