From e3741c01c624cd55762a023f977388a7db3df05b Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Fri, 14 Feb 2020 12:59:27 +0000 Subject: [PATCH] r357895: fix typo in the relocation name for i386 IRELATIVE. Reported by: antoine Sponsored by: The FreeBSD Foundation MFC after: 6 days --- libexec/rtld-elf/i386/reloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libexec/rtld-elf/i386/reloc.c b/libexec/rtld-elf/i386/reloc.c index 7f2dd0c69ef1..be4f18197cd8 100644 --- a/libexec/rtld-elf/i386/reloc.c +++ b/libexec/rtld-elf/i386/reloc.c @@ -392,7 +392,7 @@ reloc_iresolve(Obj_Entry *obj, RtldLockState *lockstate) obj->irelative = false; rellim = (const Elf_Rel *)((const char *)obj->pltrel + obj->pltrelsize); 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); } return (0);