hurd: Fix build after __pread64 usage in the dynamic loader
authorFlorian Weimer <fweimer@redhat.com>
Thu, 24 Oct 2019 13:51:29 +0000 (15:51 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Thu, 24 Oct 2019 13:51:29 +0000 (15:51 +0200)
commit3007ad2140256e83918ce531435385fa003e9fce
treede432a9537de959a8079e90b92d6f28147ab91f9
parentc82005921ed25cf22959d952c2aded4752f67d99
hurd: Fix build after __pread64 usage in the dynamic loader

Commit 95c1056962a3f2297c94ce47f0eaf0c5b6563231 ("elf: Use nocancel
pread64() instead of lseek()+read()") added calls to __pread64 to
the dynamic loader.  On Hurd, this needs an implementation in the
dynamic loader because the rtld-pread64 rebuild pulls in too many
symbols.

Fixes: 95c1056962a3f2297c94ce47f0eaf0c5b6563231
Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
sysdeps/mach/hurd/dl-sysdep.c