Change memcpy ifunc to return memmove for x86
It is cleaner to do this with ifunc. This is a partial revert of:
https://android-review.googlesource.com/c/platform/bionic/+/693863
Test: run bionic unit test
Change-Id: I5fb5745fc98807805aedb94b683e959e2a76a25d
diff --git a/libc/arch-x86/static_function_dispatch.S b/libc/arch-x86/static_function_dispatch.S
index 5f879ed..7e8e63d 100644
--- a/libc/arch-x86/static_function_dispatch.S
+++ b/libc/arch-x86/static_function_dispatch.S
@@ -36,7 +36,7 @@
FUNCTION_DELEGATE(memcmp, memcmp_generic)
FUNCTION_DELEGATE(memset, memset_generic)
FUNCTION_DELEGATE(__memset_chk, __memset_chk_generic)
-FUNCTION_DELEGATE(memcpy, memcpy_generic)
+FUNCTION_DELEGATE(memcpy, memmove_generic)
FUNCTION_DELEGATE(memmove, memmove_generic)
FUNCTION_DELEGATE(strcpy, strcpy_generic)
FUNCTION_DELEGATE(strncpy, strncpy_generic)