public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] powerpc: Remove duplicated versionsort from libm.a (BZ 31789)
@ 2024-05-23 17:48 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2024-05-23 17:48 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=8f58e412b1e26d2c7e65c13a0ce758fbaf18d83f

commit 8f58e412b1e26d2c7e65c13a0ce758fbaf18d83f
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Date:   Thu May 23 13:04:43 2024 -0300

    powerpc: Remove duplicated versionsort from libm.a (BZ 31789)
    
    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 <hjl.tools@gmail.com>

Diff:
---
 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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-05-23 17:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-05-23 17:48 [glibc] powerpc: Remove duplicated versionsort from libm.a (BZ 31789) Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).