[prev in list] [next in list] [prev in thread] [next in thread] 

List:       glibc-cvs
Subject:    [glibc] i686: Don't include multiarch memove in libc.a
From:       "H.J. Lu via Glibc-cvs" <glibc-cvs () sourceware ! org>
Date:       2021-08-30 13:47:52
Message-ID: 20210830134752.861903857C52 () sourceware ! org
[Download RAW message or body]

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


commit d4877540e565f89f0a33e5b92c9f4b995e2f3a33
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Aug 9 07:07:56 2021 -0700

    i686: Don't include multiarch memove in libc.a
    
    On i686, there is no multiarch memove in libc.a, don't include multiarch
    memove in ifunc-impl-list.c in libc.a.

Diff:
---
 sysdeps/i386/i686/multiarch/ifunc-impl-list.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sysdeps/i386/i686/multiarch/ifunc-impl-list.c \
b/sysdeps/i386/i686/multiarch/ifunc-impl-list.c index 4e3cc56fa3..d3365cdc9d 100644
--- a/sysdeps/i386/i686/multiarch/ifunc-impl-list.c
+++ b/sysdeps/i386/i686/multiarch/ifunc-impl-list.c
@@ -84,7 +84,6 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl \
*array,  __memmove_chk_sse2_unaligned)
 	      IFUNC_IMPL_ADD (array, i, __memmove_chk, 1,
 			      __memmove_chk_ia32))
-#endif
 
   /* Support sysdeps/i386/i686/multiarch/memmove.S.  */
   IFUNC_IMPL (i, name, memmove,
@@ -95,6 +94,7 @@ __libc_ifunc_impl_list (const char *name, struct libc_ifunc_impl \
*array,  IFUNC_IMPL_ADD (array, i, memmove, CPU_FEATURE_USABLE (SSE2),
 			      __memmove_sse2_unaligned)
 	      IFUNC_IMPL_ADD (array, i, memmove, 1, __memmove_ia32))
+#endif
 
   /* Support sysdeps/i386/i686/multiarch/memrchr.S.  */
   IFUNC_IMPL (i, name, memrchr,


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic