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: 1236026 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-109418-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.a=rsa-sha1 header.s=default header.b=MkQaSIPK; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=BVx3dYQp; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 48GfqZ5RS2z9sPF for ; Tue, 11 Feb 2020 08:56:10 +1100 (AEDT) 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=SLGQkUrtBAVGcshNIwNp/ccYWHKeNtUEOMkaugNJzJxczz6F75FKd BmARqJ3WEYHoVcvLHDn//+JPBpx3y8so4evTJ35LDAQl9haHAMlmOODTND5GZLHQ Aeqorl6OGsgQAh6tHhH6E/6CiXT1+/wzcRviBSlLIiND7EfgIBisaM= 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=MkQaSIPKd7nmZwGWetytMb3aN5mG hhaoYsjDo4gaYoWDhE4oHo/b4LXbYbnK/izYz8XXc/d8IzAVnVLYmnTtdkfvbRIB 4UEYaPS3T4t61ONVWJE2xdZ3s0wDhQYAMp+r0u1imnSbkpOq+jp64FkHAqJXwn+u Dtl9iKbihHk0I34= 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== 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