From patchwork Tue Dec 17 21:47:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 181925 Delivered-To: patch@linaro.org Received: by 2002:a92:3001:0:0:0:0:0 with SMTP id x1csp6351409ile; Tue, 17 Dec 2019 13:50:00 -0800 (PST) X-Google-Smtp-Source: APXvYqxnKf0tr0g/DMd4QtmJjK+69xNIvONeCvSw0EPWpFBJt7e+3ngDDpIDIEJLlr06JPNGsLeW X-Received: by 2002:a05:6830:1595:: with SMTP id i21mr4995635otr.29.1576619399990; Tue, 17 Dec 2019 13:49:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576619399; cv=none; d=google.com; s=arc-20160816; b=TG3a47aCbITjauGcr+EExcKPt0Q259nIudkGsfvfCaE7uSndq7SL9Z4HOYgIva8tBR yxM01L2gDfYIN01u+OuwjTUwmIjqLlUEyIFrTWmpzDDh5z0mfUywMMN0+NINDjCdlslh Pf+Je1yYY/v3IvKcMkMdryN9EwAxmo1jRUdyC54BbqoTbai90UWgGemZxCtEfJGUl+9c RaUMUC2PNM5Ms+McS6P4fauRKft388tznpU16lLbQDeBE443LnLTc9zYAKtCXVY3p2Xr OOILaqo5gNpb5qMcmRZENreh7236bcGsEfY1ZlMs1HMnmXEnYjfucnjP6KHAWsT2p5XS iH6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:to:from :dkim-signature:delivered-to:sender:list-help:list-post:list-archive :list-subscribe:list-unsubscribe:list-id:precedence:mailing-list :dkim-signature:domainkey-signature; bh=eJieeQ2goXii4/MXcBFYmTsVb5z8TES9VP0OgirDd0Y=; b=lo3iXFUobLpzyUNm7E1OxUqFX8slvzS0SJ6s/bmLbQn4Y7upkpk3QPoMb0/E0HMWQ9 VhbtCCdXg/FYux8m4BEfKNvudZoTiprSCas01qvIrY3LsKUiIbWSxNRqV9MWDMYb2AgL YJLm06YVJ4RJ5Ad9z/cam9Qi/4hEQKrwsCefbvJPyJRJvQHvtxrPg9hJ0fFi65tlSl+m Kv1Z9ttY+RYRAouxHlBdc4SX2oPqO7zQNfXt9bMW1bSZJ9pSvVqcSDEUrqWHZLTL/QbJ yZ8G1uKxiIznOgA3f7Q8tqTBMdlFPLCHocyf7lx4yYeiZyrMcXJf27Y6TrXHMLp2d0zT AFzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=la0nzehE; dkim=pass header.i=@linaro.org header.s=google header.b=GJ8pOPyy; spf=pass (google.com: domain of libc-alpha-return-108176-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-108176-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from sourceware.org (server1.sourceware.org. [209.132.180.131]) by mx.google.com with ESMTPS id p9si12793426otk.207.2019.12.17.13.49.59 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Dec 2019 13:49:59 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-return-108176-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) client-ip=209.132.180.131; Authentication-Results: mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=la0nzehE; dkim=pass header.i=@linaro.org header.s=google header.b=GJ8pOPyy; spf=pass (google.com: domain of libc-alpha-return-108176-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-108176-patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org 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=THRkdM6H481bsGCcfkZtwAvCX9M6+by 9xHayxo7v8ydTP6PnKuXRW/X5X+mqWzIGg9LC75OCVmmcsgQOOHXKA/HRSkeB6rx TeCV33jGJQMdZT/w3XvkL4yApvUv0cDqhBKxPkjYGcrxW+PXnbVERC9pl/NBuWIt vUebWvNtKZRQ= 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=la0nz ehE8CNBrJ267GU5L3Ok6GzWGGahZmMD/eRA0YpxclapGzVCzaluxbqd1bHB08Mk8 XDg4ynJvshtCv5XdEwM31BEA0p13cepQ45wHqltrtl1EnYWqz9+2RFOtzo+usTY2 GOkEm4o3KU1HN/tcvPLdGVHy95VGZh3ToACkrg= 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 Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 111727 invoked by uid 89); 17 Dec 2019 21:47:57 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-21.9 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=1616 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== Return-Path: 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(+) -- 2.17.1 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"