Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2020 12:59:27 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r357910 - head/libexec/rtld-elf/i386
Message-ID:  <202002141259.01ECxRbd088927@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002141259.01ECxRbd088927>