* 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

View File

@ -1,3 +1,8 @@
2014-09-26 Olivier Hainque <hainque@adacore.com>
* config.sub (leon, leon[3-9]): New CPUs.
* testsuite/config-sub.data: New tests for leon and leon3.
2014-09-11 Palmer Dabbelt <palmer.dabbelt@eecs.berkeley.edu>
* config.sub (riscv32, riscv64): New.

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

View File

@ -99,6 +99,10 @@ k1om k1om-unknown-none
k1om-linux k1om-unknown-linux-gnu
le32-nacl le32-unknown-nacl
le64-none le64-unknown-none
leon-elf sparc-leon-elf
leon3-elf sparc-leon3-elf
leon-wrs-vxworks sparc-leon-vxworks
leon3-vxworks sparc-leon3-vxworks
lm32-elf lm32-unknown-elf
lm32 lm32-unknown-none
m32c-elf m32c-unknown-elf