]> sourceware.org Git - glibc.git/commitdiff
hurd: fix overriding rtld's __sbrk with the real implementation
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 3 Sep 2017 12:19:21 +0000 (14:19 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 3 Sep 2017 12:19:21 +0000 (14:19 +0200)
* sysdeps/mach/hurd/dl-sysdep.c (__sbrk): Add weak_function
qualifier.

sysdeps/mach/hurd/dl-sysdep.c

index dec00f35f08f90fa9e3ae76449a045e061d66de9..fd2f3d52cb1958883327c76c38741744a2e02b2a 100644 (file)
@@ -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;
This page took 0.046257 seconds and 5 git commands to generate.