[U-Boot-Users] MPC85xx config.mk patch for -mno-string

Jon Loeliger jdl at freescale.com
Wed Dec 15 23:44:23 CET 2004


On Wed, 2004-12-15 at 16:33, Wolfgang Denk wrote:
> In message <1103053896.29431.8.camel at cashmere.sps.mot.com> you wrote:
> > 
> > * Patch by Jon Loeliger, 14-Dec-2004:
> >   Force MPC85xx build to use -mno-string as e500 core doesn't
> >   implement string instructions.
> 
> Why do we need this? GCC 3.3.3 (DENX ELDK 3.1 3.3.3-8)  compiles  the
> same  code without problems. Where are the string instructions coming
> from?

Well, technically, we really shouldn't _need_ to do this.
It's really being done as a safety issue.  Well, that and
I'm going to use the "Also, 85xx Linux does this too." defense. :-)

I don't recall if Junita Ajith indicated what compiler he(?)
used, but ELDK-3.1 was mentioned with a claim that it was
needed for his build.

> Wolfgang Denk

jdl






More information about the U-Boot mailing list