git-rtld-sbrk-2
authorGNU Libc Maintainers <debian-glibc@lists.debian.org>
Sun, 14 Jan 2018 10:24:48 +0000 (10:24 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sun, 14 Jan 2018 10:24:48 +0000 (10:24 +0000)
commit 77e7ba3201365565a21b42979b8d44be9936f254
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
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

index 57a1888e7db9bede34fdcf085e958a6a0b6606f9..57cf5c0e96a6e5f40a3e57fba8e4572e8bd1f5f3 100644 (file)
@@ -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;