From patchwork Thu Dec 12 18:16:13 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 181512 Delivered-To: patch@linaro.org Received: by 2002:ac9:44c4:0:0:0:0:0 with SMTP id t4csp1119483och; Thu, 12 Dec 2019 10:18:20 -0800 (PST) X-Google-Smtp-Source: APXvYqxJa1NzeN3kLzS5Dz3RU54FVPCeBDpFgqh/wqiSRb85ZcctPp7RybCQ+uFBU2SOysAzBzsA X-Received: by 2002:aca:1106:: with SMTP id 6mr6018046oir.75.1576174700672; Thu, 12 Dec 2019 10:18:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1576174700; cv=none; d=google.com; s=arc-20160816; b=AevQERx57zJdAzCatPrykTC43lNq4gm3kjzv6RCAboePjogTJPX/iT5iKjPkRQ/s7V neFzW3yuTMHOrbPIByB8hxcyKVe1xCy3vwbfZRKSD1YPeYuc/f5FeybjbBC5f2vhgM18 lXF7ZN0/gcuR6voSIhbnlI99SonNXAic1BPSEm7kmcX6tfogLaSr/M14tDTCgyzsI6+w Z91zXaJzRLUMiy+6kECEluyeGLBcPqYzYlaUWvfxueObagU0BdHjAk9VFVEf4KZLDzMt CemEnFDjP9d/xeSYrV1aVc3smtJTsNbCCEyRlkCgP5xygbouxNhBx109esb/1vQXZcL7 B3yw== 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=gHsAWySWk9QZaUrvpDDXt5PPnjcjkhbvV/r+xdkoKIY=; b=t5CeRZEzcoSzEkaf8pn1twT7/t/qsDIO5MvC/P6YvUOFsCXgELC1iyhOMCYaBqZTKU 6YgPGFPztP5tY57z90HzdGQv0zBAAbgHYoQVpHZGrUWxpbJ6lD2sitBLdWZ4HonakHKa 0gstEw1DZLbKsFJCfcPkKKkDGrVI4WadInMfDxZoX/K9vIfhy8PahcnURXwamcAe2ucA JQz3rte2QeuRuEuYPG6rFw9Oi3pzzAY5Gpw50S/Ws1yIyEHBoIICpMXGSVSjdVSYF4Nt iE5BNjnupzUshkB8DtGeu2nuOpJkD0/ErDE1YWlIyK4iyvChC/Gusn8A63cPvlq2tScm ZwvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=NBtPDAXh; dkim=pass header.i=@linaro.org header.s=google header.b=mFO4Ru67; spf=pass (google.com: domain of libc-alpha-return-108024-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-108024-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 v20si3529551oia.159.2019.12.12.10.18.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 12 Dec 2019 10:18:20 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-return-108024-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=NBtPDAXh; dkim=pass header.i=@linaro.org header.s=google header.b=mFO4Ru67; spf=pass (google.com: domain of libc-alpha-return-108024-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-108024-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=MtxpzaR9dIvpkLXNuLUlu8T//IOuTcT eiFCE9zS9tLdVSlRq7zWToid0heR5tzepS5xyl02hbIvqWN7LfQYPTMbKLusgf9x 7G0pkxgbQ/Cg2sFDcyRNgPwsefw0X26OeiufTHOCaLEc74/HSSNNbsX8A+uazqrJ sla+YDiYplL0= 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=ntnlSLNbqcxIBOAiJ02ObGDBIZ0=; b=NBtPD AXhfxPevkenWMUBnnXKjPVapGg+XvcOwTnfY8AwY/2fwE0xcnzYirVRDvcfhCsT9 viFr3SAGbrOAZsgkeS8aP7EgJ4+ZVPS2ecOcRkrVit3oreJwjwq9WmytB02in/Ca TnFMdW/fc3kHIBFPcVSlCXtsCoaxTq1AgXs74I= Received: (qmail 45343 invoked by alias); 12 Dec 2019 18:16:39 -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 45202 invoked by uid 89); 12 Dec 2019 18:16:38 -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= X-HELO: mail-vs1-f65.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=gHsAWySWk9QZaUrvpDDXt5PPnjcjkhbvV/r+xdkoKIY=; b=mFO4Ru67p8kaex8Q0a/uuIbeNDQDbqZ+3cbniLa+O8NDpJWjeVbzyN1Tpyeg6iQTSh Xvz8y7orelQOgRuqEzNPCVYDNpWWML9ReuYfPo2o/EwdUMyMCWrEgJajAhvoL0lLxuw8 DDXe6hbGt7PwsbGvatHpE7MsmKGCECBCcJTsP5TaloxFNfcHulsOJXIPdbEm3jjUD4gr wrnrbmtW9LKDGktGc+yia/qQz8bvZnY/JP8V92tBr9TulFh3g9pk5ldd4V4ioDFnVn3F v6AciC3/x1wjVKbyedHjT/bimAMznzURV/ww9o5Kf8IwmmjWvsPlt5/bArjomq4J8w7U ZHqQ== Return-Path: From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH 11/12] Enable vDSO clock_gettime64 for mips Date: Thu, 12 Dec 2019 15:16:13 -0300 Message-Id: <20191212181614.31782-11-adhemerval.zanella@linaro.org> In-Reply-To: <20191212181614.31782-1-adhemerval.zanella@linaro.org> References: <20191212181614.31782-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 defad8eb62..1705a64157 100644 --- a/sysdeps/unix/sysv/linux/mips/sysdep.h +++ b/sysdeps/unix/sysv/linux/mips/sysdep.h @@ -16,10 +16,15 @@ 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"