Mostly authored by Paul Mundt:

* config.sub: Handle sh2a/sh4a.
	* testsuite/config-sub.data: Add test cases.
This commit is contained in:
Ben Elliston 2005-07-03 21:04:56 +00:00
parent 140110d56f
commit 72cd22bdde
3 changed files with 28 additions and 4 deletions

View File

@ -1,3 +1,9 @@
2005-07-04 Ben Elliston <bje@gnu.org>
Mostly authored by Paul Mundt:
* config.sub: Handle sh2a/sh4a.
* testsuite/config-sub.data: Add test cases.
2005-07-01 Robert Millan <robertmh@gnu.org> 2005-07-01 Robert Millan <robertmh@gnu.org>
* config.sub: Deprecate "openrisc" in favour of "or32". * config.sub: Deprecate "openrisc" in favour of "or32".

8
config.sub vendored
View File

@ -3,7 +3,7 @@
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
timestamp='2005-07-01' timestamp='2005-07-04'
# This file is (in principle) common to ALL GNU software. # This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software # The presence of a machine in this file suggests that SOME GNU software
@ -264,7 +264,7 @@ case $basic_machine in
| pdp10 | pdp11 | pj | pjl \ | pdp10 | pdp11 | pj | pjl \
| powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
| pyramid \ | pyramid \
| sh | sh[1234] | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \ | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | shbe | shle | sh[1234]le | sh3ele \
| sh64 | sh64le \ | sh64 | sh64le \
| sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \
| sparcv8 | sparcv9 | sparcv9b \ | sparcv8 | sparcv9 | sparcv9b \
@ -344,7 +344,7 @@ case $basic_machine in
| powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
| pyramid-* \ | pyramid-* \
| romp-* | rs6000-* \ | romp-* | rs6000-* \
| sh-* | sh[1234]-* | sh[23]e-* | sh[34]eb-* | shbe-* \ | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | shbe-* \
| shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
| sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \
| sparclite-* \ | sparclite-* \
@ -1098,7 +1098,7 @@ case $basic_machine in
we32k) we32k)
basic_machine=we32k-att basic_machine=we32k-att
;; ;;
sh3 | sh4 | sh[34]eb | sh[1234]le | sh[23]ele) sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
basic_machine=sh-unknown basic_machine=sh-unknown
;; ;;
sparc | sparcv8 | sparcv9 | sparcv9b) sparc | sparcv8 | sparcv9 | sparcv9b)

View File

@ -49,3 +49,21 @@ sh64 sh64-unknown-none
sh64-elf sh64-unknown-elf sh64-elf sh64-unknown-elf
openrisc-linux or32-unknown-linux-gnu openrisc-linux or32-unknown-linux-gnu
or32-linux or32-unknown-linux-gnu or32-linux or32-unknown-linux-gnu
sh-elf sh-unknown-elf
sh1-elf sh1-unknown-elf
sh2-elf sh2-unknown-elf
sh3-elf sh3-unknown-elf
sh4-elf sh4-unknown-elf
sh2a-elf sh2a-unknown-elf
sh4a-elf sh4a-unknown-elf
sh2e-elf sh2e-unknown-elf
sh3e-elf sh3e-unknown-elf
sh3eb-elf sh3eb-unknown-elf
sh4eb-elf sh4eb-unknown-elf
shbe-elf shbe-unknown-elf
shle-elf shle-unknown-elf
sh1le-elf sh1le-unknown-elf
sh2le-elf sh2le-unknown-elf
sh3le-elf sh3le-unknown-elf
sh4le-elf sh4le-unknown-elf
sh3ele-elf sh3ele-unknown-elf