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: 809263 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-84143-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="kJkYzn7a"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3xlXC83Mcwz9sP3 for ; Sun, 3 Sep 2017 22:21:24 +1000 (AEST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; q=dns; s= default; b=eFfnQeklQL1J9AIfN7rp7K7DbiSj0ok0WA3AgKEl518dMec8zb5p8 BaLBOQv/gi/6JGRw/tD8l9gNL7C+6qXmhhCGptrfL7lrQ5RRp7ZSbS63SrFFGCfr rK1ru2JitVsOELOkSriETTSmWvTQk9SGJeehRXHzjFZR/CWlWD6AU4= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:cc:subject:date:message-id; s=default; bh=I85P+7hfc+gB2LpLvO1HxJsGYxk=; b=kJkYzn7a1erYUzbKPW+U/WTZrYxE I8CraPxu55ZbxIWc78q6wnvNdvSqYEEi0DXm8NL/HzMaXBpBfuf9OWmfMXhDage5 vUN0FHaU/xx5OKHIhgGEypM6xk0+gsPf0vkAfE7MuQ9VDPlqUuRL/Qg5pHoLN8Lu PM2lq8GIlLGGg8c= 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;