From: Adhemerval Zanella Date: Wed, 10 Nov 2021 01:55:13 +0000 (-0300) Subject: Fix build a chec failures after b05fae4d8e34 X-Git-Tag: glibc-2.35~341 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=824dd3ec4922fbb9a34c62f4829e7817cc60e29a;p=thirdparty%2Fglibc.git Fix build a chec failures after b05fae4d8e34 The include cleanup on dl-minimal.c removed too much for some targets. Also for Hurd, __sbrk is removed from localplt.data now that tunables allocated memory through mmap. Checked with a build for all affected architectures. --- diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c index 152192d451d..04ac1557e86 100644 --- a/elf/dl-minimal.c +++ b/elf/dl-minimal.c @@ -23,6 +23,8 @@ #include #include <_itoa.h> #include +#include +#include /* The rtld startup code calls __rtld_malloc_init_stubs after the diff --git a/sysdeps/mach/hurd/i386/localplt.data b/sysdeps/mach/hurd/i386/localplt.data index 47fbe1e2a7f..fdff008abd7 100644 --- a/sysdeps/mach/hurd/i386/localplt.data +++ b/sysdeps/mach/hurd/i386/localplt.data @@ -35,7 +35,6 @@ ld.so: __access ld.so: __access_noerrno ld.so: __getpid ld.so: __getcwd -ld.so: __sbrk ld.so: _exit ? ld.so: abort ld.so: _hurd_intr_rpc_mach_msg