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: 1938464 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=SRkZUKps; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=sourceware.org (client-ip=2620:52:3:1:0:246e:9693:128c; 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 [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 4VlY0z3qh0z1ynR for ; Fri, 24 May 2024 02:05:23 +1000 (AEST) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id C36693858D33 for ; Thu, 23 May 2024 16:05:21 +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-Google-Smtp-Source: AGHT+IF3NSSAZgGbGk6de/ZSmxkmtrIXv6hWyk2W7uTvLbm+G9B3mLVmSc2T2eyGdqkh/+nc9XY6LA== 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+incoming=patchwork.ozlabs.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