diff --git a/src/system/libroot/posix/string/arch/arm/arch_string.S b/src/system/libroot/posix/string/arch/arm/arch_string.S index e5918f1c3d..5a4340c16e 100644 --- a/src/system/libroot/posix/string/arch/arm/arch_string.S +++ b/src/system/libroot/posix/string/arch/arm/arch_string.S @@ -11,6 +11,7 @@ .align 4 FUNCTION(memcpy): +FUNCTION(__aeabi_memcpy): // check for zero length copy or the same pointer cmp r2, #0 cmpne r1, r0 @@ -165,4 +166,5 @@ FUNCTION(memcpy): // check for zero length copy or the same pointer FUNCTION_END(memcpy) +FUNCTION_END(__aeabi_memcpy) #endif