From patchwork Wed May 22 14:49:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 1937852 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=fN1hn9np; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=8.43.85.97; helo=server2.sourceware.org; envelope-from=libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4VkvN45hpMz1ydW for ; Thu, 23 May 2024 00:49:40 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 1ADE7386587A for ; Wed, 22 May 2024 14:49:39 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-oo1-xc2c.google.com (mail-oo1-xc2c.google.com [IPv6:2607:f8b0:4864:20::c2c]) by sourceware.org (Postfix) with ESMTPS id 40D2D3858D33 for ; Wed, 22 May 2024 14:49:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 40D2D3858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 40D2D3858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::c2c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716389365; cv=none; b=OcRFxPmd8b4dry2JsUHxUU3QtSRtIUb+3DlZbCBhySlhIgW7R1AfPxiURuCRieOTNhWWeYL+ZL/rDhASXVQPB/99XxRKyBo4yi5sKmZfOqT/rUHA/gkyVMvlwpjmvk5FEeOJv+dJKV1UfH3imgLwMgmg5s4Z+CFHVe5dWgT7ENg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716389365; c=relaxed/simple; bh=ba9UCL2mT4CHg2MH/NZJsemBR4XpgOYK4QJmzgm/d5o=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=nrMnhcppbfqANAj1S3TnX0yt+JDIreRtVakqkXiZl4IF/3WhOQp252Q1DjGjCbQXPT/v3wKoDspV6pEQ/bq39w+1Uk99A/gakGp05EvbOfkfzVFE6MEJ5NENHHmQPn/AITjxoRs2rb5Dk70qz3ctEGKFM4qaDvKnJ+wE1zh8B7M= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-oo1-xc2c.google.com with SMTP id 006d021491bc7-5b2e942171cso2740889eaf.3 for ; Wed, 22 May 2024 07:49:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716389361; x=1716994161; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=H4f7Ric/0+Y7xBsVM00J8WJyfNWishcpUq1ozdgnft0=; b=fN1hn9npJlzs31o71hFe8xFas8L7CZBvdywCwuGkYuiqvr+4srDo9+he1znfekoumK YPdoosKHSwJOxWuthWdsLnlcg2XKZO0UFrSzRAGUarMguiwUuA8go2cZj+hfKDK7wbRM E3PHIuHAtLvTG7p9FEUNGTrWcsgVuMLB8rP8XR9CfeS8oPamXHlsrS726fQb90rFRxZN t8mnME2dYITgVXtAZcrvxubboDrpVjtlr6DnQLhsGf+frW9kjk4/lgoyZLyxsfh9YtJB QYJjCD62GEgjEf2SdtmOBg53FoqestaHcnwPTap9dq8upYoMUVc76TK2FyB+MhM57bWH yXwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716389361; x=1716994161; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=H4f7Ric/0+Y7xBsVM00J8WJyfNWishcpUq1ozdgnft0=; b=f7piozmfWMbz8ddy7JU6TaTETAlUhDG8waeh3/eAYsrAw9fYViilsqlGJLcJQU9BF0 4MG+jpeAiL8NjAqumZeU8K+Nk86PHYum1jKHjmdywPtsSyaWgG8jr5eTQMbIz6N7p6Pu 5ukUU5OY3bchjgOzPOeKA+kk6M2oWQQ+JStk76rLUbcb86SXsWSPxTYItzKVuimSV4A3 rWQ4n89YFKqLg7s/uZttmpuCNZ0KdV51tKRr+0CxnyS5T/Z7T8hKWVhXQgx5xRtUtPIn xkiEW7cplbroWI1G5RJyBfKHUlzwQDl1gC46pgcxKwtMb87VwS4y629mHRzLw2Srv21j qA3w== X-Gm-Message-State: AOJu0YxkiX5dI7tNF9pZbuQMrxVy+FyR+Eb1LQLVxzoqFyQcprUYLPHG FdFG9j85z1RvIiJac4BYI7CruIrF0fMtLT3jAj1dvfKU0sKP6m9Twk8AOumWu9yGXHdPkNEg1m0 F X-Google-Smtp-Source: AGHT+IEFrx2kd8VWPwKIAzWOl3EtVI6u8PzbBBVUFMop91qt4e/y2kFTcFIYXSf1t8vz5jV/c8D8pw== X-Received: by 2002:a05:6358:768a:b0:186:7b6:f0e7 with SMTP id e5c5f4694b2df-19792138521mr329782955d.26.1716389360920; Wed, 22 May 2024 07:49:20 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c3:7718:cb55:8353:f3c4:f762]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-6f4d2af52b4sm23242003b3a.174.2024.05.22.07.49.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 07:49:20 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: "H . J . Lu" Subject: [PATCH] powerpc: Remove duplicated llrintf and llrintf32 from libm.a (BZ 31787) Date: Wed, 22 May 2024 11:49:10 -0300 Message-ID: <20240522144916.1196297-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.43.0 MIME-Version: 1.0 X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+incoming=patchwork.ozlabs.org@sourceware.org Both the generic and POWER6 versions provide definitions of the symbol, which are already provided by the ifunc resolver. Checked on powerpc-linux-gnu-power4. Reviewed-by: H.J. Lu --- .../powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c | 4 ++++ .../powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c index 5b1a5a8cf0..3c279ddd1a 100644 --- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c +++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c @@ -1,2 +1,6 @@ +#include + #define __llrintf __llrintf_power6 +#undef libm_alias_float +#define libm_alias_float(a, b) #include diff --git a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c index 061962b84d..bce8f4564f 100644 --- a/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c +++ b/sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c @@ -1,2 +1,6 @@ +#include + #define __llrintf __llrintf_ppc32 +#undef libm_alias_float +#define libm_alias_float(a, b) #include