From patchwork Thu Mar 26 08:06:37 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lukasz Majewski X-Patchwork-Id: 38615 Return-Path: X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-out.m-online.net (mail-out.m-online.net [IPv6:2001:a60:0:28:0:1:25:1]) by sourceware.org (Postfix) with ESMTPS id 190EA385E00D for ; Thu, 26 Mar 2020 08:07:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 190EA385E00D Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: sourceware.org; spf=none smtp.mailfrom=lukma@denx.de Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 48nyJ82DXhz1rv9l; Thu, 26 Mar 2020 09:07:04 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 48nyJ81YVHz1qs92; Thu, 26 Mar 2020 09:07:04 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id YJUTBUcEy4g9; Thu, 26 Mar 2020 09:07:03 +0100 (CET) X-Auth-Info: pJ4t8/hCNt2++Y/axjzIdc7SCf/rK0trFCXkeaSZcWA= Received: from localhost.localdomain (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Thu, 26 Mar 2020 09:07:03 +0100 (CET) From: Lukasz Majewski To: Joseph Myers , Adhemerval Zanella Cc: Alistair Francis , Alistair Francis , GNU C Library , Florian Weimer , Andreas Schwab , Lukasz Majewski Subject: [PATCH v2 1/5] y2038: Export __clock_gettime64 to be usable in other libraries Date: Thu, 26 Mar 2020 09:06:37 +0100 Message-Id: <20200326080641.10193-2-lukma@denx.de> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200326080641.10193-1-lukma@denx.de> References: <20200326080641.10193-1-lukma@denx.de> MIME-Version: 1.0 X-Spam-Status: No, score=-31.8 required=5.0 tests=BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, RCVD_IN_BARRACUDACENTRAL, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Mar 2020 08:07:06 -0000 In the glibc project calls to clock_gettime shall be replaced with __clock_gettime64, which is supporting 64 bit time. To allow that the __clock_gettime64 needs to be exported as a GLIBC_PRIVATE symbol. --- time/Versions | 1 + 1 file changed, 1 insertion(+) diff --git a/time/Versions b/time/Versions index 8788e192ce..df22ac7f6a 100644 --- a/time/Versions +++ b/time/Versions @@ -77,5 +77,6 @@ libc { GLIBC_PRIVATE { # same as clock_gettime; used in other libraries __clock_gettime; + __clock_gettime64; } }