mips: fix memmove() call when __ARCH_HAS_BWD_MEMCPY__ is not defined
commit785dee78552f9ad06819bf7eb1adc05b43110842
authorPetar Jovanovic <petar.jovanovic@rt-rk.com>
Mon, 6 May 2019 13:29:02 +0000 (6 13:29 +0000)
committerWaldemar Brodkorb <wbx@openadk.org>
Mon, 27 May 2019 12:54:52 +0000 (27 14:54 +0200)
tree7df9f5859683ddb93c47350bd1b92cc0037b5614
parentc2eaf6c30d930b65a8bcf5f912ef8873a6f4eb20
mips: fix memmove() call when __ARCH_HAS_BWD_MEMCPY__ is not defined

When arch (such as MIPS) does not define __ARCH_HAS_BWD_MEMCPY__, memmove()
calls memcpy() which is wrong for overlapping regions.

Signed-off-by: Petar Jovanovic <petar.jovanovic@rt-rk.com>
libc/string/generic/memmove.c