svn commit: r357910 - head/libexec/rtld-elf/i386

Konstantin Belousov kib at FreeBSD.org
Fri Feb 14 12:59:28 UTC 2020


Author: kib
Date: Fri Feb 14 12:59:27 2020
New Revision: 357910
URL: https://svnweb.freebsd.org/changeset/base/357910

Log:
  r357895: fix typo in the relocation name for i386 IRELATIVE.
  
  Reported by: antoine
  Sponsored by:	The FreeBSD Foundation
  MFC after:	6 days

Modified:
  head/libexec/rtld-elf/i386/reloc.c

Modified: head/libexec/rtld-elf/i386/reloc.c
==============================================================================
--- head/libexec/rtld-elf/i386/reloc.c	Fri Feb 14 11:56:50 2020	(r357909)
+++ head/libexec/rtld-elf/i386/reloc.c	Fri Feb 14 12:59:27 2020	(r357910)
@@ -392,7 +392,7 @@ reloc_iresolve(Obj_Entry *obj, RtldLockState *lockstat
 	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);


More information about the svn-src-head mailing list