public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/release/2.33/master] x86-64: Remove bzero weak alias in SS2 memset
@ 2022-05-17  4:39 Sunil Pandey
  0 siblings, 0 replies; only message in thread
From: Sunil Pandey @ 2022-05-17  4:39 UTC (permalink / raw)
  To: glibc-cvs

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

commit a5cd8efcea55fea567256f9d00adbf590ad3e192
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Thu Feb 10 11:52:50 2022 -0800

    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.
    
    (cherry picked from commit 0fb8800029d230b3711bf722b2a47db92d0e273f)

Diff:
---
 sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S | 4 +---
 1 file changed, 1 insertion(+), 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 bac74ac37f..2951f7f5f7 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


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

only message in thread, other threads:[~2022-05-17  4:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-17  4:39 [glibc/release/2.33/master] x86-64: Remove bzero weak alias in SS2 memset 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).