hurd: fix overriding rtld's __sbrk with the real implementation

* sysdeps/mach/hurd/dl-sysdep.c (__sbrk): Add weak_function
	qualifier.
This commit is contained in:
Samuel Thibault 2017-09-03 14:19:21 +02:00
parent 2ce1f9efd6
commit 77e7ba3201

View File

@ -594,6 +594,7 @@ __getcwd (char *buf, size_t size)
/* This is used by dl-tunables.c to strdup strings. We can just make this a
mere allocation. */
void *
weak_function
__sbrk (intptr_t increment)
{
vm_address_t addr;