From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS31976 209.132.180.0/23 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 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 dcvr.yhbt.net (Postfix) with ESMTPS id 8F9CE1F463 for ; Tue, 17 Dec 2019 21:49:52 +0000 (UTC) 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:subject:date:message-id:in-reply-to :references; q=dns; s=default; b=vPtGjwZLumTn60FDgD9mm5x6x4WBbHy CrE0XB1Jg4P59zYUOcYa8ueTJn5xutsmkooovYYsPvsKtTsulGfBpyTKLxhaPqEa GtTSvjvB8g4CclfidtUedpHTDrY6YThZY65LoEjfivnpfEsbuOvj+v6SeO13Tcw/ m7dtKzV8qY0g= 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:subject:date:message-id:in-reply-to :references; s=default; bh=/JVhOnXGx3/DBUIbtXoGP8hFhYw=; b=wRsjc SJTnwE86ENHwjj8GBWUgU19cQTQ3NS49ATorw4BGNTUyZWWDds7EUS+f3F3kduCK 0RSRdNhE+e/kAQMwVl/67yzrqiViONdXo+vvd7QI2YrElMtdRgjYJA2xBE4+hCqs qoshOKwTew1kqQG7ve8EvaXWUJxKuXnbI/Loc0= Received: (qmail 111806 invoked by alias); 17 Dec 2019 21:47:57 -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 Received: (qmail 111727 invoked by uid 89); 17 Dec 2019 21:47:57 -0000 Authentication-Results: sourceware.org; auth=none X-HELO: mail-pf1-f193.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:subject:date:message-id:in-reply-to:references; bh=eJieeQ2goXii4/MXcBFYmTsVb5z8TES9VP0OgirDd0Y=; b=GJ8pOPyy9ur5R/HhTVF1AqfeAcOVcAQchvAYAMsu90MSIguxbrVa2+qc8xnB/2v4Vj vsvJ95A1s9AafViDp7Bsp64zvdVb132cOzB3RebPmiFng6eY9+Iz/uFIDK7NoqEHVglu FbTo68Mmxu3H3mL8rF1NLcUb23EEmpZusIKoBUYfWZ0wzSmPXECI4w5sMsx+r+zNce1v +k9/uShtB6geXZaPVDCFyeKyzb34PdVKbQ8t4swtq0zEbQgvBnPSmaWILHR3CRoYrSmX ac0JQHO1ZAnGcaMB/iydk/VrEtbwYdEO/wQM0KvcQW2+dKKzbSRMIhFuADdnsJU4AKyH 57yA== From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 14/16] linux: Enable vDSO clock_gettime64 for mips Date: Tue, 17 Dec 2019 18:47:26 -0300 Message-Id: <20191217214728.2886-14-adhemerval.zanella@linaro.org> In-Reply-To: <20191217214728.2886-1-adhemerval.zanella@linaro.org> References: <20191217214728.2886-1-adhemerval.zanella@linaro.org> It was added on Linux 5.4 (commit 1f66c45db3302). --- sysdeps/unix/sysv/linux/mips/sysdep.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sysdeps/unix/sysv/linux/mips/sysdep.h b/sysdeps/unix/sysv/linux/mips/sysdep.h index c2bec03806..67a2f74df2 100644 --- a/sysdeps/unix/sysv/linux/mips/sysdep.h +++ b/sysdeps/unix/sysv/linux/mips/sysdep.h @@ -16,11 +16,16 @@ License along with the GNU C Library. If not, see . */ +#include + #define VDSO_NAME "LINUX_2.6" #define VDSO_HASH 61765110 /* List of system calls which are supported as vsyscalls. */ #define HAVE_CLOCK_GETTIME_VSYSCALL "__vdso_clock_gettime" +#if _MIPS_SIM != _ABI64 +#define HAVE_CLOCK_GETTIME64_VSYSCALL "__vdso_clock_gettime64" +#endif #define HAVE_GETTIMEOFDAY_VSYSCALL "__vdso_gettimeofday" #define HAVE_CLOCK_GETRES_VSYSCALL "__vdso_clock_getres" -- 2.17.1