[U-Boot] [RFC] fix break caused by new binutils

Wolfgang Denk wd at denx.de
Mon Jan 24 20:14:01 CET 2011


Dear Steve Sakoman,

In message <1295895368.1999.14.camel at quadra> you wrote:
> On Mon, 2011-01-24 at 19:36 +0100, Víctor Manuel Jáquez Leal wrote:
> > According with this discussion [1] the new assemblers need
> > -march=armv7-a+sec on command line or .arch_extension sec inline to
> > enable use of the smc instruction.
> > 
> > In the sakoman's u-boot repository there is branch for the omap4 [2]
> > which uses the smc instruction with the -march=armv7-a, and it will
> > not compile with the latest binutils (2.21)
> 
> Just to clarify -- my branch has Aneesh's "armv7: adapt omap4 to the new
> cache maintenance framework" patch series in it.
> 
> So this issue will arise only when Aneesh's patch series is applied.

I have a bsic question: do we really need  -march=armv7-a  at all in
U-Boot?  What is it good for?

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
"It may be that our role on this planet is not to worship God but  to
create him."                                       - Arthur C. Clarke


More information about the U-Boot mailing list