From nobody Wed Nov 27 11:32:30 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 4Xyy3L579Hz5f3YQ; Wed, 27 Nov 2024 11:32: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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Xyy3L2PYRz49W3; Wed, 27 Nov 2024 11:32:30 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732707150; 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=/sESmRcp8JVNHpXWu2FKFdwPcYb9qTWk9G60GpQ2U28=; b=KWKy/GYvNdKAOBYBcbboEF4QsTOLK5aro8qpt7p9y8k27dOpAeM3YYw3IT41+j3T4Ai53i r1aCIF7dnhLjQwaoCp3HjJN93MphxUuTpw8KAdT2Q0qGvwgJ6cbt7H/5iw0cyxFjGspI+M lG1P2CruT0VOXrfFS3Ux6QJ8/S0mzJn2WiLXy6sziRzY5Tl1EiXsKUhFgb12bOBXmn38xt I3RYeoQctXkqcAF95ft28fSXTF/rzG9BvCZ4HgLDisDzezE9P8V8hGqUNTEY9p0cfqTI8e 4NCpbwQINkjaKPhcqNTWIt/BTZ3n16z3McjMNrQ30A79svI1BTgcWaaT3jPyhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732707150; 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=/sESmRcp8JVNHpXWu2FKFdwPcYb9qTWk9G60GpQ2U28=; b=waAEWoSltLTdQc8kSP68H4YMmNGuXtwCv1qGLeH2hOmMC+/fZIZFgomuU88Ivn97JU9nbg gAyrL3Pa1B2VQvRHwK9NZcGJt1x2a7GNx/cobn+UmDgUYCZ3zs7fWdGJlBHt4GTCcdwMdS /LtDkUCErWDDg0AgCRyVLvwi82hWeMsbSNgWHUxLt6+KEzWE216vVyFKHzpOux+ztp/rkW EEEvAXEopGTWLdopC8vuNf/sQOj0p4T6J3YAjkbJ/ue/wJgW5b+4BskbQykWHK2CY+0JEK wCdq62AtRP87l/OCHhwUunsn97HzmSO2L+Ap4z3DXuOvge605b7FR734xolGvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732707150; a=rsa-sha256; cv=none; b=VtHQgPcjLq1Nge9Max6496tn2pNlSnyDtQliKQAstDGRJe0igf/6aF+LIP73S+X60uooFC /LbW106CdEj5CLMf8vw8cxylPSiBFzvhjaMquQCSpqQwi+sEsMLQtR5+dmiKxPTabgN99L 9WQR2f7N+NNkOfYMGRpQbTi7IQZhyKiN6rk3cxelxVpxrWhzHK+P7h1PkGt8SNEmoTDJrO aXqSfD0UGiWe/Reeztg5jzNhoxdaKvJprCKsOXR5novJvNYxl0/FQWUAAE8420Z/psM53+ ar7RpJReMT+0sypMwBVUjrQ0rCCk/L+WC+pQ+36RLl/to/9QjYk3R7autMTwxQ== 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 4Xyy3L21h7z174y; Wed, 27 Nov 2024 11:32:30 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4ARBWUE0014449; Wed, 27 Nov 2024 11:32:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4ARBWUlF014446; Wed, 27 Nov 2024 11:32:30 GMT (envelope-from git) Date: Wed, 27 Nov 2024 11:32:30 GMT Message-Id: <202411271132.4ARBWUlF014446@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Konstantin Belousov Subject: git: 73cc71607d37 - stable/14 - rtld: drop RTLD_INIT_PAGESIZES_EARLY 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: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: kib X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 73cc71607d37b6038d52f945cd438cd749f316f1 Auto-Submitted: auto-generated The branch stable/14 has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=73cc71607d37b6038d52f945cd438cd749f316f1 commit 73cc71607d37b6038d52f945cd438cd749f316f1 Author: Konstantin Belousov AuthorDate: 2024-11-19 06:11:11 +0000 Commit: Konstantin Belousov CommitDate: 2024-11-27 11:31:55 +0000 rtld: drop RTLD_INIT_PAGESIZES_EARLY (cherry picked from commit 5bc24fd7a21ffd98fe978b4eb09a383c09edbe37) --- libexec/rtld-elf/rtld.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index e1813217a854..c0d0be1d6cda 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -2404,11 +2404,6 @@ init_rtld(caddr_t mapbase, Elf_Auxinfo **aux_info) const Elf_Dyn *dyn_soname; const Elf_Dyn *dyn_runpath; -#ifdef RTLD_INIT_PAGESIZES_EARLY - /* The page size is required by the dynamic memory allocator. */ - init_pagesizes(aux_info); -#endif - /* * Conjure up an Obj_Entry structure for the dynamic linker. * @@ -2443,10 +2438,8 @@ init_rtld(caddr_t mapbase, Elf_Auxinfo **aux_info) /* Now that non-local variables can be accesses, copy out obj_rtld. */ memcpy(&obj_rtld, &objtmp, sizeof(obj_rtld)); -#ifndef RTLD_INIT_PAGESIZES_EARLY /* The page size is required by the dynamic memory allocator. */ init_pagesizes(aux_info); -#endif if (aux_info[AT_OSRELDATE] != NULL) osreldate = aux_info[AT_OSRELDATE]->a_un.a_val;