r357895: fix typo in the relocation name for i386 IRELATIVE.
Reported by: antoine Sponsored by: The FreeBSD Foundation MFC after: 6 days
This commit is contained in:
parent
ba8dd40bb1
commit
e3741c01c6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=357910
@ -392,7 +392,7 @@ reloc_iresolve(Obj_Entry *obj, RtldLockState *lockstate)
|
|||||||
obj->irelative = false;
|
obj->irelative = false;
|
||||||
rellim = (const Elf_Rel *)((const char *)obj->pltrel + obj->pltrelsize);
|
rellim = (const Elf_Rel *)((const char *)obj->pltrel + obj->pltrelsize);
|
||||||
for (rel = obj->pltrel; rel < rellim; rel++) {
|
for (rel = obj->pltrel; rel < rellim; rel++) {
|
||||||
if (ELF_R_TYPE(rel->r_info) == R_386_RELATIVE)
|
if (ELF_R_TYPE(rel->r_info) == R_386_IRELATIVE)
|
||||||
reloc_iresolve_one(obj, rel, lockstate);
|
reloc_iresolve_one(obj, rel, lockstate);
|
||||||
}
|
}
|
||||||
return (0);
|
return (0);
|
||||||
|
Loading…
Reference in New Issue
Block a user