From patchwork Thu Feb 13 11:38:24 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella X-Patchwork-Id: 1237423 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-109657-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=a5BH6/xm; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=dR/gYl3N; 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 48JDzh1HHFz9sPK for ; Thu, 13 Feb 2020 22:38:39 +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=cEIwwpXVe1j14VhkLU1r15Vb/+qG1TmpwySs8DOViLZ8MLGGHrHC6 vR5VSC8bqQu5Fz6EKQpYmmtRiqebc85LUoL+J8FmxdbCwpJhRqy7wfeMIls+t34a MugrMTGAwO0rbXqsTq85Bi/LB1K7T8EFKYtUWQRMAA7FxttLOkJvic= 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=+ldpBKHwL/9M17OfOcl97YL8PLA=; b=a5BH6/xmLGH+eWsNFBQImFVS6VI6 OeX4mEV+WiMZVVrNqduBbRrW8nnZzrtixL65NyXu5ZSo4yaMgDqx3KN+Rvbo4juL RvJo7Ba0rMv3q7V5T3rcwGFb+3BPrgbfPZZgCWFRxkksW7P/GUcjQpU2cHHM5wWc RlQzOef5yt+G5ns= Received: (qmail 84461 invoked by alias); 13 Feb 2020 11:38:33 -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 84447 invoked by uid 89); 13 Feb 2020 11:38:32 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-22.0 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-qt1-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=Xb5zVwrF3bh+dF3EnKbPe+CLF/5J7gETZTip8OI2ZDU=; b=dR/gYl3NHExRX7HnDplTfvlSzKnH/3S+z/rv0ZTnLAsdfQvah+x5v9E+ckF5vi5LiX C2PVTxilHqMBaS4wgi7iksHE49HYrNfVOIkjrl5VFoDr4XEi0UyO6F04tXfqqeWF0jQM agQ8nTwZi59hLZHzjuvt3uiiLD//jwGDzQmeYxFBD2ik/GA7yCDBsjkG8XSfJG7qnAfv 9wdlqnPVcnEyaQD/EG6JvhMoK14W1VLpnHNAQk8f7iTYREBL/fUafrvyDfYzn8mNCBmc BeJ62MNUs60nzPSEwegOdMoqN6hBFXa3M2pWkijcp09TO8x8rqrmAsnIVe9CyacOUEEQ ex0w== From: Adhemerval Zanella To: libc-alpha@sourceware.org Subject: [COMMITTED] alpha: Fix static gettimeofday symbol Date: Thu, 13 Feb 2020 08:38:24 -0300 Message-Id: <20200213113824.32309-1-adhemerval.zanella@linaro.org> By undef strong_alias on alpha implementation, the default_symbol_version macro becomes an empty macro on static build. It fixes the issue introduced at c953219420. Checked on alpha-linux-gnu with a 'make check run-built-tests=no'. --- sysdeps/unix/sysv/linux/alpha/gettimeofday.c | 7 ++----- time/gettimeofday.c | 4 +++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/sysdeps/unix/sysv/linux/alpha/gettimeofday.c b/sysdeps/unix/sysv/linux/alpha/gettimeofday.c index 7ad3c6a412..25e86410fd 100644 --- a/sysdeps/unix/sysv/linux/alpha/gettimeofday.c +++ b/sysdeps/unix/sysv/linux/alpha/gettimeofday.c @@ -18,12 +18,9 @@ /* We can use the generic implementation, but we have to override its default symbol version. */ -#undef weak_alias -#define weak_alias(a,b) -#undef strong_alias -#define strong_alias(a, b) +#define SET_VERSION #include