[U-Boot] [PATCH 1/2 v6] Make libgcc inclusion from common Makefile overridable by platform config file
Scott Wood
scottwood at freescale.com
Thu Jul 16 00:18:20 CEST 2009
On Mon, Jul 13, 2009 at 05:25:35AM -0400, Mike Frysinger wrote:
> On Sunday 12 July 2009 14:29:46 Wolfgang Denk wrote:
> > You mean it is impossible to build a tool chain for ARM that can be
> > used to build U-Boot, Linux, and user space code? I can't believe
> > that ARM support in GCC is that seriously broken.
>
> basically, that is correct. arm's libgcc is just that whacky because of all
> the different ABIs that exist. although citing the Linux kernel here may not
> be appropriate because they specifically avoid libgcc -- because it's so
> screwed up.
Isn't that what multilib is for?
On a related note, I wish GCC had a "no-float" option that could be used
in place of soft-float. It would be ABI-compatible with either soft or
hard float, because it doesn't use float at all (GCC would raise an error
if you try).
> last i looked, some of the math functions in arm's libgcc depended on C
> library functions (like raise() and abort()). this is the kind of stuff Jean
> is trying to avoid.
It seems pretty reasonable for U-Boot to provide functions like
raise()/abort() that take the place of a hardware exception, and display
an error message.
-Scott
More information about the U-Boot
mailing list