aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-03-03 13:25:36 -0800
committerDavid S. Miller <davem@davemloft.net>2011-03-03 13:25:36 -0800
commit012d35f7610b12b33d6c10a5159c55376f515993 (patch)
tree4d24f30e2b61395b80a74dd2dd3e239275d4706b
parent4bff6e0175ed195871f4e01cc4c4c33274b8f6e3 (diff)
downloadglibc-012d35f7610b12b33d6c10a5159c55376f515993.zip
glibc-012d35f7610b12b33d6c10a5159c55376f515993.tar.gz
glibc-012d35f7610b12b33d6c10a5159c55376f515993.tar.bz2
Fix sparc64 bzero on non-Niagara systems.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/sparc/sparc64/multiarch/memset.S4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index a60bf2b..1e3ba02 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
+
+ * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): call
+ __bzero_ultra1 instead of __memset_ultra1.
+
2011-02-23 Andreas Schwab <schwab@redhat.com>
Ulrich Drepper <drepper@gmail.com>
diff --git a/sysdeps/sparc/sparc64/multiarch/memset.S b/sysdeps/sparc/sparc64/multiarch/memset.S
index 23e513f..befd7ed 100644
--- a/sysdeps/sparc/sparc64/multiarch/memset.S
+++ b/sysdeps/sparc/sparc64/multiarch/memset.S
@@ -114,8 +114,8 @@ ENTRY(__bzero)
nop
9:
# ifdef SHARED
- sethi %gdop_hix22(__memset_ultra1), %o1
- xor %o1, %gdop_lox10(__memset_ultra1), %o1
+ sethi %gdop_hix22(__bzero_ultra1), %o1
+ xor %o1, %gdop_lox10(__bzero_ultra1), %o1
# else
set __bzero_ultra1, %o1
# endif