From 63859f89f327e48037a4cdba982cd6afa3007da7 Mon Sep 17 00:00:00 2001 From: Carmelo Amoroso Date: Wed, 10 Feb 2010 15:24:03 +0100 Subject: libc_sh: Update memcpy to use the ENTRY macro Use the ENTRY macro now available through the sysdep.h header Signed-off-by: Carmelo Amoroso --- libc/string/sh/sh4/memcpy.S | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'libc/string') diff --git a/libc/string/sh/sh4/memcpy.S b/libc/string/sh/sh4/memcpy.S index c03c18c73..efdaf8bba 100644 --- a/libc/string/sh/sh4/memcpy.S +++ b/libc/string/sh/sh4/memcpy.S @@ -18,6 +18,7 @@ * If there is an overlap, then the results are undefined. */ +#include #include #ifdef __LITTLE_ENDIAN__ @@ -176,12 +177,7 @@ 9: rts nop -/* void * memcpy(void *dst, const void *src, size_t len) */ -.text -.align 4 -.type memcpy,@function -.globl memcpy; -memcpy: +ENTRY(memcpy) ! Calculate the invariants which will be used in the remainder ! of the code: @@ -908,6 +904,5 @@ memcpy: rts mov.b r1,@-r0 -.size memcpy,.-memcpy; - +END(memcpy) libc_hidden_def (memcpy) -- cgit v1.2.3 From abdbaa897b3d7b5b72c8521a38aa84cada242837 Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Thu, 25 Mar 2010 15:17:10 +0100 Subject: prettify make clean Signed-off-by: Bernhard Reutner-Fischer --- libc/string/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/string') diff --git a/libc/string/Makefile.in b/libc/string/Makefile.in index 08a1856b7..9be083dd0 100644 --- a/libc/string/Makefile.in +++ b/libc/string/Makefile.in @@ -135,7 +135,7 @@ libc-y += $(STRING_COBJ) libc-nomulti-$(UCLIBC_HAS_XLOCALE) += $(STRING_OUT)/wcsxfrm_l.o libc-nomulti-y += $(STRING_OUT)/__xpg_strerror_r.o -objclean-y += string_clean +objclean-y += CLEAN_libc/string -string_clean: +CLEAN_libc/string: $(do_rm) $(addprefix $(STRING_OUT)/,$(addprefix *., o os oS) $(addprefix */*., o os oS) $(addprefix */*/*., o os oS)) -- cgit v1.2.3