Am 19.02.2011 15:27, schrieb Albert ARIBAUD: > Le 19/02/2011 15:06, Alexander Holler a écrit : >> Am 19.02.2011 14:51, schrieb Albert ARIBAUD: >>> Le 19/02/2011 14:25, Måns Rullgård a écrit : >>> >>>>> So whats the reasoning to use -msoft-float as it is currently done? To >>>>> confuse people? ;)
>> I don't see any reason to explicitly set an option for something which >> isn't used, but I know of many reasons to avoid such. ;) > > At least there is one reason for having -msoft-float even though no > floating point should be used in U-Boot : it helps catching cases where > some code in U-Boot tries to use hard float. :) > > Think of it as choosing the least dangerous of Charybdis and Scylla, > while trying our best not to get near any of the two. Hmm, I could argue exactly the oposite. When using -msoft-float you won't find (unwanted) usages of float on any platform. To follow your argument, hard-floats should be enabled (if possible), so the usage of floats would lead to an error (at least on platforms without support for that). ;) Regards, Alexander _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot