Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Jan 2024 22:26:25 GMT
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 8b3c539a2012 - stable/13 - kldxref: Fix MIPS Elf_Rel addend computation
Message-ID:  <202401182226.40IMQPiX090380@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=8b3c539a2012f7254c5a8bb049d4d6eb46d16c56

commit 8b3c539a2012f7254c5a8bb049d4d6eb46d16c56
Author:     Jessica Clarke <jrtc27@FreeBSD.org>
AuthorDate: 2023-12-14 20:17:19 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2024-01-18 21:30:40 +0000

    kldxref: Fix MIPS Elf_Rel addend computation
    
    Fixes:  0299afdff145 ("kldxref: Make use of libelf to be a portable cross tool")
    (cherry picked from commit ae7925cafeee1136bd1761b2ce75614ee47b0039)
---
 usr.sbin/kldxref/ef_mips.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/usr.sbin/kldxref/ef_mips.c b/usr.sbin/kldxref/ef_mips.c
index edc99a7d2505..60fd35390d7e 100644
--- a/usr.sbin/kldxref/ef_mips.c
+++ b/usr.sbin/kldxref/ef_mips.c
@@ -88,7 +88,6 @@ ef_mips_reloc(struct elf_file *ef, const void *reldata, Elf_Type reltype,
 			else
 				addend = be32dec(where);
 		}
-		addend = *where;
 	}
 
 	switch (rtype) {



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