summaryrefslogtreecommitdiff
path: root/string
diff options
context:
space:
mode:
authorAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-12-13 14:32:31 -0500
committerAdhemerval Zanella <azanella@linux.vnet.ibm.com>2013-12-13 14:32:31 -0500
commit07253fcf7b03535b26c81ee216d284ed7f1e250b (patch)
treef963615b7fc32edb2ffe942ee5f5cf9b3aebee00 /string
parentb5beafbceec80b5a33d3383dde88196afc966e67 (diff)
downloadglibc-07253fcf7b03535b26c81ee216d284ed7f1e250b.tar.gz
PowerPC: multirach memcmp for PowerPC64
Diffstat (limited to 'string')
-rw-r--r--string/memcmp.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/string/memcmp.c b/string/memcmp.c
index dd76145f03..d7c57db8bd 100644
--- a/string/memcmp.c
+++ b/string/memcmp.c
@@ -29,6 +29,10 @@
#undef memcmp
+#ifndef MEMCMP
+# define MEMCMP memcmp
+#endif
+
#ifdef _LIBC
# include <memcopy.h>
@@ -304,7 +308,7 @@ memcmp_not_common_alignment (srcp1, srcp2, len)
}
int
-memcmp (s1, s2, len)
+MEMCMP (s1, s2, len)
const __ptr_t s1;
const __ptr_t s2;
size_t len;