#include <string.h>
-void attribute_hidden *__memcpy(void *to, const void *from, size_t n)
+/* Experimentally off - libc_hidden_proto(memcpy) */
+void *memcpy(void *to, const void *from, size_t n)
/* PPC can do pre increment and load/store, but not post increment and load/store.
Therefore use *++ptr instead of *ptr++. */
{
do {
*++tmp_to = *++tmp_from;
} while (--n);
-
+
return to;
align:
rem = 4 - rem;
goto copy_chunks;
goto lessthan8;
}
-
-strong_alias(__memcpy, memcpy)
+libc_hidden_def(memcpy)