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 Netto X-Patchwork-Id: 37885 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. Reviewed-by: Lukasz Majewski --- 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(-) 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