Re: [RFC PATCH v3 5/6] hurd: Make it possible to call memcpy very early

2023-04-30 Thread Samuel Thibault
Applied, thanks! Sergey Bugaev, le sam. 29 avril 2023 23:18:21 +0300, a ecrit: > Normally, in static builds, the first code that runs is _start, in e.g. > sysdeps/x86_64/start.S, which quickly calls __libc_start_main, passing > it the argv etc. Among the first things __libc_start_main does is > in

[RFC PATCH v3 5/6] hurd: Make it possible to call memcpy very early

2023-04-29 Thread Sergey Bugaev
Normally, in static builds, the first code that runs is _start, in e.g. sysdeps/x86_64/start.S, which quickly calls __libc_start_main, passing it the argv etc. Among the first things __libc_start_main does is initializing the tunables (based on env), then CPU features, and then calls _dl_relocate_s