mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +00:00
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
This commit is contained in:
parent
e38f9257c3
commit
5bc24fd7a2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user