public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/release/2.35/master] x86-64: Define __memcmpeq in ld.so
@ 2022-05-16 20:18 Sunil Pandey
  0 siblings, 0 replies; only message in thread
From: Sunil Pandey @ 2022-05-16 20:18 UTC (permalink / raw)
  To: glibc-cvs

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

commit f0a53588da7d6b642eeabdbd934d799ed0df2b8f
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Sun Feb 13 18:46:23 2022 -0800

    x86-64: Define __memcmpeq in ld.so
    
    Define __memcmpeq in ld.so so that compiler can generate __memcmpeq call
    when compiling for ld.so.
    
    (cherry picked from commit a5659cf27d3ce6101c1632715d18ab6321755340)

Diff:
---
 sysdeps/x86_64/multiarch/memcmpeq-sse2.S | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sysdeps/x86_64/multiarch/memcmpeq-sse2.S b/sysdeps/x86_64/multiarch/memcmpeq-sse2.S
index b80a29d4b0..de7f5a7525 100644
--- a/sysdeps/x86_64/multiarch/memcmpeq-sse2.S
+++ b/sysdeps/x86_64/multiarch/memcmpeq-sse2.S
@@ -16,8 +16,10 @@
    License along with the GNU C Library; if not, see
    <https://www.gnu.org/licenses/>.  */
 
-#ifndef memcmp
+#if IS_IN (libc)
 # define memcmp	__memcmpeq_sse2
+#else
+# define memcmp	__memcmpeq
 #endif
 #define USE_AS_MEMCMPEQ	1
 #include "memcmp-sse2.S"


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

only message in thread, other threads:[~2022-05-16 20:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16 20:18 [glibc/release/2.35/master] x86-64: Define __memcmpeq in ld.so Sunil Pandey

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).