about summary refs log tree commit diff
path: root/sysdeps/powerpc/powerpc32/rtld-memset.c
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 /sysdeps/powerpc/powerpc32/rtld-memset.c
parent87a97932bdd8a62a5eede11fdf031efd38da33ac (diff)
downloadglibc-91c42559190f59c6c4b3cb0b7f5c9bb11dd28161.tar.gz
glibc-91c42559190f59c6c4b3cb0b7f5c9bb11dd28161.tar.xz
glibc-91c42559190f59c6c4b3cb0b7f5c9bb11dd28161.zip
powerpc: Use generic memset for RTLD for ppc32/64
Diffstat (limited to 'sysdeps/powerpc/powerpc32/rtld-memset.c')
-rw-r--r--sysdeps/powerpc/powerpc32/rtld-memset.c4
1 files changed, 4 insertions, 0 deletions
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>