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 X-Patchwork-Id: 798154 Delivered-To: patch@linaro.org Received: by 2002:a05:6000:92:b0:351:d90a:5487 with SMTP id m18csp503797wrx; Wed, 22 May 2024 07:49:35 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWFacC6AYqbPu7xSF2hDmkdFV+441rwcc4wW0+vEygNu0XFgD5ZHZg6Krb2asu3EO4hvHJyOnQ0TPFhKCnsqAQO X-Google-Smtp-Source: AGHT+IERPoNuUqeiTtc2jk1qCPDJcOQdCzvAuCm6prliGxEedqL1vcBc+CtWcsb0qOA3EOzweauG X-Received: by 2002:a05:6870:b50b:b0:241:98e4:55d4 with SMTP id 586e51a60fabf-24c68af8de6mr2491378fac.14.1716389374870; Wed, 22 May 2024 07:49:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716389374; cv=pass; d=google.com; s=arc-20160816; b=JYj7dPXJCCiFPSA6NYJ1BuTPdT+/7kjIwpIH1s4yJXYoKvXZZvLZrAlt6f5VDndgRQ +5Hyzt5PC4FIXw4bmtcBGn6STBMYk0hs+36DOvMfMXcv+cozG7Uv3OV27whyJKMhuYEC cXycJk7+xe4/KleOyi1Mf28fBT0bpMeoLlqTY0BUjxUcotEI6cZ8F79ES75p2dX2mpyj yM4J2RyQ9kBhB/xFGE5ZLmynhegEJfPHtP+fJDAiSfixr2YvTSnR97+fy/YB7Yqm+0qn 33LyRsHjPU+P7oQsdKuy8mN6KxU1xpOKeqxip6i8wZQjK/XDIf9xp7JmFbRY8ZNavLu9 hpdg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=H4f7Ric/0+Y7xBsVM00J8WJyfNWishcpUq1ozdgnft0=; fh=+6orIzRLXQY2FWXAtGF+abYflc8V+YPKzsYFuX0DJM4=; b=kTQ3Iust2BKTJRJvBVeTUufKEkzclSeSc2O9YGVeR4zmMz1VQmNWQMOkQ3ydVU5l2H 81HvFkelJNoXlKYjPWV1raVeNfYcnelNBoGebdPrH8CHVb7DwjbtKQ+MhpHztMxC5HSg UolAGNmbg/wW8tvd5syxS9L9fFZaLWzqNyGWDT7GwdoxImsPJKOOnlY8aEomkifWxZsw IAEgiM/+FHFLjl6l5sdXk3M0ZC0sB5bqQ6Ngyw7uIIpu7vM7UbAUy2BD3oyGwd4k9wn/ B2XUbtFpZduMjKPxWkFDwyWvOJUgq8dUqH+GP22HeyqI6fHitJfUpZTPn7LIrAX3vSCp 0Llw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fN1hn9np; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id d75a77b69052e-43e3b1990aasi100499021cf.138.2024.05.22.07.49.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 07:49:34 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=fN1hn9np; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="libc-alpha-bounces+patch=linaro.org@sourceware.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 665363865C24 for ; Wed, 22 May 2024 14:49:34 +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-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+patch=linaro.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