Preliminary Alpha support, courtesy Ioannis E. Venetis <venetis@capsl.udel.edu>.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sat Jun 14 20:57:57 2008 +0000 (2008-06-14)
changeset 557595b2ff3fbf4
parent 556 68c8c1b91269
child 558 6180835f7044
Preliminary Alpha support, courtesy Ioannis E. Venetis <venetis@capsl.udel.edu>.

/trunk/docs/CREDITS | 3 3 0 0 +
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 282 282 0 0 +++++++++++++++++++
/trunk/config/target.in | 9 9 0 0 +
/trunk/arch/alpha/functions | 9 9 0 0 +
/trunk/arch/alpha/config.in | 58 58 0 0 ++++
5 files changed, 361 insertions(+)
arch/alpha/config.in
arch/alpha/functions
config/target.in
docs/CREDITS
samples/alphaev56-unknown-linux-gnu/crosstool.config
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/arch/alpha/config.in	Sat Jun 14 20:57:57 2008 +0000
     1.3 @@ -0,0 +1,58 @@
     1.4 +# Alpha specific configuration file
     1.5 +
     1.6 +comment "Alpha specific configuration"
     1.7 +
     1.8 +choice
     1.9 +    bool
    1.10 +    prompt "Variant"
    1.11 +
    1.12 +config ARCH_ALPHA_EV4
    1.13 +    bool
    1.14 +    prompt "EV4"
    1.15 +
    1.16 +config ARCH_ALPHA_EV45
    1.17 +    bool
    1.18 +    prompt "EV45"
    1.19 +
    1.20 +config ARCH_ALPHA_EV5
    1.21 +    bool
    1.22 +    prompt "EV5"
    1.23 +
    1.24 +config ARCH_ALPHA_EV56
    1.25 +    bool
    1.26 +    prompt "EV56"
    1.27 +
    1.28 +config ARCH_ALPHA_EV6
    1.29 +    bool
    1.30 +    prompt "EV6"
    1.31 +
    1.32 +config ARCH_ALPHA_EV67
    1.33 +    bool
    1.34 +    prompt "EV67"
    1.35 +
    1.36 +endchoice
    1.37 +
    1.38 +config ARCH_ALPHA_VARIANT
    1.39 +    string
    1.40 +    default "ev4"   if ARCH_ALPHA_EV4
    1.41 +    default "ev45"  if ARCH_ALPHA_EV45
    1.42 +    default "ev5"   if ARCH_ALPHA_EV5
    1.43 +    default "ev56"  if ARCH_ALPHA_EV56
    1.44 +    default "ev6"   if ARCH_ALPHA_EV6
    1.45 +    default "ev67"  if ARCH_ALPHA_EV67
    1.46 +
    1.47 +config ARCH_CPU
    1.48 +    default "ev4"   if ARCH_ALPHA_EV4
    1.49 +    default "ev45"  if ARCH_ALPHA_EV45
    1.50 +    default "ev5"   if ARCH_ALPHA_EV5
    1.51 +    default "ev56"  if ARCH_ALPHA_EV56
    1.52 +    default "ev6"   if ARCH_ALPHA_EV6
    1.53 +    default "ev67"  if ARCH_ALPHA_EV67
    1.54 +
    1.55 +config ARCH_TUNE
    1.56 +    default "ev4"   if ARCH_ALPHA_EV4
    1.57 +    default "ev45"  if ARCH_ALPHA_EV45
    1.58 +    default "ev5"   if ARCH_ALPHA_EV5
    1.59 +    default "ev56"  if ARCH_ALPHA_EV56
    1.60 +    default "ev6"   if ARCH_ALPHA_EV6
    1.61 +    default "ev67"  if ARCH_ALPHA_EV67
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/arch/alpha/functions	Sat Jun 14 20:57:57 2008 +0000
     2.3 @@ -0,0 +1,9 @@
     2.4 +# Compute Alpha-specific values
     2.5 +
     2.6 +CT_DoArchValues () {
     2.7 +    # The architecture part of the tuple:
     2.8 +    CT_TARGET_ARCH="${CT_ARCH}${CT_ARCH_ALPHA_VARIANT}"
     2.9 +
    2.10 +    # The kernel ARCH:
    2.11 +    CT_KERNEL_ARCH=${CT_ARCH}
    2.12 +}
     3.1 --- a/config/target.in	Sat Jun 14 14:04:54 2008 +0000
     3.2 +++ b/config/target.in	Sat Jun 14 20:57:57 2008 +0000
     3.3 @@ -6,6 +6,7 @@
     3.4  
     3.5  config ARCH
     3.6      string
     3.7 +    default "alpha"   if ARCH_ALPHA
     3.8      default "arm"     if ARCH_ARM
     3.9      default "ia64"    if ARCH_IA64
    3.10      default "mips"    if ARCH_MIPS
    3.11 @@ -19,6 +20,11 @@
    3.12      prompt "Target architecture:"
    3.13      default ARCH_x86
    3.14  
    3.15 +config ARCH_ALPHA
    3.16 +    bool
    3.17 +    prompt "alpha (EXPERIMENTAL)"
    3.18 +    depends on EXPERIMENTAL
    3.19 +
    3.20  config ARCH_ARM
    3.21      bool
    3.22      prompt "arm"
    3.23 @@ -88,6 +94,9 @@
    3.24  endchoice
    3.25  
    3.26  # Include architecture-specific configuration
    3.27 +if ARCH_ALPHA
    3.28 +source config/arch/alpha/config.in
    3.29 +endif
    3.30  if ARCH_ARM
    3.31  source config/arch/arm/config.in
    3.32  endif
     4.1 --- a/docs/CREDITS	Sat Jun 14 14:04:54 2008 +0000
     4.2 +++ b/docs/CREDITS	Sat Jun 14 20:57:57 2008 +0000
     4.3 @@ -49,6 +49,9 @@
     4.4    Daniel Dittmann:
     4.5      - PowerPC support
     4.6  
     4.7 +  Ioannis E. Venetis:
     4.8 +    - preliminary Alpha support
     4.9 +
    4.10    Many others have contributed, either in form of patches, suggestions,
    4.11    comments, or testing... Thank you to all of you!
    4.12  
     5.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.2 +++ b/samples/alphaev56-unknown-linux-gnu/crosstool.config	Sat Jun 14 20:57:57 2008 +0000
     5.3 @@ -0,0 +1,282 @@
     5.4 +#
     5.5 +# Automatically generated make config: don't edit
     5.6 +# crosstool-NG version: 1.1.0+svn_trunk@690M
     5.7 +# Sat Jun 14 20:48:53 2008
     5.8 +#
     5.9 +
    5.10 +#
    5.11 +# Paths and misc options
    5.12 +#
    5.13 +
    5.14 +#
    5.15 +# crosstool-NG behavior
    5.16 +#
    5.17 +CT_OBSOLETE=y
    5.18 +CT_EXPERIMENTAL=y
    5.19 +# CT_BROKEN is not set
    5.20 +# CT_DEBUG_CT is not set
    5.21 +
    5.22 +#
    5.23 +# Downloading
    5.24 +#
    5.25 +# CT_FORCE_DOWNLOAD is not set
    5.26 +# CT_ONLY_DOWNLOAD is not set
    5.27 +CT_CONNECT_TIMEOUT=10
    5.28 +CT_PROXY_TYPE_NONE=y
    5.29 +# CT_PROXY_TYPE_HTTP is not set
    5.30 +# CT_PROXY_TYPE_SOCKS is not set
    5.31 +CT_PROXY_TYPE="none"
    5.32 +# CT_BREAK_INDENT is not set
    5.33 +
    5.34 +#
    5.35 +# Extracting
    5.36 +#
    5.37 +# CT_FORCE_EXTRACT is not set
    5.38 +CT_OVERIDE_CONFIG_GUESS_SUB=y
    5.39 +# CT_ONLY_EXTRACT is not set
    5.40 +
    5.41 +#
    5.42 +# Build behavior
    5.43 +#
    5.44 +CT_PARALLEL_JOBS=1
    5.45 +CT_LOAD=0
    5.46 +CT_NICE=0
    5.47 +CT_USE_PIPES=y
    5.48 +
    5.49 +#
    5.50 +# Paths
    5.51 +#
    5.52 +CT_LOCAL_TARBALLS_DIR="${HOME}/src"
    5.53 +CT_SAVE_TARBALLS=y
    5.54 +CT_PREFIX_DIR="${HOME}/${CT_TARGET}"
    5.55 +CT_INSTALL_DIR="${CT_PREFIX_DIR}"
    5.56 +# CT_CUSTOM_PATCH is not set
    5.57 +CT_REMOVE_DOCS=y
    5.58 +# CT_INSTALL_DIR_RO is not set
    5.59 +
    5.60 +#
    5.61 +# Logging
    5.62 +#
    5.63 +# CT_LOG_ERROR is not set
    5.64 +# CT_LOG_WARN is not set
    5.65 +# CT_LOG_INFO is not set
    5.66 +CT_LOG_EXTRA=y
    5.67 +# CT_LOG_DEBUG is not set
    5.68 +# CT_LOG_ALL is not set
    5.69 +CT_LOG_LEVEL_MAX="EXTRA"
    5.70 +# CT_LOG_SEE_TOOLS_WARN is not set
    5.71 +CT_LOG_PROGRESS_BAR=y
    5.72 +CT_LOG_TO_FILE=y
    5.73 +CT_LOG_FILE_COMPRESS=y
    5.74 +
    5.75 +#
    5.76 +# Target options
    5.77 +#
    5.78 +
    5.79 +#
    5.80 +# General target options
    5.81 +#
    5.82 +CT_ARCH="alpha"
    5.83 +CT_ARCH_ALPHA=y
    5.84 +# CT_ARCH_ARM is not set
    5.85 +# CT_ARCH_IA64 is not set
    5.86 +# CT_ARCH_MIPS is not set
    5.87 +# CT_ARCH_PPC is not set
    5.88 +# CT_ARCH_SH is not set
    5.89 +# CT_ARCH_x86 is not set
    5.90 +# CT_ARCH_x86_64 is not set
    5.91 +# CT_ARCH_SUPPORTS_BOTH_ENDIAN is not set
    5.92 +# CT_ARCH_DEFAULT_BE is not set
    5.93 +# CT_ARCH_DEFAULT_LE is not set
    5.94 +
    5.95 +#
    5.96 +# Alpha specific configuration
    5.97 +#
    5.98 +# CT_ARCH_ALPHA_EV4 is not set
    5.99 +# CT_ARCH_ALPHA_EV45 is not set
   5.100 +# CT_ARCH_ALPHA_EV5 is not set
   5.101 +CT_ARCH_ALPHA_EV56=y
   5.102 +# CT_ARCH_ALPHA_EV6 is not set
   5.103 +# CT_ARCH_ALPHA_EV67 is not set
   5.104 +CT_ARCH_ALPHA_VARIANT="ev56"
   5.105 +CT_ARCH_CPU="ev56"
   5.106 +CT_ARCH_TUNE="ev56"
   5.107 +CT_ARCH_ABI=""
   5.108 +
   5.109 +#
   5.110 +# Target optimisations
   5.111 +#
   5.112 +CT_ARCH_ARCH=""
   5.113 +CT_ARCH_FPU=""
   5.114 +CT_ARCH_FLOAT_HW=y
   5.115 +# CT_ARCH_FLOAT_SW is not set
   5.116 +CT_TARGET_CFLAGS=""
   5.117 +
   5.118 +#
   5.119 +# Toolchain options
   5.120 +#
   5.121 +
   5.122 +#
   5.123 +# General toolchain options
   5.124 +#
   5.125 +CT_USE_SYSROOT=y
   5.126 +CT_SHARED_LIBS=y
   5.127 +CT_THREADS_NPTL=y
   5.128 +# CT_THREADS_LINUXTHREADS is not set
   5.129 +# CT_THREADS_NONE is not set
   5.130 +CT_THREADS="nptl"
   5.131 +CT_TARGET_VENDOR="unknown"
   5.132 +CT_TARGET_ALIAS_SED_EXPR=""
   5.133 +CT_TARGET_ALIAS=""
   5.134 +
   5.135 +#
   5.136 +# Toolchain type
   5.137 +#
   5.138 +# CT_NATIVE is not set
   5.139 +CT_CROSS=y
   5.140 +# CT_CROSS_NATIVE is not set
   5.141 +# CT_CANADIAN is not set
   5.142 +CT_TOOLCHAIN_TYPE="cross"
   5.143 +CT_BUILD=""
   5.144 +CT_CC_NATIVE="gcc"
   5.145 +
   5.146 +#
   5.147 +# Kernel
   5.148 +#
   5.149 +CT_KERNEL_LINUX=y
   5.150 +CT_KERNEL_VERSION="2.6.24.7"
   5.151 +CT_KERNEL_LINUX_HEADERS_INSTALL=y
   5.152 +# CT_KERNEL_LINUX_HEADERS_SANITISED is not set
   5.153 +# CT_KERNEL_LINUX_HEADERS_COPY is not set
   5.154 +# CT_KERNEL_LINUX_HEADERS_USE_CUSTOM_DIR is not set
   5.155 +CT_KERNEL="linux"
   5.156 +CT_KERNEL_VERSION_SEE_EXTRAVERSION=y
   5.157 +# CT_KERNEL_INSTALL_V_2_6_18_8 is not set
   5.158 +# CT_KERNEL_INSTALL_V_2_6_19_7 is not set
   5.159 +# CT_KERNEL_INSTALL_V_2_6_20_21 is not set
   5.160 +# CT_KERNEL_INSTALL_V_2_6_21_7 is not set
   5.161 +# CT_KERNEL_INSTALL_V_2_6_22_19 is not set
   5.162 +# CT_KERNEL_INSTALL_V_2_6_23_17 is not set
   5.163 +# CT_KERNEL_INSTALL_V_2_6_24 is not set
   5.164 +# CT_KERNEL_INSTALL_V_2_6_24_1 is not set
   5.165 +# CT_KERNEL_INSTALL_V_2_6_24_2 is not set
   5.166 +# CT_KERNEL_INSTALL_V_2_6_24_3 is not set
   5.167 +# CT_KERNEL_INSTALL_V_2_6_24_4 is not set
   5.168 +# CT_KERNEL_INSTALL_V_2_6_24_5 is not set
   5.169 +# CT_KERNEL_INSTALL_V_2_6_24_6 is not set
   5.170 +CT_KERNEL_INSTALL_V_2_6_24_7=y
   5.171 +# CT_KERNEL_INSTALL_V_2_6_25 is not set
   5.172 +# CT_KERNEL_INSTALL_V_2_6_25_1 is not set
   5.173 +# CT_KERNEL_INSTALL_V_2_6_25_2 is not set
   5.174 +# CT_KERNEL_INSTALL_V_2_6_25_3 is not set
   5.175 +# CT_KERNEL_INSTALL_V_2_6_25_4 is not set
   5.176 +# CT_KERNEL_INSTALL_V_2_6_25_5 is not set
   5.177 +# CT_KERNEL_LINUX_HEADERS_INSTALL_CHECK is not set
   5.178 +CT_KERNEL_LINUX_VERBOSITY_0=y
   5.179 +# CT_KERNEL_LINUX_VERBOSITY_1 is not set
   5.180 +# CT_KERNEL_LINUX_VERBOSITY_2 is not set
   5.181 +CT_KERNEL_LINUX_VERBOSE_LEVEL=0
   5.182 +# CT_KERNEL_LINUX_NEEDS_CONFIG is not set
   5.183 +
   5.184 +#
   5.185 +# binutils
   5.186 +#
   5.187 +CT_BINUTILS_VERSION="2.17"
   5.188 +# CT_BINUTILS_V_2_14 is not set
   5.189 +# CT_BINUTILS_V_2_15 is not set
   5.190 +# CT_BINUTILS_V_2_16_1 is not set
   5.191 +CT_BINUTILS_V_2_17=y
   5.192 +# CT_BINUTILS_V_2_18 is not set
   5.193 +# CT_BINUTILS_V_2_18_50_0_4 is not set
   5.194 +# CT_BINUTILS_V_2_18_50_0_6 is not set
   5.195 +# CT_BINUTILS_V_2_18_50_0_7 is not set
   5.196 +CT_BINUTILS_EXTRA_CONFIG=""
   5.197 +# CT_BINUTILS_FOR_TARGET is not set
   5.198 +
   5.199 +#
   5.200 +# C compiler
   5.201 +#
   5.202 +CT_CC_GCC=y
   5.203 +CT_CC_VERSION="4.2.3"
   5.204 +CT_CC="gcc"
   5.205 +# CT_CC_V_2_95_3 is not set
   5.206 +# CT_CC_V_3_2_3 is not set
   5.207 +# CT_CC_V_3_3_6 is not set
   5.208 +# CT_CC_V_3_4_6 is not set
   5.209 +# CT_CC_V_4_0_0 is not set
   5.210 +# CT_CC_V_4_0_1 is not set
   5.211 +# CT_CC_V_4_0_2 is not set
   5.212 +# CT_CC_V_4_0_3 is not set
   5.213 +# CT_CC_V_4_0_4 is not set
   5.214 +# CT_CC_V_4_1_0 is not set
   5.215 +# CT_CC_V_4_1_1 is not set
   5.216 +# CT_CC_V_4_1_2 is not set
   5.217 +# CT_CC_V_4_2_0 is not set
   5.218 +# CT_CC_V_4_2_1 is not set
   5.219 +# CT_CC_V_4_2_2 is not set
   5.220 +CT_CC_V_4_2_3=y
   5.221 +# CT_CC_V_4_3_0 is not set
   5.222 +# CT_CC_V_4_3_1 is not set
   5.223 +# CT_CC_GCC_4_3_or_later is not set
   5.224 +CT_CC_CXA_ATEXIT=y
   5.225 +CT_CC_CORE_EXTRA_CONFIG=""
   5.226 +CT_CC_EXTRA_CONFIG=""
   5.227 +CT_CC_GCC_GMP_MPFR=y
   5.228 +CT_GMP_V_4_2_2=y
   5.229 +CT_GMP_VERSION="4.2.2"
   5.230 +CT_GMP_CHECK=y
   5.231 +CT_MPFR_V_2_3_1=y
   5.232 +CT_MPFR_VERSION="2.3.1"
   5.233 +CT_MPFR_CHECK=y
   5.234 +CT_CC_SUPPORT_CXX=y
   5.235 +CT_CC_SUPPORT_FORTRAN=y
   5.236 +CT_CC_SUPPORT_JAVA=y
   5.237 +CT_CC_SUPPORT_ADA=y
   5.238 +CT_CC_SUPPORT_OBJC=y
   5.239 +CT_CC_SUPPORT_OBJCXX=y
   5.240 +
   5.241 +#
   5.242 +# Additional supported languages:
   5.243 +#
   5.244 +# CT_CC_LANG_CXX is not set
   5.245 +# CT_CC_LANG_FORTRAN is not set
   5.246 +# CT_CC_LANG_JAVA is not set
   5.247 +# CT_CC_LANG_ADA is not set
   5.248 +# CT_CC_LANG_OBJC is not set
   5.249 +# CT_CC_LANG_OBJCXX is not set
   5.250 +CT_CC_LANG_OTHERS=""
   5.251 +
   5.252 +#
   5.253 +# C-library
   5.254 +#
   5.255 +CT_LIBC_GLIBC=y
   5.256 +# CT_LIBC_UCLIBC is not set
   5.257 +CT_LIBC_VERSION="2.3.6"
   5.258 +CT_LIBC="glibc"
   5.259 +CT_LIBC_SUPPORT_NPTL=y
   5.260 +CT_LIBC_SUPPORT_LINUXTHREADS=y
   5.261 +CT_LIBC_V_2_3_6=y
   5.262 +# CT_LIBC_V_2_5 is not set
   5.263 +# CT_LIBC_V_2_5_1 is not set
   5.264 +# CT_LIBC_V_2_6 is not set
   5.265 +# CT_LIBC_V_2_6_1 is not set
   5.266 +# CT_LIBC_V_2_7 is not set
   5.267 +CT_LIBC_GLIBC_EXTRA_CONFIG=""
   5.268 +CT_LIBC_GLIBC_EXTRA_CFLAGS=""
   5.269 +CT_LIBC_EXTRA_CC_ARGS=""
   5.270 +CT_LIBC_GLIBC_CONFIGPARMS=""
   5.271 +# CT_LIBC_GLIBC_USE_PORTS is not set
   5.272 +# CT_LIBC_ADDONS is not set
   5.273 +
   5.274 +#
   5.275 +# Tools facilities
   5.276 +#
   5.277 +# CT_SSTRIP is not set
   5.278 +
   5.279 +#
   5.280 +# Debug facilities
   5.281 +#
   5.282 +# CT_DMALLOC is not set
   5.283 +# CT_DUMA is not set
   5.284 +# CT_GDB is not set
   5.285 +# CT_STRACE is not set