From patchwork Wed Jun 13 22:28:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Samuel Thibault X-Patchwork-Id: 929114 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-93218-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=ens-lyon.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="ow6GHBwF"; 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 415hHT3vJ2z9ryk for ; Thu, 14 Jun 2018 08:28:53 +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=vmySKz59qpMx6UuQ/gILoNM4m773aVNt1U44Rx68DLi0H5CNI/s0z g7eipSuZGLE6mMaTe5mYrHJ5UqLEfJXXqGRa1AW3ByYxCs4nooTxSBTwwPTBtjv3 LJHcHOJ8s4W6Kk4ns8J7O/6kPGaSfQslbzPFi6h2FthKQc24PinSc4= 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=QaFEBwj69YSgY2IL3opbbQtKrZs=; b=ow6GHBwFzQGHxCmz0VnFO/7r1DjM zeC+90WSAOmhyRmlSjUf27x3vPi8blLPZTOUc2wuanDb5LPgqBDEHtGP7dKQigah hu5P+I6PsBuvK0C86dEHUI6pZkXF9oOadHuGNDvTRFBp5Gt/IZC3kavqP4DViseG EWRaA9pnWiRChyU= Received: (qmail 51211 invoked by alias); 13 Jun 2018 22:28:47 -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 51202 invoked by uid 89); 13 Jun 2018 22:28:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-24.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS, SPF_NEUTRAL, UNSUBSCRIBE_BODY, URIBL_RED autolearn=ham version=3.3.2 spammy=46 X-HELO: hera.aquilenet.fr From: Samuel Thibault To: libc-alpha@sourceware.org Cc: Samuel Thibault Subject: [hurd,commited] hurd: Avoid PLTs for _hurd_port_locked_get/set Date: Thu, 14 Jun 2018 00:28:42 +0200 Message-Id: <20180613222842.2253-1-samuel.thibault@ens-lyon.org> * sysdeps/hurd/include/hurd/port.h: New file. --- ChangeLog | 1 + sysdeps/hurd/include/hurd/port.h | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 sysdeps/hurd/include/hurd/port.h diff --git a/ChangeLog b/ChangeLog index 61e7c1758f..7089241ffd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -4,6 +4,7 @@ test-xfail-check-abi-libmachuser): Add. * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename __libc_read and __libc_write to __read and __write. + * sysdeps/hurd/include/hurd/port.h: New file. 2018-06-13 Joseph Myers diff --git a/sysdeps/hurd/include/hurd/port.h b/sysdeps/hurd/include/hurd/port.h new file mode 100644 index 0000000000..84582f6d02 --- /dev/null +++ b/sysdeps/hurd/include/hurd/port.h @@ -0,0 +1,9 @@ +#ifndef _HURD_PORT_H +#include_next +libc_hidden_proto (_hurd_port_locked_get) +libc_hidden_proto (_hurd_port_locked_set) +#ifdef _HURD_PORT_H_HIDDEN_DEF +libc_hidden_def (_hurd_port_locked_get) +libc_hidden_def (_hurd_port_locked_set) +#endif +#endif