# HG changeset patch # User "Yann E. MORIN" # Date 1189805460 0 # Node ID 151d753de99f437f6d98cc080d7acedd6b7f7155 # Parent 5b30e5c8e25ccdc08774cb80ce9c65f1651e807d Initial support for ARM EABI (courtesy Szilveszter Ordog ). diff -r 5b30e5c8e25c -r 151d753de99f arch/arm/config.in --- a/arch/arm/config.in Fri Sep 14 21:30:22 2007 +0000 +++ b/arch/arm/config.in Fri Sep 14 21:31:00 2007 +0000 @@ -0,0 +1,8 @@ +comment "ARM specific options" + +config ARCH_ARM_EABI + bool + prompt "Use EABI" + default n + help + Set up the toolchain so that it generates EABI-compliant binaries. diff -r 5b30e5c8e25c -r 151d753de99f arch/arm/functions --- a/arch/arm/functions Fri Sep 14 21:30:22 2007 +0000 +++ b/arch/arm/functions Fri Sep 14 21:31:00 2007 +0000 @@ -4,7 +4,13 @@ # The architecture part of the tuple: CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}" - # The system part of the tuple default values is OK. + # The system part of the tuple: + case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in + glibc,) CT_TARGET_SYS=gnu;; + glibc,y) CT_TARGET_SYS=gnueabi;; + uClibc,) CT_TARGET_SYS=uclibc;; + uClibc,y) CT_TARGET_SYS=uclibcgnueabi;; + esac - # The endianness option default value is OK. + # The endianness option default value is OK }