From nobody Tue Jun 20 16:29:29 2023 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 4QlsXp14wkz4gJFc; Tue, 20 Jun 2023 16:29:30 +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 4QlsXn2KDFz4LGG; Tue, 20 Jun 2023 16:29:29 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278569; 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=PYuq4N4NK0SgISwtH+oB+UgEz37drR3OCVTyW86Z4Bw=; b=R1GA/qBVjTayprc9RXgtUXLZu53nwEiJyV8Pql38+5Lzkb0Sck+zrNAUF0CnXP4IOsgzYG j+cl5AkxOiPZ0Bojr9J92AFvnT/j8VEVnz9RB47P46kXlHJHNf+2uVi4amsk6qfew1pR29 9nKV9hTNU92CsbqsfB5zp4p6+HDUZiMZqjuubvm+/Ptr6P6kY6rdTpgQxdCQaZ0XLDSQG6 mmST0Nb40CbYyo1GpWO115nTn76uhYXDuIhyB2CZpY1nYMcFFwMQ66PWLPMSOZqsKp2ok8 Z/p8U6y6mEParXmFhm/Ie7HAv/PqA54WXK8JjpIzUFPaBYHOhWV3wTi0CmVGSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1687278569; 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=PYuq4N4NK0SgISwtH+oB+UgEz37drR3OCVTyW86Z4Bw=; b=OcugVERCDuvODjA+T78b+q8ASS91e1AJJxV3IM5BRf1xRp4+lesVmmaZcQP3Gb2Wm5um0g l/QCBxVYvGxlQgoLK/ryR9BB47OYjCiwXazB2ZAwRo2hPNUo2GGFkCoQimYvBJoZKNA0To C84AwDSZaDMwt6v1mKF31iBLDdcuhBum37t6Z8WXJSWJQODsyMNoj5bYaEku7kb1gpS5ax kHZwx52zYyz9euW/TRIP1GWeaKZh2O2RgQarbPCQU68cO/9BYHwOCHKKnkz9zIq3BBCmbH xfbO86KfDlyzRDA6mXtcglwyXr7iaJLsomUBOkCdOF3XIHgy6AjQhAA1f2NXjw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1687278569; a=rsa-sha256; cv=none; b=KkiZ3ykyFyfoszZwMKglXuCofGx3t5Lbh9atvTdjTTf/cOnpfECC2+Obk9zUdlg+zgBgaW UAtYNWsJ8NaGoxMs2iYHcYo5inwJ3gctnCoVIC2kxNbi2a2ZFGYKXhFs1/ljAaTmtoX/uJ 2jdsnOotb+bc2kGtCHoF5cq1H/QWcBWL+shiWGiCavMabxQZU0hIvFdb12CN2+VzRwMKXe 9hk/HoiIJBxrM7pGLULmBK87+7ojdv5B7Ist0NtQEr6O/bhu6ylMsdg4UEfn2r4eM78NQ1 5hzB1J30tkX6fWb1I5QzKDOt1xRFIsWc42QtKduQApnjCkJQWY44VOJLl9XOmQ== 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 4QlsXn1QbJz166V; Tue, 20 Jun 2023 16:29:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 35KGTTtk045281; Tue, 20 Jun 2023 16:29:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35KGTTnq045280; Tue, 20 Jun 2023 16:29:29 GMT (envelope-from git) Date: Tue, 20 Jun 2023 16:29:29 GMT Message-Id: <202306201629.35KGTTnq045280@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: John Baldwin Subject: git: 1c3424b0d2e7 - main - rtld-elf: Remove set but unused variable on 32-bit arm. 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/main X-Git-Reftype: branch X-Git-Commit: 1c3424b0d2e719f9e88cbeac3fd0abbe0886b0f0 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jhb: URL: https://cgit.FreeBSD.org/src/commit/?id=1c3424b0d2e719f9e88cbeac3fd0abbe0886b0f0 commit 1c3424b0d2e719f9e88cbeac3fd0abbe0886b0f0 Author: John Baldwin AuthorDate: 2023-06-20 16:29:00 +0000 Commit: John Baldwin CommitDate: 2023-06-20 16:29:00 +0000 rtld-elf: Remove set but unused variable on 32-bit arm. --- libexec/rtld-elf/arm/reloc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/libexec/rtld-elf/arm/reloc.c b/libexec/rtld-elf/arm/reloc.c index b85c8b1f4845..36e73b55aee1 100644 --- a/libexec/rtld-elf/arm/reloc.c +++ b/libexec/rtld-elf/arm/reloc.c @@ -91,7 +91,6 @@ _rtld_relocate_nonplt_self(Elf_Dyn *dynp, Elf_Addr relocbase) const Elf_Rel *rel = NULL, *rellim; Elf_Addr relsz = 0; Elf_Addr *where; - uint32_t size; for (; dynp->d_tag != DT_NULL; dynp++) { switch (dynp->d_tag) { @@ -104,7 +103,6 @@ _rtld_relocate_nonplt_self(Elf_Dyn *dynp, Elf_Addr relocbase) } } rellim = (const Elf_Rel *)((const char *)rel + relsz); - size = (rellim - 1)->r_offset - rel->r_offset; for (; rel < rellim; rel++) { where = (Elf_Addr *)(relocbase + rel->r_offset);