From: Jon Loeliger Date: Tue, 14 Dec 2004 13:51:37 -0600 Subject: [U-Boot-Users] MPC85xx config.mk patch for -mno-string Message-ID: <1103053896.29431.8.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 Wolfgang, Taking Junita Ajith suggestion, here is a patch to the MPC85XX ADS and CDS config.mk file to add the -mno-string option. Verifed working using gcc version 3.3.3 (Yellow Dog Linux 3.3.3-16.ydl.4). Thanks, jdl * Patch by Jon Loeliger, 14-Dec-2004: Force MPC85xx build to use -mno-string as e500 core doesn't implement string instructions. Index: cpu/mpc85xx/config.mk =================================================================== RCS file: /cm/vault/u-boot/u-boot/cpu/mpc85xx/config.mk,v retrieving revision 1.1.1.1 diff -u -r1.1.1.1 config.mk --- cpu/mpc85xx/config.mk 17 Nov 2003 21:14:39 -0000 1.1.1.1 +++ cpu/mpc85xx/config.mk 14 Dec 2004 17:31:21 -0000 @@ -23,4 +23,6 @@ PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx -DCONFIG_E500 -ffixed-r2 -ffixed-r29 -Wa,-me500 -msoft-float +PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx -DCONFIG_E500 \ + -ffixed-r2 -ffixed-r29 -mno-string\ + -Wa,-me500 -msoft-float