From: GNU Libc Maintainers Date: Fri, 5 Jan 2018 18:09:39 +0000 (+0000) Subject: git-rtld-sbrk-2 X-Git-Tag: archive/raspbian/2.26-2+rpi1^2~81 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c370f855e22a6544be9d2dab6f561dbf03066270;p=glibc.git git-rtld-sbrk-2 commit 77e7ba3201365565a21b42979b8d44be9936f254 Author: Samuel Thibault Date: Sun Sep 3 14:19:21 2017 +0200 hurd: fix overriding rtld's __sbrk with the real implementation * sysdeps/mach/hurd/dl-sysdep.c (__sbrk): Add weak_function qualifier. Gbp-Pq: Topic hurd-i386 Gbp-Pq: Name git-rtld-sbrk-2.diff --- diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index 57a1888e7..57cf5c0e9 100644 --- a/sysdeps/mach/hurd/dl-sysdep.c +++ b/sysdeps/mach/hurd/dl-sysdep.c @@ -593,6 +593,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;