* config.sub (e500v[12], e500v[12]-*): Decode basic machine as a

powerpc alias, and add an "spe" suffix to the OS for e500v1|2
	ABI selection.
	* testsuite/config-sub.data: Add tests for e500v[12]-elf,
	e500v2-wrs-vxworks, e500v2-vxworksae and e500v2-wrs-linux.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
Jerome Lambourg 2016-06-14 10:06:16 +10:00 committed by Ben Elliston
parent dafd8e767e
commit ddd7f33060
3 changed files with 22 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2016-06-14 Jerome Lambourg <lambourg@adacore.com>
* config.sub (e500v[12], e500v[12]-*): Decode basic machine as a
powerpc alias, and add an "spe" suffix to the OS for e500v1|2 ABI
selection.
* testsuite/config-sub.data: Add tests for e500v[12]-elf,
e500v2-wrs-vxworks, e500v2-vxworksae and e500v2-wrs-linux.
2016-05-15 Ben Elliston <bje@gnu.org>
* config.guess: Improve help when a system is not recognised.

10
config.sub vendored
View File

@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2016 Free Software Foundation, Inc.
timestamp='2016-05-10'
timestamp='2016-06-14'
# 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
@ -643,6 +643,14 @@ case $basic_machine in
basic_machine=m68k-bull
os=-sysv3
;;
e500v[12])
basic_machine=powerpc-unknown
os=$os"spe"
;;
e500v[12]-*)
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
os=$os"spe"
;;
ebmon29k)
basic_machine=a29k-amd
os=-ebmon

View File

@ -75,6 +75,11 @@ crisv32-linux crisv32-axis-linux-gnu
dicos i686-pc-dicos
djgpp i586-pc-msdosdjgpp
e2k-linux e2k-unknown-linux-gnu
e500v1-elf powerpc-unknown-elfspe
e500v2-elf powerpc-unknown-elfspe
e500v2-wrs-vxworks powerpc-wrs-vxworksspe
e500v2-vxworksae powerpc-wrs-vxworksaespe
e500v2-wrs-linux powerpc-wrs-linux-gnuspe
epiphany-elf epiphany-unknown-elf
epiphany epiphany-unknown-none
fido-elf fido-unknown-elf