Initial support for ARM EABI (courtesy Szilveszter Ordog <ordog@mail.thot-soft.com>).
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Fri Sep 14 21:31:00 2007 +0000 (2007-09-14)
changeset 385151d753de99f
parent 384 5b30e5c8e25c
child 386 d5c5ed1b75ef
Initial support for ARM EABI (courtesy Szilveszter Ordog <ordog@mail.thot-soft.com>).
arch/arm/config.in
arch/arm/functions
     1.1 --- a/arch/arm/config.in	Fri Sep 14 21:30:22 2007 +0000
     1.2 +++ b/arch/arm/config.in	Fri Sep 14 21:31:00 2007 +0000
     1.3 @@ -0,0 +1,8 @@
     1.4 +comment "ARM specific options"
     1.5 +
     1.6 +config ARCH_ARM_EABI
     1.7 +    bool
     1.8 +    prompt "Use EABI"
     1.9 +    default n
    1.10 +    help
    1.11 +      Set up the toolchain so that it generates EABI-compliant binaries.
     2.1 --- a/arch/arm/functions	Fri Sep 14 21:30:22 2007 +0000
     2.2 +++ b/arch/arm/functions	Fri Sep 14 21:31:00 2007 +0000
     2.3 @@ -4,7 +4,13 @@
     2.4      # The architecture part of the tuple:
     2.5      CT_TARGET_ARCH="${CT_ARCH}${target_endian_eb}"
     2.6  
     2.7 -    # The system part of the tuple default values is OK.
     2.8 +    # The system part of the tuple:
     2.9 +    case "${CT_LIBC},${CT_ARCH_ARM_EABI}" in
    2.10 +        glibc,)     CT_TARGET_SYS=gnu;;
    2.11 +        glibc,y)    CT_TARGET_SYS=gnueabi;;
    2.12 +        uClibc,)    CT_TARGET_SYS=uclibc;;
    2.13 +        uClibc,y)   CT_TARGET_SYS=uclibcgnueabi;;
    2.14 +    esac
    2.15  
    2.16 -    # The endianness option default value is OK.
    2.17 +    # The endianness option default value is OK
    2.18  }