* config.sub (leon, leon[3-9]): New CPUs.

* testsuite/config-sub.data: New tests for leon and leon3.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
Olivier Hainque
2014-09-26 09:29:46 +10:00
committed by Ben Elliston
parent 576c839acc
commit dce190c15f
3 changed files with 16 additions and 1 deletions

8
config.sub vendored
View File

@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2014 Free Software Foundation, Inc.
timestamp='2014-09-11'
timestamp='2014-09-26'
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
@ -327,6 +327,9 @@ case $basic_machine in
c6x)
basic_machine=tic6x-unknown
;;
leon|leon[3-9])
basic_machine=sparc-$basic_machine
;;
m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
basic_machine=$basic_machine-unknown
os=-none
@ -774,6 +777,9 @@ case $basic_machine in
basic_machine=m68k-isi
os=-sysv
;;
leon-*|leon[3-9]-*)
basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
;;
m68knommu)
basic_machine=m68k-unknown
os=-linux