__aeabi_uldivmod undefined for sound/soc/codecs/snd-soc-wm8974.ko, snd-soc-wm8940.ko and snd-soc-wm8510.ko
Nicolas Pitre
nicolas.pitre at linaro.org
Tue Apr 26 02:49:29 UTC 2011
On Tue, 26 Apr 2011, Michael Hope wrote:
> Yip, so the compiler spots these two lines:
> Ndiv = target / source;
> Nmod = target % source;
>
> and turns them into
> Ndiv, Nmod = __aeabi_uldivmod(target, source)
Why would gcc do that? All four variables involved here are of type
unsigned int, no unsigned long long. Seems to me that __aeabi_uidivmod
should have been used here instead.
Nicolas
More information about the linaro-toolchain
mailing list