summaryrefslogtreecommitdiff
path: root/libc/string/powerpc
diff options
context:
space:
mode:
Diffstat (limited to 'libc/string/powerpc')
-rw-r--r--libc/string/powerpc/memcpy.c6
-rw-r--r--libc/string/powerpc/memmove.c6
-rw-r--r--libc/string/powerpc/memset.c6
3 files changed, 9 insertions, 9 deletions
diff --git a/libc/string/powerpc/memcpy.c b/libc/string/powerpc/memcpy.c
index 5af96869b..8ed03e526 100644
--- a/libc/string/powerpc/memcpy.c
+++ b/libc/string/powerpc/memcpy.c
@@ -21,7 +21,7 @@
#include <string.h>
-void attribute_hidden *__memcpy(void *to, const void *from, size_t n)
+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++. */
{
@@ -76,5 +76,5 @@ void attribute_hidden *__memcpy(void *to, const void *from, size_t n)
goto copy_chunks;
goto lessthan8;
}
-
-strong_alias(__memcpy,memcpy)
+libc_hidden_proto(memcpy)
+libc_hidden_def(memcpy)
diff --git a/libc/string/powerpc/memmove.c b/libc/string/powerpc/memmove.c
index 1d513a966..10e46867c 100644
--- a/libc/string/powerpc/memmove.c
+++ b/libc/string/powerpc/memmove.c
@@ -21,7 +21,7 @@
#include <string.h>
-void attribute_hidden *__memmove(void *to, const void *from, size_t n)
+void *memmove(void *to, const void *from, size_t n)
{
unsigned long rem, chunks, tmp1, tmp2;
unsigned char *tmp_to;
@@ -72,5 +72,5 @@ void attribute_hidden *__memmove(void *to, const void *from, size_t n)
goto copy_chunks;
goto lessthan8;
}
-
-strong_alias(__memmove,memmove)
+libc_hidden_proto(memmove)
+libc_hidden_def(memmove)
diff --git a/libc/string/powerpc/memset.c b/libc/string/powerpc/memset.c
index f6cda9579..47df2b607 100644
--- a/libc/string/powerpc/memset.c
+++ b/libc/string/powerpc/memset.c
@@ -32,7 +32,7 @@ static inline int expand_byte_word(int c){
return c;
}
-void attribute_hidden *__memset(void *to, int c, size_t n)
+void *memset(void *to, int c, size_t n)
{
unsigned long rem, chunks;
unsigned char *tmp_to;
@@ -78,5 +78,5 @@ void attribute_hidden *__memset(void *to, int c, size_t n)
goto copy_chunks;
goto lessthan8;
}
-
-strong_alias(__memset,memset)
+libc_hidden_proto(memset)
+libc_hidden_def(memset)