Fix build a chec failures after b05fae4d8e

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.
This commit is contained in:
Adhemerval Zanella 2021-11-09 22:55:13 -03:00
parent b05fae4d8e
commit 824dd3ec49
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,8 @@
#include <dl-sym-post.h> #include <dl-sym-post.h>
#include <_itoa.h> #include <_itoa.h>
#include <dl-minimal-malloc.h> #include <dl-minimal-malloc.h>
#include <stdio.h>
#include <unistd.h>
/* The rtld startup code calls __rtld_malloc_init_stubs after the /* The rtld startup code calls __rtld_malloc_init_stubs after the

View File

@ -35,7 +35,6 @@ ld.so: __access
ld.so: __access_noerrno ld.so: __access_noerrno
ld.so: __getpid ld.so: __getpid
ld.so: __getcwd ld.so: __getcwd
ld.so: __sbrk
ld.so: _exit ? ld.so: _exit ?
ld.so: abort ld.so: abort
ld.so: _hurd_intr_rpc_mach_msg ld.so: _hurd_intr_rpc_mach_msg