From mboxrd@z Thu Jan 1 00:00:00 1970 From: Johannes Stezenbach Date: Sat, 3 Nov 2007 23:20:59 +0100 Subject: [U-Boot-Users] [patch 2/3] KB9202 EABI build with CodeSourcery EABI toolchain In-Reply-To: <20071103212805.2A41724756@gemini.denx.de> References: <20071025161107.465063527@sig21.net> <20071103212805.2A41724756@gemini.denx.de> Message-ID: <20071103222059.GA17877@sig21.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, Nov 03, 2007, Wolfgang Denk wrote: > In message <20071025161107.465063527@sig21.net> you wrote: > > KB9202 EABI build with CodeSourcery EABI toolchain > > (arm-2007q3-51-arm-none-linux-gnueabi) > > > > Signed-off-by: Johannes Stezenbach > > > > diff -r 1f24112792e7 -r aeff4cd3d1be cpu/arm920t/config.mk > > --- a/cpu/arm920t/config.mk Fri Oct 19 18:34:12 2007 +0200 > > +++ b/cpu/arm920t/config.mk Fri Oct 19 18:35:39 2007 +0200 > > @@ -24,11 +24,10 @@ PLATFORM_RELFLAGS += -fno-strict-aliasin > > PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ > > -msoft-float > > > > -PLATFORM_CPPFLAGS += -march=armv4 > > +PLATFORM_CPPFLAGS += -march=armv4t > > # ========================================================================= > > # > > # Supply options according to compiler version > > # > > # ========================================================================= > > -PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu) > > PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,)) > > Did you test this modification with other tool chains? Which ones? > Which compiler / binutils versions? No, I only tested with the toolchain ARM Ltd. recommends, and the patch was originally created against the U-Boot version with ARM offers for download (but tested against 1.3.0-rc3). http://www.arm.com/products/os/linux.html http://www.arm.com/linux/U-Boot-src.tar.gz The arm-2007q3-51 toolchain has: * binutils-2.18.50.20070820 * gcc-4.2.1 * glibc-2.5 * gdb-6.6.50.20070821-cvs Maybe the ARM custodian can comment. Thanks, Johannes