[PATCH] [POWERPC] Fix kernel builds with newer gcc versions and -Os

Scott Wood scottwood at freescale.com
Sat May 3 07:45:45 EST 2008


David Miller wrote:
> If you link in libgcc, all of a sudden you have a whole new class of
> potential problems, don't do it.
> 
> All it takes is one of these libgcc libcalls the kernel actually
> references, needing something else in libc, to make this exercise
> futile.

What in libgcc references libc, and why isn't this a problem for 
Linux/ARM, Linux/SH, U-boot, and the many other libc-less programs that 
use libgcc?

-Scott



More information about the Linuxppc-dev mailing list