commit | 8a0f0ed5e7c2bc5665583db646876808cc3c2bc7 | [log] [tgz] |
---|---|---|
author | Haibo Huang <hhb@google.com> | Thu May 24 20:39:18 2018 -0700 |
committer | Haibo Huang <hhb@google.com> | Mon Jun 11 18:12:45 2018 +0000 |
tree | e37fb7e4c3706931a9bfde2d865b4d90589610f6 | |
parent | 42596b7bf0652e44edff0370f75e1d5387c5cc7b [diff] [blame] |
Make memcpy memmove Bug: http://b/63992911 Test: Change BoardConfig.mk and compile for each variant Change-Id: Ia0cc68d8e90e3316ddb2e9ff1555a009b6a0c5be
diff --git a/libc/arch-x86/silvermont/string/sse2-memmove-slm.S b/libc/arch-x86/silvermont/string/sse2-memmove-slm.S index bf9f85d..ceada1b 100644 --- a/libc/arch-x86/silvermont/string/sse2-memmove-slm.S +++ b/libc/arch-x86/silvermont/string/sse2-memmove-slm.S
@@ -67,6 +67,12 @@ cfi_startproc #endif +#ifndef ALIAS_SYMBOL +# define ALIAS_SYMBOL(alias, original) \ + .globl alias; \ + .equ alias, original +#endif + #ifndef END # define END(name) \ cfi_endproc; \ @@ -537,3 +543,5 @@ jmp L(mm_recalc_len) END (MEMMOVE) + +ALIAS_SYMBOL(memcpy, MEMMOVE)