From patchwork Sun Sep 17 19:58:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 814698 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-84670-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="SHK4QfzZ"; 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 3xwKhQ6wN4z9s7m for ; Mon, 18 Sep 2017 05:58:46 +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=QPbApcePTGtcBK6etI3vd1bdmAmn2SBbm2RwDV2NyoexCrmLz4/bk VQsCoYEmVLOzVK4CQb96BSMVyZbaMscUB25qvOmbrREqmd3mBIdr7oURZN+VCkM0 M29eeHyZgSBgfAvvtQB2twJB2adRaDSBNpzokK4ootm67qMNJsEmAU= 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=rSIjbl0VRbSwOK1vi4xaaIo5urE=; b=SHK4QfzZ/swddxSzGZo1nePBnRTD NviT12oJP/pxWEeAR+FdusueqDtiADEVqrst88tEJyHL1rVhA0fsjlu0bPe/5/Ez HUhmAoRBB13WviG5f3aEj6+1yxYfDMnUyQ4LQ4uXu7yWmxdozA4MxK3VDegqBkOH ChPzylTfnouyx5M= Received: (qmail 124179 invoked by alias); 17 Sep 2017 19:58:40 -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 123280 invoked by uid 89); 17 Sep 2017 19:58:38 -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=Hx-languages-length:3560 X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] Add missing libc_hidden_weak/def calls Date: Sun, 17 Sep 2017 21:58:19 +0200 Message-Id: <20170917195819.30966-1-samuel.thibault@ens-lyon.org> * io/read.c (read): Add libc_hidden_weak. * sysdeps/mach/hurd/read.c (read): Likewise. * io/write.c (write): Likewise. * sysdeps/mach/hurd/write.c (write): Likewise. * io/pread64.c (__pread64): Likewise. * sysdeps/mach/hurd/pread64.c (__pread64): Likewise. * posix/pread64.c (__pread64): Add libc_hidden_def. --- ChangeLog | 10 ++++++++++ io/read.c | 1 + io/write.c | 1 + posix/pread64.c | 1 + sysdeps/mach/hurd/pread64.c | 1 + sysdeps/mach/hurd/read.c | 1 + sysdeps/mach/hurd/write.c | 1 + sysdeps/posix/pread64.c | 1 + 8 files changed, 17 insertions(+) diff --git a/ChangeLog b/ChangeLog index 30f425ded8..48a8b67619 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2017-09-17 Samuel Thibault + + * io/read.c (read): Add libc_hidden_weak. + * sysdeps/mach/hurd/read.c (read): Likewise. + * io/write.c (write): Likewise. + * sysdeps/mach/hurd/write.c (write): Likewise. + * io/pread64.c (__pread64): Likewise. + * sysdeps/mach/hurd/pread64.c (__pread64): Likewise. + * posix/pread64.c (__pread64): Add libc_hidden_def. + 2017-09-16 Siddhesh Poyarekar * benchtests/scripts/compare_strings.py: New option -g. diff --git a/io/read.c b/io/read.c index 2f7b6743f7..7537dd759d 100644 --- a/io/read.c +++ b/io/read.c @@ -45,3 +45,4 @@ stub_warning (read) weak_alias (__libc_read, __read) libc_hidden_weak (__read) weak_alias (__libc_read, read) +libc_hidden_weak (read) diff --git a/io/write.c b/io/write.c index cb413c76f9..931f837dfa 100644 --- a/io/write.c +++ b/io/write.c @@ -46,3 +46,4 @@ stub_warning (write) weak_alias (__libc_write, __write) libc_hidden_weak (__write) weak_alias (__libc_write, write) +libc_hidden_weak (write) diff --git a/posix/pread64.c b/posix/pread64.c index c20e75c7a8..9ff06d99bf 100644 --- a/posix/pread64.c +++ b/posix/pread64.c @@ -40,5 +40,6 @@ __libc_pread64 (int fd, void *buf, size_t nbytes, off64_t offset) return -1; } strong_alias (__libc_pread64, __pread64) +libc_hidden_def (__pread64) weak_alias (__libc_pread64, pread64) stub_warning (pread64) diff --git a/sysdeps/mach/hurd/pread64.c b/sysdeps/mach/hurd/pread64.c index c4a61c92e2..903304956c 100644 --- a/sysdeps/mach/hurd/pread64.c +++ b/sysdeps/mach/hurd/pread64.c @@ -34,5 +34,6 @@ __libc_pread64 (int fd, void *buf, size_t nbytes, off64_t offset) #ifndef __libc_pread64 weak_alias (__libc_pread64, __pread64) +libc_hidden_weak (__pread64) weak_alias (__libc_pread64, pread64) #endif diff --git a/sysdeps/mach/hurd/read.c b/sysdeps/mach/hurd/read.c index 5cef0b415f..776a7a5610 100644 --- a/sysdeps/mach/hurd/read.c +++ b/sysdeps/mach/hurd/read.c @@ -30,3 +30,4 @@ libc_hidden_def (__libc_read) weak_alias (__libc_read, __read) libc_hidden_weak (__read) weak_alias (__libc_read, read) +libc_hidden_weak (read) diff --git a/sysdeps/mach/hurd/write.c b/sysdeps/mach/hurd/write.c index bfa96735e2..32f4905df1 100644 --- a/sysdeps/mach/hurd/write.c +++ b/sysdeps/mach/hurd/write.c @@ -30,3 +30,4 @@ libc_hidden_def (__libc_write) weak_alias (__libc_write, __write) libc_hidden_weak (__write) weak_alias (__libc_write, write) +libc_hidden_weak (write) diff --git a/sysdeps/posix/pread64.c b/sysdeps/posix/pread64.c index f28ef31329..68ef9cbbcc 100644 --- a/sysdeps/posix/pread64.c +++ b/sysdeps/posix/pread64.c @@ -58,5 +58,6 @@ __libc_pread64 (int fd, void *buf, size_t nbyte, off64_t offset) #ifndef __libc_pread64 weak_alias (__libc_pread64, __pread64) +libc_hidden_weak (__pread64) weak_alias (__libc_pread64, pread64) #endif