From patchwork Mon Feb 10 21:55:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 183264 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp4552620ile; Mon, 10 Feb 2020 13:56:13 -0800 (PST) X-Google-Smtp-Source: APXvYqwHEJZnFn5n94n4/b5xGg0VxSELOWmw0AK0v94TR3u+9OjXi40hPz5HuhdqtBpRIgRznBec X-Received: by 2002:aca:b7c5:: with SMTP id h188mr821790oif.100.1581371773433; Mon, 10 Feb 2020 13:56:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581371773; cv=none; d=google.com; s=arc-20160816; b=NObLllimDJXkAJvJqdD9urvM/F7HWRLl5lzVCcm5Rv2dWjj27q9HjxJfDDnns7Xig9 o21DshF9Bnzgw9iwdhEmxhqe1vv1yCvJ3Y70w9cgfbgMw1Ps3Y5W2ar/ijmOqsvOtffH TtmX1tps6/7EvTwrndCK+JlAZLEqR/2ZBRN31pnGU8hTukWmm8dERp03P9iKvH0O1SeQ 2JwH9/u7Oic2PMj5cKgB2/okiDNbT5eSqUYnAigf3ugjCSzrKB2dsFp3NYgdLJZXaA/5 /wsF0YSl1watTxNIDXUzGz9Hx5k5WnepOPurL+xhJTMLk/ezPfTvF+whTJSIVY1AdVuO X17A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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=oE6uCR76sdSq4cg6ciWE3Mv4ReDdci7ma8dT+8dmCus=; b=lg2779Pxt4zjud+FRhWrqLHfJmbBrKvfEbO1ory+GE4zaaiDSh9FqtHLwBXrEmqg7x Ul4U37BsyptUNgs4irF9XoRKGfBgxR6DzFj5rqu0woLjhoyIGMTGS+vSwTIOzFtE/HFn VgWvwbvxMH+KomrZQX9o+uERPdE7lT50Fp+5aX7loi1mivLnWWrxx1OeK3ln8Uq+cZsj qVTcqz7xTSNcxzMOYP1DmpUVJpmTVFEARTkwaof5+YSKLzH+DRrvZR4YGVJmpSliC+8e mtv5yUYfhnVxdHD/ZBQ9GD5jzBfWFvKQRRNA6mXg7VIelxK95tk0oV1T4F3z4In+vP2R /c6g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=NAwg4Atx; dkim=pass header.i=@linaro.org header.s=google header.b=BVx3dYQp; spf=pass (google.com: domain of libc-alpha-return-109418-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-109418-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 l5si812997otf.37.2020.02.10.13.56.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Feb 2020 13:56:13 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-return-109418-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=NAwg4Atx; dkim=pass header.i=@linaro.org header.s=google header.b=BVx3dYQp; spf=pass (google.com: domain of libc-alpha-return-109418-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-109418-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; q=dns; s= default; b=CgrttTlgPjKtG0L/vQt0/x0owHS5yUnyAYzVvGn4NnQ4hfxmBEqPC 9/XxhFyKn1Ev/uZsG9EDzL/LVzC82C3eGBn6NAPTc83py0Asa6994qEhGrednqYa esy6xuRt/433alerAyUHa4aFKZGTJuMTCcqGk6ozGapWVuLoKZTgrk= 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; s=default; bh=mjy3H4ZzEPvNfcD+iYd+39YAZxg=; b=NAwg4AtxEFQanBKj61azEndqaXGC k2e+11ArGropMJAi1NSn6gghuq4Xk8Zfb5dCcT2zYC2Qa4vJOWzppyEjO+Yu8SOZ 9o4Qdd+LkwJtpYOCw4vOWiogwvMRV/hOtHR7kaxPvH5c1U8kQVvubxYeSP2dwurE +lqmauA9hIWYoa0= Received: (qmail 100005 invoked by alias); 10 Feb 2020 21:56:04 -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 99960 invoked by uid 89); 10 Feb 2020 21:56:04 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.1 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-qk1-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; bh=oE6uCR76sdSq4cg6ciWE3Mv4ReDdci7ma8dT+8dmCus=; b=BVx3dYQpVJs7lUNJgNG5PjvWlvyV9PZVdzCDxZ7sa4Rkjes4Bm/hqnZP105csPpXjY QOj3lDhLLlkx4RIp0cg5Onj2TRyybrFAaTT7UgRUygtXlScmA2/R3W/yOD4W0EYvo6Zn 8PrJpS97aqjd+g5LJzcYzHXPIHy3Cr3mKexdunNpeMk8Wwq4Xpto9fCzocTMEe6xnJ6m amaGYvB24tSgzz+rdfeUuoKLUPpNduqWg97AJBxsw+cVplzUe9ecZOHKedw3YEd1gKyJ OOhSrog0c5RCydSS8fPSfe/d3kE/uxSTbu22/Zi1x8p8AobvulVduQgWJvgriaIAAAt9 wDRA== Return-Path: From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [PATCH] alpha: Use generic gettimeofday implementation Date: Mon, 10 Feb 2020 18:55:56 -0300 Message-Id: <20200210215556.22513-1-adhemerval.zanella@linaro.org> It makes alpha no longer reports information about a system-wide time zone and moves the version logic on the alpha implementation. Checked on a build and check-abi for alpha-linux-gnu. --- sysdeps/unix/sysv/linux/alpha/gettimeofday.c | 9 ++++++++- sysdeps/unix/sysv/linux/alpha/syscalls.list | 1 - time/gettimeofday.c | 6 ------ 3 files changed, 8 insertions(+), 8 deletions(-) -- 2.17.1 Reviewed-by: Lukasz Majewski diff --git a/sysdeps/unix/sysv/linux/alpha/gettimeofday.c b/sysdeps/unix/sysv/linux/alpha/gettimeofday.c index 6bb8dfa877..7ad3c6a412 100644 --- a/sysdeps/unix/sysv/linux/alpha/gettimeofday.c +++ b/sysdeps/unix/sysv/linux/alpha/gettimeofday.c @@ -18,5 +18,12 @@ /* We can use the generic implementation, but we have to override its default symbol version. */ -#define VERSION_gettimeofday GLIBC_2.1 +#undef weak_alias +#define weak_alias(a,b) +#undef strong_alias +#define strong_alias(a, b) #include