diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2017-09-03 14:19:21 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2017-09-03 14:19:21 +0200 |
commit | 77e7ba3201365565a21b42979b8d44be9936f254 (patch) | |
tree | 4c1a32b49e5702a5d292d63d257674acf6399f99 /sysdeps/mach | |
parent | 2ce1f9efd686b5257950977db561ce5a221fee38 (diff) | |
download | glibc-77e7ba3201365565a21b42979b8d44be9936f254.tar.gz |
hurd: fix overriding rtld's __sbrk with the real implementation
* sysdeps/mach/hurd/dl-sysdep.c (__sbrk): Add weak_function
qualifier.
Diffstat (limited to 'sysdeps/mach')
-rw-r--r-- | sysdeps/mach/hurd/dl-sysdep.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/mach/hurd/dl-sysdep.c b/sysdeps/mach/hurd/dl-sysdep.c index dec00f35f0..fd2f3d52cb 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; |