[U-Boot] [PATCH 1/2 V2] Move libgcc inclusion from common Makefile to platform configs files

Scott Wood scottwood at freescale.com
Mon Jun 22 20:55:40 CEST 2009


On Sat, Jun 20, 2009 at 03:57:51PM +0200, Jean-Christophe PLAGNIOL-VILLARD wrote:
> I just give you example but you will see arm, mips, sh, powerpc etc...
> toolchains problem just because we use the libgcc

What problems will powerpc have due to libgcc, and why would we choose to
reinvent the wheel rather than fix the toolchain if it's not supporting
the ABI we're trying to build for?

Linking libgcc *removes* dependencies on the interface between the
compiler and those functions.  If you really want u-boot to have complete
control of the generated code, you'll have to write in assembly.

-Scott


More information about the U-Boot mailing list