From: Samuel Thibault Date: Sun, 3 Sep 2017 12:19:21 +0000 (+0200) Subject: hurd: fix overriding rtld's __sbrk with the real implementation X-Git-Tag: glibc-2.27~974 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77e7ba3201365565a21b42979b8d44be9936f254;p=thirdparty%2Fglibc.git hurd: fix overriding rtld's __sbrk with the real implementation * sysdeps/mach/hurd/dl-sysdep.c (__sbrk): Add weak_function qualifier. --- diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index dec00f35f08..fd2f3d52cb1 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -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;