diff options
Diffstat (limited to 'libc/string/arm/memcpy.S')
-rw-r--r-- | libc/string/arm/memcpy.S | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libc/string/arm/memcpy.S b/libc/string/arm/memcpy.S index 372da4c49..8f81a15e5 100644 --- a/libc/string/arm/memcpy.S +++ b/libc/string/arm/memcpy.S @@ -37,8 +37,8 @@ * by Erik Andersen <andersen@codepoet.org> */ -.global memcpy -.set memcpy,__memcpy +#include <features.h> + .text .global __memcpy .hidden __memcpy @@ -47,7 +47,9 @@ __memcpy: stmfd sp!, {r0, lr} - bl _memcpy (PLT) + bl _memcpy ldmfd sp!, {r0, pc} .size __memcpy,.-__memcpy + +strong_alias(__memcpy,memcpy) |