On 20 September 2012 11:19:48 Steve Bennett <ste...@workware.net.au> wrote:

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?

In config.in, either the generic one or the arch specific one.


Sent with AquaMail for Android
http://www.aqua-mail.com


_______________________________________________
uClibc mailing list
uClibc@uclibc.org
http://lists.busybox.net/mailman/listinfo/uclibc

Reply via email to