scripts/build/arch/x86.sh
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Mar 07 11:20:27 2009 +0000 (2009-03-07)
changeset 1241 d9bcfb2d7369
parent 903 9fb0f81b4416
child 1635 5d1936ad5ba8
permissions -rw-r--r--
Re-diff the binutils-2.18.50.0.4 patches.
Breakage spotted by "Sander Visser" <Sander.Visser@evidente.se>

/trunk/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch | 19 12 7 0 ++++++---
/trunk/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch | 7 6 1 0 +++
/trunk/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch | 21 13 8 0 ++++++----
/trunk/patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch | 15 10 5 0 +++++--
4 files changed, 41 insertions(+), 21 deletions(-)
     1 # Compute x86-specific values
     2 
     3 # This one really need a little love! :-(
     4 
     5 CT_DoArchTupleValues() {
     6     # The architecture part of the tuple:
     7     arch="${CT_ARCH_ARCH}"
     8     [ -z "${arch}" ] && arch="${CT_ARCH_TUNE}"
     9     case "${arch}" in
    10         nocona|athlon*64|k8|athlon-fx|opteron)
    11             CT_DoError "Architecture is x86 (32-bit) but selected processor is \"${arch}\" (64-bit)";;
    12         "")                           CT_TARGET_ARCH=i386;;
    13         i386|i486|i586|i686)          CT_TARGET_ARCH="${arch}";;
    14         winchip*)                     CT_TARGET_ARCH=i486;;
    15         pentium|pentium-mmx|c3*)      CT_TARGET_ARCH=i586;;
    16         pentiumpro|pentium*|athlon*)  CT_TARGET_ARCH=i686;;
    17         *)                            CT_TARGET_ARCH=i586;;
    18     esac
    19 
    20     # The kernel ARCH:
    21     CT_KERNEL_ARCH=i386
    22 }