
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 js@sig21.net
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