From 05908bfadd0c362c5b9a4ac71d8dc8ea69c1d002 Mon Sep 17 00:00:00 2001 From: GNU Libc Maintainers Date: Sun, 14 Jan 2018 10:24:48 +0000 Subject: [PATCH] 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 --- sysdeps/mach/hurd/dl-sysdep.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.30.2