From patchwork Thu May 23 16:04:43 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: 798436 Delivered-To: patch@linaro.org Received: by 2002:a5d:6a47:0:b0:354:fb4b:99cd with SMTP id t7csp298764wrw; Thu, 23 May 2024 09:05:17 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUDjW7IRQp27EOCtY596WttGOAjPZbZn8aDkxAYrGNaTq6M+20EUQycs/iqE6W3//VF93aIVtyK4/2FFfG5+3/L X-Google-Smtp-Source: AGHT+IFd7uKBRIBBLwdae+BkHx/SEKbyITCWL0pBr1ep24SRyEvSUmkND5XZIF0hEUL9ZXw/l7/0 X-Received: by 2002:a05:6808:150a:b0:3c9:9598:c74a with SMTP id 5614622812f47-3cdb4428735mr7520667b6e.32.1716480316764; Thu, 23 May 2024 09:05:16 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716480316; cv=pass; d=google.com; s=arc-20160816; b=q3s2oqrwf5aye5vrfpBwlgzWHqHrP+ehBXcBJNuagTQf3iA4J7u868CfACF7aHdKvo vYa8vRiNBbiafTXcTd+h6gvGonyEWJmCE6LXATiN0RfxqjZhTd3ypsVFyEB5Iucu7wHl AbxsP+tGFGLEZ77zOQLcX82jR0wsTp5gbmpmwkhmF9plnVfA39buMuUAqFXDpgfAxbcY VVX53w0eajba9UJyICApSkuwT8Dtzm1zUGZYIof8wV5KAjIG+66r8KrsitjkfM0LhK8x LEZ34ra4sCjd2fMarKZ2bvyIHKTypien2eMGkKUZC8RlBedN0RKuz9orK+vYApavn5Gi Hbsg== 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=QpRS5vkmJBtEdKZLQ8KKklXyMQd5U7YMLzQf5Ttc+6k=; fh=+6orIzRLXQY2FWXAtGF+abYflc8V+YPKzsYFuX0DJM4=; b=CU93t9cdfkJon7AYX9QPb/voJWPlWTya5cX7BOyFIaxXYWI6owLuWXhIWyLhf61dci uGgAkItJQVEl5YpeHFW0Xm39u2VURhQb5bW6gK7I33x34jSlPjgCisBh9kH/tM9qfZvu EncRxqt7YTPc0G2hkcosJJmWutYDD9lkwZED4SA5VHLgccxYu2NisRCzhlHu80REqZFA SSx2xkkB2sziEBe6UkOpK8WEcQtl3EbHfDtf12+xaKujdUzBoHkWbs2naSeDZ4mj66/o +uaJnrhm1Su9fRA+8e/FhI9Sf5Yj9M/HKV97J94UOA16oWrGTEDef4/IxoKrkjaCnC92 NTIQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SRkZUKps; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 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. [8.43.85.97]) by mx.google.com with ESMTPS id a1e0cc1a2514c-7f8ffec8a5csi5789861241.120.2024.05.23.09.05.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 09:05:16 -0700 (PDT) Received-SPF: pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SRkZUKps; arc=pass (i=1); spf=pass (google.com: domain of libc-alpha-bounces+patch=linaro.org@sourceware.org designates 8.43.85.97 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 E82253858C62 for ; Thu, 23 May 2024 16:05:15 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by sourceware.org (Postfix) with ESMTPS id 5CB1B3858D33 for ; Thu, 23 May 2024 16:05:01 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 5CB1B3858D33 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 5CB1B3858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::635 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716480308; cv=none; b=OnWEkAw/npwYueeKWqPWW3j5VoqgkujnS2nJih03T0d0RkpQROaFmf/VAU00MbUMr5n/buSxX24O9L66yUaVjLiHB7i1QpSGXnQfKvZ38OhOMYhwQHuFoEUrJ9N6bIurX0bxfDg3gJ1NTzjm9Du7ijNPjXMlPxuxubGSBQA+Pfk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1716480308; c=relaxed/simple; bh=1FoNPznBthmNWGjXdY62ILiuiVXelFUyKgAoCMhlYN8=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=YTWVgENeSLJiapvfdmWXLQa/ff7INMqjyn4j6q7miOBL1tmdMDl6R4E6chxLGeUWXC23IikkwkKiMjjpxHF6TJbiveN6QR2n5DGiN3REi61ZINkahkRTjV43Pc/iyLFhpa9vkM6cCJUQM7H12p+TkTf3Uo1e7DtqrlZv+hZykmY= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1ec69e3dbcfso21026865ad.0 for ; Thu, 23 May 2024 09:05:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1716480299; x=1717085099; 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=QpRS5vkmJBtEdKZLQ8KKklXyMQd5U7YMLzQf5Ttc+6k=; b=SRkZUKpsOGctCJkUJSXydaSdM6iGwxAhHD5nQavZxx6ragcI+kxffdrTp0CWVsAkTq gBq+foUtTJN9oz/elUtbklHzRXGV1Pv3FlIUfrPcgTUokDT3TXDFeExHYN6o6NYlYI9W Npk+1y9fHpHPIR6v9mBWw/69/qKMZQ/fN6/MbNCcHSIJyYMgWBfemojpYUX1zpCUrXVe RF+BzOZIoPVBghU8+GrBlD/eAK5Q6htPpDycrSwTNSl7NsdeptCAoBnI3JI3ZUpwUIyM NctmdbXJ0G6yH34s31hhGk/UFAPljllSQ1F6v5yFbFBc5F+raGlHjXauWN4XR//zcxgH 5KFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716480299; x=1717085099; 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=QpRS5vkmJBtEdKZLQ8KKklXyMQd5U7YMLzQf5Ttc+6k=; b=mnTHGC215fgEj/wUOUgl9TmlzoyVZWcZIqGJe5RHI2MDFhhYMD1VlShluNqDFkWpOS jiiF99COOWXeHsppCUuuDUpeFTCkH1uLufZkMVp9ZUyRPQYDLB+wHPzOH/fAvSGCjzvZ w3t14ceVKybO8uTfHj2ta/mkaKnZ9KosBs7xJXfNuMlMaC00spVLKZMAwevlkIcWAhyx Gena+FTT6qClaTvfSiRxRLivcjF9gLIvHLWS0S/Q2TCQOXbHaNwBQ826RU7NEH9cMzpr b5g/fzMjwjIbzS9mGYtnsAVeembC1lQpAdHzl8tFSIxq39Cs46stB04BUunWhBGRDeJM tfkQ== X-Gm-Message-State: AOJu0YzCvjpfumlrSSv8DrGrfeBYM9uvKTUpVPdkb6YJuO8VY0NTq53k YvoQ5g9kIli7iLyctRGaiR58L+wwG3JwmDXoKZ6mQ/v6X+0ImhzxX1vlfhMrVJb0RMYGqTpntg5 Q X-Received: by 2002:a17:903:2cd:b0:1ef:9b6:d03d with SMTP id d9443c01a7336-1f31c9f6ee3mr59537565ad.57.1716480299546; Thu, 23 May 2024 09:04:59 -0700 (PDT) Received: from mandiga.. ([2804:1b3:a7c3:7718:23d:984f:d2cd:1c43]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-1ef0b9d1729sm256701685ad.33.2024.05.23.09.04.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 May 2024 09:04:58 -0700 (PDT) From: Adhemerval Zanella To: libc-alpha@sourceware.org Cc: "H . J . Lu" Subject: [PATCH] powerpc: Remove duplicated versionsort from libm.a (BZ 31789) Date: Thu, 23 May 2024 13:04:43 -0300 Message-ID: <20240523160455.621355-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 The powerpc32 have an extra versionsort provided by LFS versionsort64.o. It seems that 5226a81f5517bcbc892679cca792006a6bafc53f used the wrong check to create the alias for the LFS to non-LFS version. It should not matter for _DIRENT_MATCHES_DIRENT64 since both symbols have the same implementation. Reviewed-by: H.J. Lu --- dirent/versionsort64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dirent/versionsort64.c b/dirent/versionsort64.c index 5ae404f1bd..5fe94e37ed 100644 --- a/dirent/versionsort64.c +++ b/dirent/versionsort64.c @@ -26,6 +26,6 @@ versionsort64 (const struct dirent64 **a, const struct dirent64 **b) return __strverscmp ((*a)->d_name, (*b)->d_name); } -#if !_DIRENT_MATCHES_DIRENT64 +#if _DIRENT_MATCHES_DIRENT64 weak_alias (versionsort64, versionsort) #endif