powerpc: Use generic memset for RTLD for ppc32/64
authorLuis Machado <luisgpm@br.ibm.com>
Wed, 29 Sep 2010 16:21:14 +0000 (12:21 -0400)
committerUlrich Drepper <drepper@gmail.com>
Wed, 29 Sep 2010 16:21:14 +0000 (12:21 -0400)
ChangeLog
sysdeps/powerpc/powerpc32/rtld-memset.c [new file with mode: 0644]
sysdeps/powerpc/powerpc64/rtld-memset.c [new file with mode: 0644]

index 70505a9..4404718 100644 (file)
--- 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 (file)
index 0000000..f3ed8ad
--- /dev/null
@@ -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 (file)
index 0000000..f3ed8ad
--- /dev/null
@@ -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>