Merge from branches/ia64@476 : add ia64 preliminary support.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Sep 11 17:24:09 2007 +0000 (2007-09-11)
changeset 37334612b693dde
parent 372 f635b165bf18
child 374 3538bcdf24cf
Merge from branches/ia64@476 : add ia64 preliminary support.
config/target.in
samples/ia64-unknown-linux-gnu/crosstool.config
scripts/functions
     1.1 --- a/config/target.in	Tue Sep 11 17:14:28 2007 +0000
     1.2 +++ b/config/target.in	Tue Sep 11 17:24:09 2007 +0000
     1.3 @@ -7,6 +7,7 @@
     1.4  config ARCH
     1.5      string
     1.6      default "arm"     if ARCH_ARM
     1.7 +    default "ia64"    if ARCH_IA64
     1.8      default "mips"    if ARCH_MIPS
     1.9      default "x86"     if ARCH_x86
    1.10      default "x86_64"  if ARCH_x86_64
    1.11 @@ -22,6 +23,12 @@
    1.12      select ARCH_SUPPORTS_BOTH_ENDIAN
    1.13      select ARCH_DEFAULT_LE
    1.14  
    1.15 +config ARCH_IA64
    1.16 +    bool
    1.17 +    prompt "ia64 (EXPERIMENTAL)"
    1.18 +    depends on EXPERIMENTAL
    1.19 +    select ARCH_SUPPORTS_BOTH_ENDIAN
    1.20 +
    1.21  config ARCH_MIPS
    1.22      bool
    1.23      prompt "mips"
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/samples/ia64-unknown-linux-gnu/crosstool.config	Tue Sep 11 17:24:09 2007 +0000
     2.3 @@ -0,0 +1,244 @@
     2.4 +#
     2.5 +# Automatically generated make config: don't edit
     2.6 +# crosstool-NG version: 0.3.0+svn
     2.7 +# Sat Sep  1 17:18:25 2007
     2.8 +#
     2.9 +# CT_FOOBAR is not set
    2.10 +
    2.11 +#
    2.12 +# Paths and misc options
    2.13 +#
    2.14 +
    2.15 +#
    2.16 +# crosstool-NG behavior
    2.17 +#
    2.18 +CT_OBSOLETE=y
    2.19 +CT_EXPERIMENTAL=y
    2.20 +# CT_BROKEN is not set
    2.21 +CT_DEBUG_CT=y
    2.22 +# CT_DEBUG_CT_PAUSE_STEPS is not set
    2.23 +CT_DEBUG_CT_SAVE_STEPS=y
    2.24 +CT_DEBUG_CT_SAVE_STEPS_GZIP=y
    2.25 +
    2.26 +#
    2.27 +# Build behavior
    2.28 +#
    2.29 +CT_PARALLEL_JOBS=1
    2.30 +CT_LOAD=0
    2.31 +CT_NICE=0
    2.32 +CT_USE_PIPES=y
    2.33 +
    2.34 +#
    2.35 +# Paths
    2.36 +#
    2.37 +CT_LOCAL_TARBALLS_DIR="${HOME}/dev/src"
    2.38 +CT_SAVE_TARBALLS=y
    2.39 +CT_PREFIX_DIR="${HOME}/${CT_TARGET}"
    2.40 +CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    2.41 +# CT_CUSTOM_PATCH is not set
    2.42 +# CT_REMOVE_DOCS is not set
    2.43 +# CT_INSTALL_DIR_RO is not set
    2.44 +
    2.45 +#
    2.46 +# Downloading
    2.47 +#
    2.48 +# CT_FORCE_DOWNLOAD is not set
    2.49 +# CT_ONLY_DOWNLOAD is not set
    2.50 +
    2.51 +#
    2.52 +# Extracting
    2.53 +#
    2.54 +# CT_FORCE_EXTRACT is not set
    2.55 +# CT_ONLY_EXTRACT is not set
    2.56 +
    2.57 +#
    2.58 +# Logging
    2.59 +#
    2.60 +# CT_LOG_ERROR is not set
    2.61 +# CT_LOG_WARN is not set
    2.62 +# CT_LOG_INFO is not set
    2.63 +CT_LOG_EXTRA=y
    2.64 +# CT_LOG_DEBUG is not set
    2.65 +# CT_LOG_ALL is not set
    2.66 +CT_LOG_LEVEL_MAX="EXTRA"
    2.67 +# CT_LOG_SEE_TOOLS_WARN is not set
    2.68 +CT_LOG_PROGRESS_BAR=y
    2.69 +CT_LOG_TO_FILE=y
    2.70 +CT_LOG_FILE_COMPRESS=y
    2.71 +
    2.72 +#
    2.73 +# Target options
    2.74 +#
    2.75 +
    2.76 +#
    2.77 +# General target options
    2.78 +#
    2.79 +CT_ARCH="ia64"
    2.80 +# CT_ARCH_ARM is not set
    2.81 +CT_ARCH_IA64=y
    2.82 +# CT_ARCH_MIPS is not set
    2.83 +# CT_ARCH_x86 is not set
    2.84 +# CT_ARCH_x86_64 is not set
    2.85 +CT_ARCH_SUPPORTS_BOTH_ENDIAN=y
    2.86 +# CT_ARCH_DEFAULT_BE is not set
    2.87 +# CT_ARCH_DEFAULT_LE is not set
    2.88 +# CT_ARCH_BE is not set
    2.89 +CT_ARCH_LE=y
    2.90 +
    2.91 +#
    2.92 +# Target optimisations
    2.93 +#
    2.94 +CT_ARCH_ARCH=""
    2.95 +CT_ARCH_ABI=""
    2.96 +CT_ARCH_CPU=""
    2.97 +CT_ARCH_TUNE=""
    2.98 +CT_ARCH_FPU=""
    2.99 +CT_ARCH_FLOAT_HW=y
   2.100 +# CT_ARCH_FLOAT_SW is not set
   2.101 +CT_TARGET_CFLAGS=""
   2.102 +
   2.103 +#
   2.104 +# Toolchain options
   2.105 +#
   2.106 +
   2.107 +#
   2.108 +# General toolchain options
   2.109 +#
   2.110 +CT_USE_SYSROOT=y
   2.111 +CT_SHARED_LIBS=y
   2.112 +# CT_THREADS_NPTL is not set
   2.113 +CT_THREADS_LINUXTHREADS=y
   2.114 +# CT_THREADS_NONE is not set
   2.115 +CT_THREADS="linuxthreads"
   2.116 +CT_TARGET_VENDOR="unknown"
   2.117 +CT_TARGET_ALIAS_SED_EXPR=""
   2.118 +CT_TARGET_ALIAS=""
   2.119 +
   2.120 +#
   2.121 +# Toolchain type
   2.122 +#
   2.123 +# CT_NATIVE is not set
   2.124 +CT_CROSS=y
   2.125 +# CT_CROSS_NATIVE is not set
   2.126 +# CT_CANADIAN is not set
   2.127 +CT_TOOLCHAIN_TYPE="cross"
   2.128 +CT_BUILD=""
   2.129 +CT_CC_NATIVE="gcc"
   2.130 +
   2.131 +#
   2.132 +# Kernel
   2.133 +#
   2.134 +CT_KERNEL_LINUX=y
   2.135 +CT_KERNEL_VERSION="2.6.22.5"
   2.136 +CT_KERNEL_LINUX_HEADERS_INSTALL=y
   2.137 +# CT_KERNEL_LINUX_HEADERS_SANITISED is not set
   2.138 +# CT_KERNEL_LINUX_HEADERS_COPY is not set
   2.139 +# CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR is not set
   2.140 +CT_KERNEL="linux"
   2.141 +CT_KERNEL_VERSION_SEE_EXTRAVERSION=y
   2.142 +# CT_KERNEL_INSTALL_V_2_6_18_8 is not set
   2.143 +# CT_KERNEL_INSTALL_V_2_6_19_7 is not set
   2.144 +# CT_KERNEL_INSTALL_V_2_6_20_15 is not set
   2.145 +# CT_KERNEL_INSTALL_V_2_6_21_7 is not set
   2.146 +# CT_KERNEL_INSTALL_V_2_6_22 is not set
   2.147 +# CT_KERNEL_INSTALL_V_2_6_22_1 is not set
   2.148 +# CT_KERNEL_INSTALL_V_2_6_22_2 is not set
   2.149 +# CT_KERNEL_INSTALL_V_2_6_22_3 is not set
   2.150 +# CT_KERNEL_INSTALL_V_2_6_22_4 is not set
   2.151 +CT_KERNEL_INSTALL_V_2_6_22_5=y
   2.152 +# CT_KERNEL_LINUX_HEADERS_INSTALL_CHECK is not set
   2.153 +CT_KERNEL_LINUX_VERBOSITY_0=y
   2.154 +# CT_KERNEL_LINUX_VERBOSITY_1 is not set
   2.155 +# CT_KERNEL_LINUX_VERBOSITY_2 is not set
   2.156 +CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   2.157 +# CT_KERNEL_LINUX_NEEDS_CONFIG is not set
   2.158 +
   2.159 +#
   2.160 +# binutils
   2.161 +#
   2.162 +CT_BINUTILS_VERSION="2.18"
   2.163 +# CT_BINUTILS_V_2_14 is not set
   2.164 +# CT_BINUTILS_V_2_15 is not set
   2.165 +# CT_BINUTILS_V_2_16_1 is not set
   2.166 +# CT_BINUTILS_V_2_17 is not set
   2.167 +# CT_BINUTILS_V_2_17_50_0_10 is not set
   2.168 +# CT_BINUTILS_V_2_17_50_0_15 is not set
   2.169 +# CT_BINUTILS_V_2_17_50_0_17 is not set
   2.170 +# CT_BINUTILS_V_2_17_50_0_18 is not set
   2.171 +CT_BINUTILS_V_2_18=y
   2.172 +CT_BINUTILS_EXTRA_CONFIG=""
   2.173 +
   2.174 +#
   2.175 +# C compiler
   2.176 +#
   2.177 +CT_CC_GCC=y
   2.178 +CT_CC_VERSION="3.4.6"
   2.179 +CT_CC="gcc"
   2.180 +# CT_CC_V_2_95_3 is not set
   2.181 +# CT_CC_V_3_2_3 is not set
   2.182 +# CT_CC_V_3_3_6 is not set
   2.183 +CT_CC_V_3_4_6=y
   2.184 +# CT_CC_V_4_0_0 is not set
   2.185 +# CT_CC_V_4_0_1 is not set
   2.186 +# CT_CC_V_4_0_2 is not set
   2.187 +# CT_CC_V_4_0_3 is not set
   2.188 +# CT_CC_V_4_0_4 is not set
   2.189 +# CT_CC_V_4_1_0 is not set
   2.190 +# CT_CC_V_4_1_1 is not set
   2.191 +# CT_CC_V_4_1_2 is not set
   2.192 +# CT_CC_V_4_2_0 is not set
   2.193 +# CT_CC_V_4_2_1 is not set
   2.194 +CT_CC_CXA_ATEXIT=y
   2.195 +CT_CC_CORE_EXTRA_CONFIG=""
   2.196 +CT_CC_EXTRA_CONFIG=""
   2.197 +CT_CC_SUPPORT_CXX=y
   2.198 +CT_CC_SUPPORT_FORTRAN=y
   2.199 +CT_CC_SUPPORT_JAVA=y
   2.200 +CT_CC_SUPPORT_ADA=y
   2.201 +CT_CC_SUPPORT_OBJC=y
   2.202 +CT_CC_SUPPORT_OBJCXX=y
   2.203 +
   2.204 +#
   2.205 +# Additionnal supported languages:
   2.206 +#
   2.207 +# CT_CC_LANG_CXX is not set
   2.208 +# CT_CC_LANG_FORTRAN is not set
   2.209 +# CT_CC_LANG_JAVA is not set
   2.210 +# CT_CC_LANG_ADA is not set
   2.211 +# CT_CC_LANG_OBJC is not set
   2.212 +# CT_CC_LANG_OBJCXX is not set
   2.213 +CT_CC_LANG_OTHERS=""
   2.214 +
   2.215 +#
   2.216 +# C-library
   2.217 +#
   2.218 +CT_LIBC_GLIBC=y
   2.219 +# CT_LIBC_UCLIBC is not set
   2.220 +CT_LIBC_VERSION="2.3.6"
   2.221 +CT_LIBC="glibc"
   2.222 +CT_LIBC_SUPPORT_NPTL=y
   2.223 +CT_LIBC_SUPPORT_LINUXTHREADS=y
   2.224 +CT_LIBC_V_2_3_6=y
   2.225 +# CT_LIBC_V_2_5 is not set
   2.226 +# CT_LIBC_V_2_5_1 is not set
   2.227 +# CT_LIBC_V_2_6 is not set
   2.228 +# CT_LIBC_V_2_6_1 is not set
   2.229 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
   2.230 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   2.231 +CT_LIBC_EXTRA_CC_ARGS=""
   2.232 +CT_LIBC_GLIBC_CONFIGPARMS=""
   2.233 +# CT_LIBC_GLIBC_USE_PORTS is not set
   2.234 +# CT_LIBC_ADDONS is not set
   2.235 +
   2.236 +#
   2.237 +# Tools facilities
   2.238 +#
   2.239 +# CT_SSTRIP is not set
   2.240 +
   2.241 +#
   2.242 +# Debug facilities
   2.243 +#
   2.244 +# CT_DMALLOC is not set
   2.245 +# CT_DUMA is not set
   2.246 +# CT_GDB is not set
   2.247 +# CT_STRACE is not set
     3.1 --- a/scripts/functions	Tue Sep 11 17:14:28 2007 +0000
     3.2 +++ b/scripts/functions	Tue Sep 11 17:24:09 2007 +0000
     3.3 @@ -493,6 +493,7 @@
     3.4      esac
     3.5      case "${CT_ARCH}" in
     3.6          arm)  CT_TARGET="${CT_ARCH}${target_endian_eb}";;
     3.7 +        ia64) CT_TARGET="${CT_ARCH}";;
     3.8          mips) CT_TARGET="${CT_ARCH}${target_endian_el}";;
     3.9          x86*) # Much love for this one :-(
    3.10                arch="${CT_ARCH_ARCH}"