about summary refs log tree commit diff
path: root/string
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-10-14 07:40:52 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-12-06 05:46:59 -0600
commit87da8bdbe1a2c3410b9cef027d88e5028e3c0111 (patch)
treef03d4ee15e90061c98cf3614409085bca07948ca /string
parent20ed471427e162167143cfc9ed0f59889bc75ed6 (diff)
downloadglibc-87da8bdbe1a2c3410b9cef027d88e5028e3c0111.tar.gz
glibc-87da8bdbe1a2c3410b9cef027d88e5028e3c0111.tar.xz
glibc-87da8bdbe1a2c3410b9cef027d88e5028e3c0111.zip
PowerPC: multiarch mempcpy for PowerPC32
Diffstat (limited to 'string')
-rw-r--r--string/mempcpy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/string/mempcpy.c b/string/mempcpy.c
index c0d2448205..a626c9cc60 100644
--- a/string/mempcpy.c
+++ b/string/mempcpy.c
@@ -24,8 +24,12 @@
 #undef mempcpy
 #undef __mempcpy
 
+#ifndef MEMPCPY
+# define MEMPCPY __mempcpy
+#endif
+
 void *
-__mempcpy (void *dest, const void *src, size_t len)
+MEMPCPY (void *dest, const void *src, size_t len)
 {
   return memcpy (dest, src, len) + len;
 }