From nobody Thu Jan 18 22:26:25 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TGHQp2M9Lz578RN; Thu, 18 Jan 2024 22:26:26 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4TGHQp0CTHz41wG; Thu, 18 Jan 2024 22:26:26 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705616786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zj3Zv95HoEwC801Syz+vQd6RPb7zeWeF9tNsYxr9cog=; b=LAt+EmPVBO4vxTLVAw6MfpCaRMKSXBKPtwhaHLxoyEtx3mn+6AiHB9T+2EPM3u/vqwiFQd rp0tC9xxoIZgInAVha2eQbcCvxKvOgvAud/F/0nhpAME1WvPCulo5h6H1UTiNC7XyK8bR6 zc1uQ3mTXcpuF94f1bV1vshM4dV4vKHdN8Z4ORjeVBV9ZUEuKORU/I611cs6tj98N/1EqQ YQjT9o16MGmVM0LEwFjsIS6U4ivn7qW/ZWRxDuDbIwjKFrptbzPAggo49cN8q+ZZ/GyZ0f sgbZssF2rxPneaCkMH85OZ2zdM30Rqc/lz12SPny4ar9m1ywOifcI8H0xuT5lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705616786; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=zj3Zv95HoEwC801Syz+vQd6RPb7zeWeF9tNsYxr9cog=; b=sxwIRUgsmfmSO04Eabp45Xj1NnQ7Lt7hwqDWi3uxaLOtmE9dNX6LN7MqyyfYbdweY+Rwan UfA6sWx5uo1f0QzHXU+do5kb0h5glk4OJiomn7M3mbqGmcCbtUnHXKzaceT/Dq2KI/N8jP q1A+w3d5ZE1q7NLGO8bejhxnLOZFOwvQlrSWfF9/UPfxWFLji3w+/FQ+tIujg8AbFktFYf eomAR+YUDygNZqjNGMCBv3Yj1GPc+KJn5q528uDK89Rt07hz1tt18u5tSqEKH9w+DEboJQ /g77kiRq0G17Y3t/K39RNK/uFmfc0oKudMqsnFLUrw7v4NZdn5uoKSjHmXqo7g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705616786; a=rsa-sha256; cv=none; b=xunxUD9xCgrnmJa6Ph20l5HgigUq0XhLotW0iEL8ygzmY6nsjeuP2PXjkxzypBRD1V5acp zu2DXyHE07LpTmBXH0A5NwyqUTbL87F+fc+DWHmc4G0l/qeTsT8tTN9PZc7MnRnoQ4vZyf nTiPTXiCsFTLR5ZE9p7qBm1x6vzm+Npvblo2ZNwy8q+sVtgLWtJnWOht//wOi/dijA3j/3 tUk7Zvom7kfyEyFXpAekfRN1gPK2z0T0LhxXCw/VqkDJ7Z6yQsE1JSWWZByEthv3AZwrhB wnQW9NNMV5bbriYOeRstk4sQAXVCu7I01+3K85nf187jHz/ae+vyrH+K9LYU5Q== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4TGHQn6RXFzQ4Z; Thu, 18 Jan 2024 22:26:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40IMQPqD090383; Thu, 18 Jan 2024 22:26:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40IMQPiX090380; Thu, 18 Jan 2024 22:26:25 GMT (envelope-from git) Date: Thu, 18 Jan 2024 22:26:25 GMT Message-Id: <202401182226.40IMQPiX090380@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: John Baldwin Subject: git: 8b3c539a2012 - stable/13 - kldxref: Fix MIPS Elf_Rel addend computation List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jhb X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 8b3c539a2012f7254c5a8bb049d4d6eb46d16c56 Auto-Submitted: auto-generated The branch stable/13 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=8b3c539a2012f7254c5a8bb049d4d6eb46d16c56 commit 8b3c539a2012f7254c5a8bb049d4d6eb46d16c56 Author: Jessica Clarke AuthorDate: 2023-12-14 20:17:19 +0000 Commit: John Baldwin 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) {