arch/x86/functions
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 24 16:24:09 2008 +0000 (2008-06-24)
changeset 611 eac4dc8da8a9
parent 383 f00eb97ff649
permissions -rw-r--r--
New patches from Ioannis E. VENETIS to allow building more up-to-date Alpha x-compilers.
Some patches are still missing, though.
See: http://sourceware.org/ml/libc-help/2008-06/msg00061.html

/trunk/patches/glibc/2.5.1/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5.1/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/2.5/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/linuxthreads-2.3.6/270-glibc-linuxthreads-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.2/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.3/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
11 files changed, 225 insertions(+)
yann@383
     1
# Compute x86-specific values
yann@383
     2
yann@383
     3
# This one really need a little love! :-(
yann@383
     4
yann@383
     5
CT_DoArchValues() {
yann@383
     6
    # The architecture part of the tuple:
yann@383
     7
    arch="${CT_ARCH_ARCH}"
yann@383
     8
    [ -z "${arch}" ] && arch="${CT_ARCH_TUNE}"
yann@383
     9
    case "${arch}" in
yann@383
    10
        nocona|athlon*64|k8|athlon-fx|opteron)
yann@383
    11
            CT_DoError "Architecture is x86 (32-bit) but selected processor is \"${arch}\" (64-bit)";;
yann@383
    12
        "")                           CT_TARGET_ARCH=i386;;
yann@383
    13
        i386|i486|i586|i686)          CT_TARGET_ARCH="${arch}";;
yann@383
    14
        winchip*)                     CT_TARGET_ARCH=i486;;
yann@383
    15
        pentium|pentium-mmx|c3*)      CT_TARGET_ARCH=i586;;
yann@383
    16
        pentiumpro|pentium*|athlon*)  CT_TARGET_ARCH=i686;;
yann@383
    17
        *)                            CT_TARGET_ARCH=i586;;
yann@383
    18
    esac
yann@383
    19
yann@387
    20
    # The kernel ARCH:
yann@387
    21
    CT_KERNEL_ARCH=i386
yann@383
    22
}