From 72cd22bdde633a85125dc30552723b2874f7558a Mon Sep 17 00:00:00 2001 From: Ben Elliston Date: Sun, 3 Jul 2005 21:04:56 +0000 Subject: [PATCH] Mostly authored by Paul Mundt: * config.sub: Handle sh2a/sh4a. * testsuite/config-sub.data: Add test cases. --- ChangeLog | 6 ++++++ config.sub | 8 ++++---- testsuite/config-sub.data | 18 ++++++++++++++++++ 3 files changed, 28 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7d5b5a2..47cb419 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-04 Ben Elliston + + Mostly authored by Paul Mundt: + * config.sub: Handle sh2a/sh4a. + * testsuite/config-sub.data: Add test cases. + 2005-07-01 Robert Millan * config.sub: Deprecate "openrisc" in favour of "or32". diff --git a/config.sub b/config.sub index 2ef2842..a81e743 100755 --- a/config.sub +++ b/config.sub @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 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. # 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 \ | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \ | 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 \ | sparc | sparc64 | sparc64b | sparc86x | sparclet | sparclite \ | sparcv8 | sparcv9 | sparcv9b \ @@ -344,7 +344,7 @@ case $basic_machine in | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \ | pyramid-* \ | 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-* \ | sparc-* | sparc64-* | sparc64b-* | sparc86x-* | sparclet-* \ | sparclite-* \ @@ -1098,7 +1098,7 @@ case $basic_machine in we32k) 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 ;; sparc | sparcv8 | sparcv9 | sparcv9b) diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index 3d89c76..1363ca8 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -49,3 +49,21 @@ sh64 sh64-unknown-none sh64-elf sh64-unknown-elf openrisc-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