[Buildroot] [PATCH] uClibc: ARC: enable generic string implementations

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Nov 12 14:18:48 UTC 2014


Dear Alexey Brodkin,

On Wed, 12 Nov 2014 13:54:11 +0000, Alexey Brodkin wrote:

> > If nobody cares, then we just enable the option. And people will
> > complain when/if it breaks for them.
> 
> So should I wait for some time or it's time to send a patch that enables
> the option for everybody in uClibc-*.config?

I'd say yes. The uClibc Config.in help text for this option recommends
to enable it, and it defaults to y, so I think it's pretty safe.

Regarding ARC, I see that there are arch-specific optimized string
functions in libc/string/arc/, written in assembly. So by enabling
GENERIC_OPT, what you gained is that you have optimized versions for
those functions that don't have an ARC-specific assembly implementation?

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com


More information about the buildroot mailing list