about summary refs log tree commit diff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2022-02-10 11:52:50 -0800
committerH.J. Lu <hjl.tools@gmail.com>2022-02-14 10:16:02 -0800
commit0fb8800029d230b3711bf722b2a47db92d0e273f (patch)
tree2fe1d820c2187e96de9ca870a83c89abaeaa7823
parent17c57d70bd8768795a6938786ed218057eff0017 (diff)
downloadglibc-0fb8800029d230b3711bf722b2a47db92d0e273f.tar.gz
glibc-0fb8800029d230b3711bf722b2a47db92d0e273f.tar.xz
glibc-0fb8800029d230b3711bf722b2a47db92d0e273f.zip
x86-64: Remove bzero weak alias in SS2 memset
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.
-rw-r--r--sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S b/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S
index 329c58ee46..d52d170804 100644
--- a/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S
+++ b/sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S
@@ -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