Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2024 11:32:30 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 73cc71607d37 - stable/14 - rtld: drop RTLD_INIT_PAGESIZES_EARLY
Message-ID:  <202411271132.4ARBWUlF014446@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/14 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=73cc71607d37b6038d52f945cd438cd749f316f1

commit 73cc71607d37b6038d52f945cd438cd749f316f1
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2024-11-19 06:11:11 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202411271132.4ARBWUlF014446>