* 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

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