Fix memmove and memcpy
memmove needs to allow for overlapping memory regions and, together
with memcpy, should return the input destination pointer, not the
address after the end of the copied data.

fixes ARM-software/tf-issues#18

Signed-off-by: Jon Medhurst <tixy@linaro.org>
1 parent 36eaaf3 commit c3810c83aa9158e8903e23b51616f7d7faaa63bc
@Jon Medhurst Jon Medhurst authored on 15 Jan 2014
Dan Handley committed on 30 Jan 2014
Showing 1 changed file
View
lib/stdlib/mem.c