From nobody Wed Nov 20 08:16:43 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 4XtZ2g2MTdz5dR6n; Wed, 20 Nov 2024 08:16:43 +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 4XtZ2g1VhSz4VmK; Wed, 20 Nov 2024 08:16:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732090603; 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=F5Uwl0tmf6U/tIp6X523RYPYz2u85vY/sT65hjW6UV0=; b=KCmvxAGpd4uLmtjWnyeOODaZ5sBlNKIAF6ykQopOiZbS2eKHSYmiFv9P9DOrFQuHEpGpim qv89MpWbaPN38Of8jXlATyIkHvyNoF1pqZJKIRo83DiKT8ctH6njgpGyCc4vaBzi0j5WxZ HQhReFPzNN6LBtR0FK3WY3yWgWYJyYuaWbrH0CrUwKnMhqlAaYYpgBA/F/DBZo14kw6wLz FZ+D4m5/lKGtW8q3Z8ZDRECQl5xnwT1Gg98NSjHp1XIZV3sEkM+MK775M9b6qEkjy/LlKo uktSvHlr79nfE8Wdw+ZHKU5t1x33VIPlyUKT0AKaM39tqdD9xgGnPhppo+z7dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1732090603; 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=F5Uwl0tmf6U/tIp6X523RYPYz2u85vY/sT65hjW6UV0=; b=D0aiKlRM80TQWmjHKLrDQDEhyXWHU/vGlQjufkrG7NgHTF8JpYIM0g4fTfnq8vxfxGrrh6 f84eBVhMVHpyygacNIN2vy/9hTzrPpT4cIw+XWf9UEvehXW0cU1iA+1Unv4akxWuo6ahB8 U4VjmfG+O9r1j4vfg3zhjj6yLD/6TT/W4FKDp4InmvUaH6QU3+FqTbHJnv9sQhYOqow5WM bdkYMEzScB4o17t9sOBvibgFPL9tiZUr0E/7zwtbb98JMJ5/rnJnwrru5pRMJEjqSwtimv UgxN2qzQdmjt4iWt6IXyqs/lESS2aFdevFWzC5C7aVx6CCkYow8PyrKLTsRrww== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732090603; a=rsa-sha256; cv=none; b=Io4fEkf4Pr/VCN6D3/GgHcFB2G7utZeZ77TYNzPi/L4uUJFyDmFqBjM5vy03qnKRLxE8lo x4J/LfOsq+/XtyRbJa0I1CH59tcvb35ABV5SLlCpcAiuJIepGyatFyWCoNtOXZX5KM6a6x 00AjbZkGC2QGoXgH4GuEdHtw2sLQwzXr/zFh4HSulRezvM/EFcAIH1KojBTDqEh5pfLMoo 5EOUNAbuTxNujZ97+rZSppbSolnKxCD9YKqba0i9iTTeRUZfAIz25qhDwX1bzKhhfecbEw h8zblpgCJHAUUVI4R7P5JX2urHpQTwJKfxMRY68QaNO0rMnWM1NveqOVFKyi5w== 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 4XtZ2g0rCpzmfW; Wed, 20 Nov 2024 08:16:43 +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 4AK8GhZQ018283; Wed, 20 Nov 2024 08:16:43 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4AK8Gh7a018280; Wed, 20 Nov 2024 08:16:43 GMT (envelope-from git) Date: Wed, 20 Nov 2024 08:16:43 GMT Message-Id: <202411200816.4AK8Gh7a018280@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Konstantin Belousov Subject: git: 5bc24fd7a21f - main - 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/main X-Git-Reftype: branch X-Git-Commit: 5bc24fd7a21ffd98fe978b4eb09a383c09edbe37 Auto-Submitted: auto-generated The branch main has been updated by kib: URL: https://cgit.FreeBSD.org/src/commit/?id=5bc24fd7a21ffd98fe978b4eb09a383c09edbe37 commit 5bc24fd7a21ffd98fe978b4eb09a383c09edbe37 Author: Konstantin Belousov AuthorDate: 2024-11-19 06:11:11 +0000 Commit: Konstantin Belousov CommitDate: 2024-11-20 06:59:32 +0000 rtld: drop RTLD_INIT_PAGESIZES_EARLY No arch defines it after ia64 decomissioning. Discussed with: jhb Sponsored by: The FreeBSD Foundation MFC after: 1 week --- 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 9e5876e26453..c585c47ce4da 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -2397,11 +2397,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. * @@ -2436,10 +2431,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;