[U-Boot] [RFC][PATCH] ARMV7: Patch to fix hard float build issues
Wolfgang Denk
wd at denx.de
Sat Feb 19 20:26:52 CET 2011
Dear =?iso-8859-1?Q?M=E5ns_Rullg=E5rd?=,
In message <yw1x7hcw5f6w.fsf at unicorn.mansr.com> you wrote:
>
> > So whats the reasoning to use -msoft-float as it is currently done? To
> > confuse people? ;)
>
> I guess it's there to make sure no floating-point instructions make it
> into u-boot, even though floats are not used in the code. Perhaps
> someone was paranoid.
No. There are pretty good reasons to use -msoft-float. On some
systems certain versions of GCC will optimize certain operations
(usually corresponding to 8 byte memory copy things) by using FP
registers.
-msoft-float prevents that.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Life would be so much easier if we could just look at the source
code. -- Dave Olson
More information about the U-Boot
mailing list