11#! /bin/sh
22# Configuration validation subroutine script.
33# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4- # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
4+ # 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation,
5+ # Inc.
56
6- timestamp=' 2005-12-23 '
7+ timestamp=' 2006-07-02 '
78
89# This file is (in principle) common to ALL GNU software.
910# The presence of a machine in this file suggests that SOME GNU software
@@ -240,15 +241,16 @@ case $basic_machine in
240241 | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
241242 | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
242243 | am33_2.0 \
243- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr \
244+ | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
244245 | bfin \
245246 | c4x | clipper \
246247 | d10v | d30v | dlx | dsp16xx \
247248 | fr30 | frv \
248249 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
249250 | i370 | i860 | i960 | ia64 \
250251 | ip2k | iq2000 \
251- | m32r | m32rle | m68000 | m68k | m88k | maxq | mb | microblaze | mcore \
252+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
253+ | maxq | mb | microblaze | mcore \
252254 | mips | mipsbe | mipseb | mipsel | mipsle \
253255 | mips16 \
254256 | mips64 | mips64el \
@@ -268,26 +270,24 @@ case $basic_machine in
268270 | mn10200 | mn10300 \
269271 | mt \
270272 | msp430 \
273+ | nios | nios2 \
271274 | ns16k | ns32k \
272275 | or32 \
273276 | pdp10 | pdp11 | pj | pjl \
274277 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
275278 | pyramid \
276- | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
279+ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
277280 | sh64 | sh64le \
278- | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
279- | sparcv8 | sparcv9 | sparcv9b \
280- | strongarm \
281+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
282+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
283+ | spu | strongarm \
281284 | tahoe | thumb | tic4x | tic80 | tron \
282285 | v850 | v850e \
283286 | we32k \
284287 | x86 | xscale | xscalee[bl] | xstormy16 | xtensa \
285288 | z8k)
286289 basic_machine=$basic_machine -unknown
287290 ;;
288- m32c)
289- basic_machine=$basic_machine -unknown
290- ;;
291291 m6811 | m68hc11 | m6812 | m68hc12)
292292 # Motorola 68HC11/12.
293293 basic_machine=$basic_machine -unknown
@@ -317,7 +317,7 @@ case $basic_machine in
317317 | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
318318 | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
319319 | arm-* | armbe-* | armle-* | armeb-* | armv* -* \
320- | avr-* \
320+ | avr-* | avr32- * \
321321 | bfin-* | bs2000-* \
322322 | c[123]* | c30-* | [cjt]90-* | c4x-* | c54x-* | c55x-* | c6x-* \
323323 | clipper-* | craynv-* | cydra-* \
@@ -328,7 +328,7 @@ case $basic_machine in
328328 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
329329 | i* 86-* | i860-* | i960-* | ia64-* \
330330 | ip2k-* | iq2000-* \
331- | m32r-* | m32rle-* \
331+ | m32c- * | m32r-* | m32rle-* \
332332 | m68000-* | m680[012346]0-* | m68360-* | m683? 2-* | m68k-* \
333333 | m88110-* | m88k-* | maxq-* | mcore-* \
334334 | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
@@ -350,17 +350,18 @@ case $basic_machine in
350350 | mmix-* \
351351 | mt-* \
352352 | msp430-* \
353+ | nios-* | nios2-* \
353354 | none-* | np1-* | ns16k-* | ns32k-* \
354355 | orion-* \
355356 | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
356357 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
357358 | pyramid-* \
358359 | romp-* | rs6000-* \
359- | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
360+ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb- * | shbe-* \
360361 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
361- | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
362+ | sparc-* | sparc64-* | sparc64b-* | sparc64v- * | sparc86x-* | sparclet-* \
362363 | sparclite-* \
363- | sparcv8-* | sparcv9-* | sparcv9b-* | strongarm-* | sv1-* | sx? -* \
364+ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v- * | strongarm-* | sv1-* | sx? -* \
364365 | tahoe-* | thumb-* \
365366 | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
366367 | tron-* \
@@ -371,8 +372,6 @@ case $basic_machine in
371372 | ymp-* \
372373 | z8k-* )
373374 ;;
374- m32c-* )
375- ;;
376375 # Recognize the various machine names and aliases which stand
377376 # for a CPU type and a company and sometimes even an OS.
378377 386bsd)
@@ -1126,7 +1125,7 @@ case $basic_machine in
11261125 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
11271126 basic_machine=sh-unknown
11281127 ;;
1129- sparc | sparcv8 | sparcv9 | sparcv9b)
1128+ sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v )
11301129 basic_machine=sparc-sun
11311130 ;;
11321131 cydra)
@@ -1199,7 +1198,8 @@ case $os in
11991198 | -aos* \
12001199 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
12011200 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
1202- | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* | -openbsd* \
1201+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
1202+ | -openbsd* | -solidbsd* \
12031203 | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
12041204 | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
12051205 | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
@@ -1214,7 +1214,7 @@ case $os in
12141214 | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
12151215 | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
12161216 | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
1217- | -skyos* | -haiku* | -rdos* )
1217+ | -skyos* | -haiku* | -rdos* | -toppers * )
12181218 # Remember, each alternative MUST END IN *, to match a version number.
12191219 ;;
12201220 -qnx* )
@@ -1366,6 +1366,9 @@ else
13661366# system, and we'll never get to this point.
13671367
13681368case $basic_machine in
1369+ spu-* )
1370+ os=-elf
1371+ ;;
13691372 * -acorn)
13701373 os=-riscix1.2
13711374 ;;
@@ -1375,9 +1378,9 @@ case $basic_machine in
13751378 arm* -semi)
13761379 os=-aout
13771380 ;;
1378- c4x-* | tic4x-* )
1379- os=-coff
1380- ;;
1381+ c4x-* | tic4x-* )
1382+ os=-coff
1383+ ;;
13811384 # This must come before the *-dec entry.
13821385 pdp10-* )
13831386 os=-tops20
0 commit comments