]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
x86-64: Remove bzero weak alias in SS2 memset
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 10 Feb 2022 19:52:50 +0000 (11:52 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Mon, 14 Feb 2022 18:16:02 +0000 (10:16 -0800)
commit 3d9f171bfb5325bd5f427e9fc386453358c6e840
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Mon Feb 7 05:55:15 2022 -0800

    x86-64: Optimize bzero

added the optimized bzero.  Remove bzero weak alias in SS2 memset to
avoid undefined __bzero in memset-sse2-unaligned-erms.

sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S

index 329c58ee46c1ed13b7428f14e78a1bcb4ceccca2..d52d170804870b5b5505d7822ee8b9c717bc9219 100644 (file)
@@ -31,9 +31,7 @@
 # endif
 
 # undef weak_alias
-# define weak_alias(original, alias) \
-       .weak bzero; bzero = __bzero
-
+# define weak_alias(original, alias)
 # undef strong_alias
 # define strong_alias(ignored1, ignored2)
 #endif