[PATCH] string/microblaze: Fix for little-endian

Daniel Murphy yebblies at gmail.com
Tue Aug 27 08:05:35 UTC 2013


Steve Bennett <steveb <at> workware.net.au> writes:

> 
> Fix the asm-optimised memcpy and memmove so they
> work for little-endian as well as big-endian.
> 
> Testing has shown no issues, but I am not a microblaze
> asm expert so YMMV.
> 

For future reference, this works, but for soft-fp to work you also need to add 
-DSWAP to the list of extra CFLAGS (libc/sysdeps/linux/microblaze/floatlib.h 
depends on it)

Daniel.



More information about the uClibc mailing list