From patchwork Sun Sep 3 12:21:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 22593 Received: (qmail 131012 invoked by alias); 3 Sep 2017 12:21:18 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 130030 invoked by uid 89); 3 Sep 2017 12:21:17 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-26.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL autolearn=ham version=3.3.2 spammy= X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd, commited] hurd: fix overriding rtld's __sbrk with the real implementation Date: Sun, 3 Sep 2017 14:21:09 +0200 Message-Id: <20170903122109.17818-1-samuel.thibault@ens-lyon.org> * 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;