From 70e4c7e04772d4af62de1b32cd18b0ca0284f20b Mon Sep 17 00:00:00 2001 From: matt Date: Mon, 19 Aug 2013 02:37:12 +0000 Subject: [PATCH] Add END() --- common/lib/libc/arch/arm/string/memmove.S | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/common/lib/libc/arch/arm/string/memmove.S b/common/lib/libc/arch/arm/string/memmove.S index f3c543ba8a53..385a51407cb2 100644 --- a/common/lib/libc/arch/arm/string/memmove.S +++ b/common/lib/libc/arch/arm/string/memmove.S @@ -1,4 +1,4 @@ -/* $NetBSD: memmove.S,v 1.5 2013/08/11 04:56:32 matt Exp $ */ +/* $NetBSD: memmove.S,v 1.6 2013/08/19 02:37:12 matt Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -31,10 +31,6 @@ #include -#if defined(__ARM_EABI__) && !defined(BCOPY) -STRONG_ALIAS(__aeabi_memmove, memmove) -#endif - #ifndef _BCOPY /* LINTSTUB: Func: void *memmove(void *, const void *, size_t) */ ENTRY(memmove) @@ -583,3 +579,12 @@ ENTRY(bcopy) .Lmemmove_bsrcul1l4: add r1, r1, #1 b .Lmemmove_bl4 +#ifndef _BCOPY +END(memmove) +#else +END(bcopy) +#endif + +#if defined(__ARM_EABI__) && !defined(BCOPY) +STRONG_ALIAS(__aeabi_memmove, memmove) +#endif