svn commit: trunk/uClibc/libc/string/powerpc
psm at uclibc.org
psm at uclibc.org
Mon Nov 14 23:03:03 UTC 2005
Author: psm
Date: 2005-11-14 15:02:12 -0800 (Mon, 14 Nov 2005)
New Revision: 12234
Log:
undef functions needed for usage within libc
Modified:
trunk/uClibc/libc/string/powerpc/memcpy.c
trunk/uClibc/libc/string/powerpc/memmove.c
trunk/uClibc/libc/string/powerpc/memset.c
Changeset:
Modified: trunk/uClibc/libc/string/powerpc/memcpy.c
===================================================================
--- trunk/uClibc/libc/string/powerpc/memcpy.c 2005-11-14 22:59:08 UTC (rev 12233)
+++ trunk/uClibc/libc/string/powerpc/memcpy.c 2005-11-14 23:02:12 UTC (rev 12234)
@@ -21,6 +21,7 @@
#include <string.h>
+#undef memcpy
void attribute_hidden *__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++. */
Modified: trunk/uClibc/libc/string/powerpc/memmove.c
===================================================================
--- trunk/uClibc/libc/string/powerpc/memmove.c 2005-11-14 22:59:08 UTC (rev 12233)
+++ trunk/uClibc/libc/string/powerpc/memmove.c 2005-11-14 23:02:12 UTC (rev 12234)
@@ -21,6 +21,7 @@
#include <string.h>
+#undef memmove
void attribute_hidden *__memmove(void *to, const void *from, size_t n)
{
unsigned long rem, chunks, tmp1, tmp2;
Modified: trunk/uClibc/libc/string/powerpc/memset.c
===================================================================
--- trunk/uClibc/libc/string/powerpc/memset.c 2005-11-14 22:59:08 UTC (rev 12233)
+++ trunk/uClibc/libc/string/powerpc/memset.c 2005-11-14 23:02:12 UTC (rev 12234)
@@ -31,6 +31,8 @@
: "=r" (c) : "0" (c));
return c;
}
+
+#undef memset
void attribute_hidden *__memset(void *to, int c, size_t n)
{
unsigned long rem, chunks;
More information about the uClibc-cvs
mailing list