From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62829 invoked by alias); 2 Jan 2020 13:14:29 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Received: (qmail 62821 invoked by uid 89); 2 Jan 2020 13:14:28 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.5 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 autolearn=ham version=3.3.1 spammy= X-HELO: egyptian.birch.relay.mailchannels.net X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-Sender-Id: dreamhost|x-authsender|siddhesh@gotplt.org X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|siddhesh@gotplt.org X-MailChannels-Auth-Id: dreamhost X-Spill-Imminent: 704ac90a65dd694a_1577970865084_3492908942 X-MC-Loop-Signature: 1577970865084:4230974886 X-MC-Ingress-Time: 1577970865084 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gotplt.org; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type:content-transfer-encoding; s=gotplt.org; bh=5lbxVS DAR0cU2B7fBEXj3rQvjvc=; b=FDJICyzOqMt36dHBR8BwtzPRpiHr8sIBnJREFP iRWVoip6Tp7hTi9fCsrCx38GTz3Gl4LTidnLoXXWTF+KoeqqAAEb0KyChz7oFvDB UBvY7x/pZF6e+qlO+GOXejss27lRRmEpvQnpQR305gWSHz4w6GWeMxe+7ETr2Kh+ 7hUDM= Subject: Re: [PATCH 14/16] linux: Enable vDSO clock_gettime64 for mips To: Adhemerval Zanella , libc-alpha@sourceware.org References: <20191217214728.2886-1-adhemerval.zanella@linaro.org> <20191217214728.2886-14-adhemerval.zanella@linaro.org> X-DH-BACKEND: pdx1-sub0-mail-a59 From: Siddhesh Poyarekar Message-ID: Date: Thu, 02 Jan 2020 13:14:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: <20191217214728.2886-14-adhemerval.zanella@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrvdeguddghedtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhepuffvfhfhkffffgggjggtgfesthejredttdefjeenucfhrhhomhepufhiugguhhgvshhhucfrohihrghrvghkrghruceoshhiugguhhgvshhhsehgohhtphhlthdrohhrgheqnecuffhomhgrihhnpehgnhhurdhorhhgnecukfhppeduvdefrddvhedvrddvtddvrddujedvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopegludelvddrudeikedruddrleejngdpihhnvghtpeduvdefrddvhedvrddvtddvrddujedvpdhrvghtuhhrnhdqphgrthhhpefuihguughhvghshhcurfhohigrrhgvkhgrrhcuoehsihguughhvghshhesghhothhplhhtrdhorhhgqedpmhgrihhlfhhrohhmpehsihguughhvghshhesghhothhplhhtrdhorhhgpdhnrhgtphhtthhopegrughhvghmvghrvhgrlhdriigrnhgvlhhlrgeslhhinhgrrhhordhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-SW-Source: 2020-01/txt/msg00029.txt.bz2 On 18/12/19 3:17 am, Adhemerval Zanella wrote: > 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 > + Do you need this at all? It seems to me that the compiler sets _MIPS_SIM. > #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" > >