From: Jon Loeliger Date: Wed, 15 Dec 2004 16:44:23 -0600 Subject: [U-Boot-Users] MPC85xx config.mk patch for -mno-string In-Reply-To: <20041215223349.6C08EC1430@atlas.denx.de> References: <20041215223349.6C08EC1430@atlas.denx.de> Message-ID: <1103150663.32048.9.camel@cashmere.sps.mot.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 2004-12-15 at 16:33, Wolfgang Denk wrote: > In message <1103053896.29431.8.camel@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