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 Netto X-Patchwork-Id: 183343 Delivered-To: patch@linaro.org Received: by 2002:a92:1f12:0:0:0:0:0 with SMTP id i18csp425085ile; Thu, 13 Feb 2020 03:38:41 -0800 (PST) X-Google-Smtp-Source: APXvYqw0ywYucOzT0bjgcO1/Ad/bPgu1pesAgfu7M0q+QvAdMSJyfItjK6D1Rtq7BtEdDO2UwnE/ X-Received: by 2002:a9d:7842:: with SMTP id c2mr6878316otm.252.1581593921618; Thu, 13 Feb 2020 03:38:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1581593921; cv=none; d=google.com; s=arc-20160816; b=zsF2IEx/AMDv8caouxlSjCypy8nt8vVyslt+Id92ZDPA2BhZOwlrtb36U+aQz3KQzo qtSL2D7DhCDaS2dtRmfSTgXGXXI6CNy0r6kb2Y7yQWnKOPOwAS3uoTzMnO4kFG9ij6Ci g1zVCHUcslawopDMLjz79KMFuHGX9tjiG76D+BxhMTkRX9l3uhi6FYKnBzgRVc6FNH3k Qv8p5bpyZfGpGUHs/bdSUyRxneFimzWiGtbEs8VeX6NGExe4MqlsHkhCu7YgOruLA/oI xi8iyi8wgs6/bgVDWP+EHJu3fklSx6V6IJQWNyrBqtJJi/xKVaXcboz0Ejnc14SYs58t vtKA== 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=Xb5zVwrF3bh+dF3EnKbPe+CLF/5J7gETZTip8OI2ZDU=; b=RZ242uZ9O5OT5QV7Tdo+v/8lkZVRJ9zpJWBYAmv0Lc9mh+euKPmd1EeAzcmhZU/EsW Mucq7eCnogfBoRJc+O7exdro22rmcg614DJwjVKe6iVyoOLKFdIKCmJZx9/mWXvXrh8q rdGfGIQvun4XcR/KNhTXLx+C3mg+ihJNcptRnUW9WPl2ezCpsTBc9ig5Alg0PdLQnB+V Hm00QWK/zUjHMpXfitgWWRBz2iWXWSIdKmfMSs7yWxzVlUEJcX2JwEgnX6X67c1kA1Az vF/0cMVZK+Nb38enBalsoit21mfpnBmVOYzzLTTNnelEU2o78r88JuYufpHNqNIpYpKe yG/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sourceware.org header.s=default header.b=FQ5uNzOJ; dkim=pass header.i=@linaro.org header.s=google header.b="dR/gYl3N"; spf=pass (google.com: domain of libc-alpha-return-109657-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-109657-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 n11si894215otq.112.2020.02.13.03.38.41 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 13 Feb 2020 03:38:41 -0800 (PST) Received-SPF: pass (google.com: domain of libc-alpha-return-109657-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=FQ5uNzOJ; dkim=pass header.i=@linaro.org header.s=google header.b="dR/gYl3N"; spf=pass (google.com: domain of libc-alpha-return-109657-patch=linaro.org@sourceware.org designates 209.132.180.131 as permitted sender) smtp.mailfrom="libc-alpha-return-109657-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=abMmPUD/hsw03N6O8V+OFDgb+DF4K8G0lBm6XvfjGBwiwzFpQQFg7 uIZ9H4w6lQMnari1ydRKD3gbFoXvSKXYgdnin6zL+va3HThPfzBO0tnIs0M/aDrE iIox2FQOQggXeXpeRpc6TJbHwvtI7VmYBBastV0IUNRBQnW2zzR3ZQ= 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=FQ5uNzOJvhd2i2v40b5feA6WlSEG I3duFqMpY3xegJ3P6fi/v9V806Jt/vOBVjsFurPXffwR7zyvModATumv7DSWpjiu baILPhUuA+l6UByFy7JkxcYWxUmMpbMcOjK+i0AZNL4fMMbGLcamEQOe5ymcJpcA EMRZoJua730qOOg= 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== Return-Path: 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(-) -- 2.17.1 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