[klibc] __builtin_clz in klibc

Heiko Carstens heiko.carstens at de.ibm.com
Mon Jun 26 13:08:21 PDT 2006


> >This looks like a common problem, because __builtin_clz is available since
> >gcc 3.4, while the kernel should compile even with gcc 3.2.
> >Looks like counting the zero bits should be done differently...
> 
> Just drop __clzdi2.o; it's not used by anything (__clzsi2.o is, however...)  I just pushed out 1.4.7 which does this.

Ok, even better. Thanks



More information about the klibc mailing list