From nobody Thu Jan 18 22:25:54 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 4TGHQC14BYz578FS; Thu, 18 Jan 2024 22:25:55 +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 4TGHQB6h1Kz40ml; Thu, 18 Jan 2024 22:25:54 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705616754; 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=fxCK9dbjf/Ix2zCH5z1+i4XHJ8m516bPk0SCFRed1qs=; b=eb8HDsyjwHMWENeSGTjBf3rULZETthDyMSurCJN4Dq8xFsSsrnBiAtQJABcvUk8PXov0LJ V3ETAwHkLW+kBlQ+iyW3F6Qpec7+Nz5VnZlXu4uQqtTXnr3GARtiytvUKbC9pbBJnFR2yF RkQDV9LD9r4mtYDIru75LtKp6U4JpVlcPmzNNH/gz+7WVy1uexlaQpcuZ9Y7yqexjz3EFc dn1sjULF8FoV4GHFPR9H5+VhpWu/LEe0IH8f3tRaJ/4QU1hNyu4NH2ZsjkGyvLs4VCtZvZ W35q3wyMJ+9vkyMhuRg4/thm70oaVlQ3WepgqCkju/jQb7g8MZ0AVEqWe0bwzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1705616754; 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=fxCK9dbjf/Ix2zCH5z1+i4XHJ8m516bPk0SCFRed1qs=; b=eN4w+KiZcLWv781HxhK06+pcePXyhvRMV9UD3ZZrzekSw6qUxP/FRjVfmawbvSNYGIggRW YFOjerLTklkqS1J3nHGPLvmWR0QV9T+i8QG6PaCRBYzNWo9dKfqYcCqK8dr58JAlEo3gKm JNfcP6pKr+nfbY9Q44+XKq4N02/Uw9YcIBTDV6KY/mLzxfSTpLDnuXgDpBcT8lGXQ7mKis xNJoGrs/DuAHjccG0n+zY++fdwu6rMDkSuHgDH4R+4bbg7QeHUpmqgGSzkcQ2gVVPSII6R HEJE02C1Jx0fTzmXVGROuvIhuSPwMYBBBa6gkTaMpwqWpjwV+0Sj+OK2+xQrDQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1705616754; a=rsa-sha256; cv=none; b=T79K/yMlPw2eGQ94HWgiygYBa7FFwUchCoObhhIdEe2DnbduH2V/UhcHVaijwDTyozHfq/ wNoUo6nTZsGnGeVYP6JvVUET+LHQyXTt14bW0m3vgiJTRxAGR3mRHBoxCLXzjiPrjsFq2h EcbySOgqNqBoQmofYf5Y3wnnKJrMLtGpYMMttd4f21U4LQlXRahm6qAdia5BXzMaImppCN j10Q9K/RBaCzlX96DaJuDunxOSxnV1aj2GZvyx0RTKgFyY6M0z0uF9bGBfNPYvCfoGkMmM v9zKcqS8fURRNr/mbOD6X13ji/bDVdxCzPLVKJaCoHkbCZSErNOLHMDSQXz/0w== 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 4TGHQB5kVkzPyp; Thu, 18 Jan 2024 22:25:54 +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 40IMPs2m089245; Thu, 18 Jan 2024 22:25:54 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40IMPsWH089242; Thu, 18 Jan 2024 22:25:54 GMT (envelope-from git) Date: Thu, 18 Jan 2024 22:25:54 GMT Message-Id: <202401182225.40IMPsWH089242@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: f935fd713d15 - stable/14 - 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/14 X-Git-Reftype: branch X-Git-Commit: f935fd713d15ea6a8e1572a95876e359a7531fb1 Auto-Submitted: auto-generated The branch stable/14 has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=f935fd713d15ea6a8e1572a95876e359a7531fb1 commit f935fd713d15ea6a8e1572a95876e359a7531fb1 Author: Jessica Clarke AuthorDate: 2023-12-14 20:17:19 +0000 Commit: John Baldwin CommitDate: 2024-01-18 21:30:38 +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) {