aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2024-11-19 06:11:11 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2024-11-20 06:59:32 +0000
commit5bc24fd7a21ffd98fe978b4eb09a383c09edbe37 (patch)
tree70c6673bfba33e739df311bb84175e5791f629cd /libexec
parente38f9257c3fac5cb5a62f62c424a976446ae1220 (diff)
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/rtld.c7
1 files changed, 0 insertions, 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;