[U-Boot] [PATCH] arm: lib: memcpy: Do not copy to same address

Alexander Holler
2011-05-23T09:51:30Z

Am 23.05.2011 11:46, schrieb Matthias Wei?er:

>> The standard clearly say to both memory regions should not overlap when
>> memcpy() is used, so I would say this is the wrong place to fix that.
>
> Well, real world applications do this. And these two instructions
> shouldn't hurt a lot.

Real bugs to this. Just see e.g the long discussion about some changes
fo memcpy done in the glibc lately and what that did for flash-users
because flash seemed to the same stupid stuff.

Regards,

Alexander