* config.sub (sh[24]aeb): Handle big endian variants.

* testsuite/config-sub.data: Add test cases.
This commit is contained in:
Ben Elliston 2008-12-09 11:21:17 +11:00
parent 95860226d7
commit e154a93b92
3 changed files with 14 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2008-12-09 Kieran Bingham <kieranbingham@gmail.com>
Ben Elliston <bje@gnu.org>
* config.sub (sh[24]aeb): Handle big endian variants.
* testsuite/config-sub.data: Add test cases.
2008-11-16 Ben Elliston <bje@gnu.org>
* config.guess (i86pc:SunOS:5.*:*, i86xen:SunOS:5.*:*): No need to

8
config.sub vendored
View File

@ -4,7 +4,7 @@
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# Free Software Foundation, Inc.
timestamp='2008-09-08'
timestamp='2008-12-09'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
@ -279,7 +279,7 @@ case $basic_machine in
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \
| score \
| sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
| sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \
| sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
| sparcv8 | sparcv9 | sparcv9b | sparcv9v \
@ -362,7 +362,7 @@ case $basic_machine in
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \
| romp-* | rs6000-* \
| sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
| sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
| sparclite-* \
@ -1182,7 +1182,7 @@ case $basic_machine in
we32k)
basic_machine=we32k-att
;;
sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
basic_machine=sh-unknown
;;
sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)

View File

@ -140,3 +140,7 @@ x86_64-ericsson-dicos x86_64-ericsson-dicos
cegcc arm-unknown-cegcc
arm-cegcc arm-unknown-cegcc
z80-coff z80-unknown-coff
sh2aeb sh2aeb-unknown-none
sh2aeb-elf sh2aeb-unknown-elf
sh4aeb sh4aeb-unknown-none
sh4aeb-elf sh4aeb-unknown-elf