* [hurd,commited] hurd: fix overriding rtld's __sbrk with the real implementation
@ 2017-09-03 12:21 Samuel Thibault
0 siblings, 0 replies; only message in thread
From: Samuel Thibault @ 2017-09-03 12:21 UTC (permalink / raw)
To: libc-alpha; +Cc: Samuel Thibault
* sysdeps/mach/hurd/dl-sysdep.c (__sbrk): Add weak_function
qualifier.
---
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 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;
--
2.14.1
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-09-03 12:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-03 12:21 [hurd,commited] hurd: fix overriding rtld's __sbrk with the real implementation Samuel Thibault
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).