From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Holler Date: Sat, 19 Feb 2011 16:59:44 +0100 Subject: [U-Boot] reasons for armv5 as default In-Reply-To: <4D5FE485.5030007@ahsoftware.de> References: <1298042212-12260-1-git-send-email-raghuveer.murthy@ti.com> <4D5EA603.8010402@free.fr> <4D5FC34B.5050309@ahsoftware.de> <4D5FCACA.1060606@free.fr> <4D5FCE64.8030901@ahsoftware.de> <4D5FD35D.3090609@free.fr> <4D5FD60C.6080701@ahsoftware.de> <4D5FE29A.6050609@free.fr> <4D5FE485.5030007@ahsoftware.de> Message-ID: <4D5FE8F0.1020607@ahsoftware.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 19.02.2011 16:40, schrieb Alexander Holler: > Hello, > > Am 19.02.2011 16:32, schrieb Albert ARIBAUD: > >> Granted :) -- the best option would be to have "-float-abi=none", but >> that does not exist, and I prefer to be sure that if some poor soul puts >> floating point code in U-Boot then at least it is going to work for all >> platforms, so I'll keep -msoft-float in here. > > Hmm, but as we've seen, that doesn't work for all platforms because you > can't mix softfloat and hardfloat. So using softfloat breaks building on > (default-) hardfloat platforms if some poor soul puts floating point > code in (which requires hardfloat-libraries too). > > So I still think going with the default option would be the right way to > go. ;) Btw, while we are there, is there any reason, besides being carefull, why u-boot for arm is compiled with -march=armv5(te) by default? I'm just curious if there are some reasons for not using march=amrv7a for armv7 platforms and don't want to start a discussion about removing that default. I've seen some comments about armv5, e.g. in arch/arm/cpu/armv7/omap3/cache.S, but I'm missing the knowledge to understand them. Regards, Alexander