From fe68563b9a070fedf117c8738652587945427bb3 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Tue, 3 Jan 2006 14:46:56 +0000 Subject: Use strong_alias everywhere instead of .global/.set. Correct some cases where the non-hidden version was used. --- libc/string/powerpc/memcpy.c | 3 +-- libc/string/powerpc/memmove.c | 3 +-- libc/string/powerpc/memset.c | 3 +-- 3 files changed, 3 insertions(+), 6 deletions(-) (limited to 'libc/string/powerpc') diff --git a/libc/string/powerpc/memcpy.c b/libc/string/powerpc/memcpy.c index 34573b29f..5af96869b 100644 --- a/libc/string/powerpc/memcpy.c +++ b/libc/string/powerpc/memcpy.c @@ -21,7 +21,6 @@ #include -#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++. */ @@ -78,4 +77,4 @@ void attribute_hidden *__memcpy(void *to, const void *from, size_t n) goto lessthan8; } -strong_alias(__memcpy, memcpy) +strong_alias(__memcpy,memcpy) diff --git a/libc/string/powerpc/memmove.c b/libc/string/powerpc/memmove.c index b5b70c9fd..1d513a966 100644 --- a/libc/string/powerpc/memmove.c +++ b/libc/string/powerpc/memmove.c @@ -21,7 +21,6 @@ #include -#undef memmove void attribute_hidden *__memmove(void *to, const void *from, size_t n) { unsigned long rem, chunks, tmp1, tmp2; @@ -74,4 +73,4 @@ void attribute_hidden *__memmove(void *to, const void *from, size_t n) goto lessthan8; } -strong_alias(__memmove, memmove) +strong_alias(__memmove,memmove) diff --git a/libc/string/powerpc/memset.c b/libc/string/powerpc/memset.c index 372047797..f6cda9579 100644 --- a/libc/string/powerpc/memset.c +++ b/libc/string/powerpc/memset.c @@ -32,7 +32,6 @@ static inline int expand_byte_word(int c){ return c; } -#undef memset void attribute_hidden *__memset(void *to, int c, size_t n) { unsigned long rem, chunks; @@ -80,4 +79,4 @@ void attribute_hidden *__memset(void *to, int c, size_t n) goto lessthan8; } -strong_alias(__memset, memset) +strong_alias(__memset,memset) -- cgit v1.2.3