On 20/09/2012, at 7:13 PM, Bernhard Reutner-Fischer wrote: > On 20 September 2012 04:03:27 Steve Bennett <ste...@workware.net.au> wrote: >> Hi All, >> >> It turns out that the asm-optimised implementations of memcpy/memmove >> for microblaze in libc/string/microblaze/memcpy.S are big-endian only. >> >> When building little-endian I would like to select the generic C >> implementation instead. >> >> Anybody familiar enough with the uClibc build system to tell me how >> I can select the correct implementation? > > Ideally implement optimized LE versions. Otherwise make the optimized version > depend on !(ARCH_MICROBLAZE && CONFIG_LITTLEENDIAN).
Yes, that would be ideal. My microblaze assembler isn't up to it, though :-( Where do I add the check? All the work is done in libc/string/Makefile.in to select the generic version or the arch-specific version. Surely we don't want anything arch-specific in there. So where? Cheers, Steve -- Embedded Systems Specialists - http://workware.net.au/ WorkWare Systems Pty Ltd W: www.workware.net.au P: +61 434 921 300 E: ste...@workware.net.au F: +61 7 3391 6002 _______________________________________________ uClibc mailing list uClibc@uclibc.org http://lists.busybox.net/mailman/listinfo/uclibc