]> git.ipfire.org Git - thirdparty/glibc.git/commit
hurd: Initializy _dl_pagesize early in static builds
authorSergey Bugaev <bugaevc@gmail.com>
Wed, 3 Jan 2024 17:14:44 +0000 (20:14 +0300)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 4 Jan 2024 22:48:36 +0000 (23:48 +0100)
commitfbfe0b20ab82550de65827e70aa89d8ae462b34d
treec001ef2962c52040ab970f518723377785aebeb4
parent4145de65f696ae06be72fadd67967be556c31ac2
hurd: Initializy _dl_pagesize early in static builds

We fetch __vm_page_size as the very first RPC that we do, inside
__mach_init (). Propagate that to _dl_pagesize ASAP after that,
before any other initialization.

In dynamic builds, this is already done immediately after
__mach_init (), inside _dl_sysdep_start ().

Signed-off-by: Sergey Bugaev <bugaevc@gmail.com>
Message-ID: <20240103171502.1358371-12-bugaevc@gmail.com>
sysdeps/mach/hurd/init-first.c