about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLuis Machado <luisgpm@br.ibm.com>2010-09-29 12:21:14 -0400
committerUlrich Drepper <drepper@gmail.com>2010-09-29 12:21:14 -0400
commit91c42559190f59c6c4b3cb0b7f5c9bb11dd28161 (patch)
treee12bb0545cb3ff27f868727a94c1db741cda9b6b
parent87a97932bdd8a62a5eede11fdf031efd38da33ac (diff)
downloadglibc-91c42559190f59c6c4b3cb0b7f5c9bb11dd28161.tar.gz
glibc-91c42559190f59c6c4b3cb0b7f5c9bb11dd28161.tar.xz
glibc-91c42559190f59c6c4b3cb0b7f5c9bb11dd28161.zip
powerpc: Use generic memset for RTLD for ppc32/64
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/powerpc/powerpc32/rtld-memset.c4
-rw-r--r--sysdeps/powerpc/powerpc64/rtld-memset.c4
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 70505a9445..4404718742 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
+
+	* sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
+	* sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
+
 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
 
 	[BZ #12067]
diff --git a/sysdeps/powerpc/powerpc32/rtld-memset.c b/sysdeps/powerpc/powerpc32/rtld-memset.c
new file mode 100644
index 0000000000..f3ed8ad1e7
--- /dev/null
+++ b/sysdeps/powerpc/powerpc32/rtld-memset.c
@@ -0,0 +1,4 @@
+/* PPCA2 has a different cache-line size than the usual 128 bytes.  To avoid
+   using code that assumes cache-line size to be 128 bytes (with dcbz
+   instructions) we use the generic code instead.  */
+#include <string/memset.c>
diff --git a/sysdeps/powerpc/powerpc64/rtld-memset.c b/sysdeps/powerpc/powerpc64/rtld-memset.c
new file mode 100644
index 0000000000..f3ed8ad1e7
--- /dev/null
+++ b/sysdeps/powerpc/powerpc64/rtld-memset.c
@@ -0,0 +1,4 @@
+/* PPCA2 has a different cache-line size than the usual 128 bytes.  To avoid
+   using code that assumes cache-line size to be 128 bytes (with dcbz
+   instructions) we use the generic code instead.  */
+#include <string/memset.c>