* Ralf Baechle <ralf@xxxxxxxxxxxxxx> [2006-01-17 19:08]: > > > arch/mips/kernel/built-in.o: In function `time_init': > > > : undefined reference to `__lshrdi3' > > Thanks to Martin Michlmayr's testing I now know this problem is limited > to kernels built with gcc 4.0 and newer when optimizing for size. ... > There is an awful lot of libgcc bits flying around in the kernel and I guess > I'd be flamed for submitting even more ;-) so I tried to come up with > something to make most if not all unnecessary. Still needs a little > polishing but below for testing and commenting. I think you've cleaned it up in the meantime. Can you please send the patch to lkml as a RFC? -- Martin Michlmayr http://www.cyrius.com/