[U-Boot] [PATCH] Switch from archive libraries to partial linking
Scott Wood
scottwood at freescale.com
Tue Jan 25 21:05:47 CET 2011
On Tue, 25 Jan 2011 11:49:53 -0600
Kumar Gala <galak at kernel.crashing.org> wrote:
>
> On Jan 25, 2011, at 10:40 AM, Timur Tabi wrote:
>
> > Kumar Gala wrote:
> >> Actually we've dealt with this already:
> >>
> >> commit ce82ff05388b5ddafdf6082ef0776cce72c40b1c
> >> Author: Yuri Tikhonov <yur at emcraft.com>
> >> Date: Sat Dec 20 14:54:21 2008 +0300
> >>
> >> FPU POST: fix warnings when building with 2.18 binutils
> >
> > Why don't we compile all of U-Boot with hard float by default? What's wrong
> > with using floating point instructions in U-Boot?
>
> * still have to deal with cores that dont have FP
On cores that have FP (at least those that support the FPU POST, and
which are currently having problems), use hard float, enable
MSR[FP] or equivalent, and let GCC use FP for various tasks if it
wants. This shouldn't involve much more complexity than adding a
small amount of init, which you'd need for the POST anyway.
On cores that don't have FP, use soft float, and don't include
the FPU POST code. This should not be any different than today, except
for adding another compiler flag that depends on the build target.
-Scott
More information about the U-Boot
mailing list