[COMMITTED] Fix build a chec failures after b05fae4d8e34
Adhemerval Zanella
adhemerval.zanella@linaro.org
Wed Nov 10 02:24:25 GMT 2021
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 | 2 ++
sysdeps/mach/hurd/i386/localplt.data | 1 -
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/elf/dl-minimal.c b/elf/dl-minimal.c
index 152192d451..04ac1557e8 100644
--- a/elf/dl-minimal.c
+++ b/elf/dl-minimal.c
@@ -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
diff --git a/sysdeps/mach/hurd/i386/localplt.data b/sysdeps/mach/hurd/i386/localplt.data
index 47fbe1e2a7..fdff008abd 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
--
2.32.0
More information about the Libc-alpha
mailing list