]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix build a chec failures after b05fae4d8e34
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 10 Nov 2021 01:55:13 +0000 (22:55 -0300)
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>
Wed, 10 Nov 2021 02:21:22 +0000 (23:21 -0300)
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.

elf/dl-minimal.c
sysdeps/mach/hurd/i386/localplt.data

index 152192d451d518bed6cabddd43e7f2f33e54fe87..04ac1557e86c461c0f84e0dbdf69ebba549f4db3 100644 (file)
@@ -23,6 +23,8 @@
 #include <dl-sym-post.h>
 #include <_itoa.h>
 #include <dl-minimal-malloc.h>
+#include <stdio.h>
+#include <unistd.h>
 
 
 /* The rtld startup code calls __rtld_malloc_init_stubs after the
index 47fbe1e2a7f782c16f23df5b98c43ced6dfceba3..fdff008abd7528d5f873c0616b2d849923fd4ff1 100644 (file)
@@ -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