* config.sub: Don't match -le and -little for ppc.

Signed-off-by: Ben Elliston <bje@gnu.org>
This commit is contained in:
Alan Modra 2016-08-25 14:20:56 +10:00 committed by Ben Elliston
parent 562f3512b3
commit 13acb20f3d
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2016-08-25 Alan Modra <amodra@gmail.com>
* config.sub: Don't match -le and -little for ppc.
2016-07-07 Ben Elliston <bje@gnu.org>
* testsuite/config-guess.data: Add ppc64le test case.

6
config.sub vendored
View File

@ -2,7 +2,7 @@
# Configuration validation subroutine script.
# Copyright 1992-2016 Free Software Foundation, Inc.
timestamp='2016-06-20'
timestamp='2016-08-25'
# 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
@ -1030,7 +1030,7 @@ case $basic_machine in
ppc-* | ppcbe-*)
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppcle | powerpclittle | ppc-le | powerpc-little)
ppcle | powerpclittle)
basic_machine=powerpcle-unknown
;;
ppcle-* | powerpclittle-*)
@ -1040,7 +1040,7 @@ case $basic_machine in
;;
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
;;
ppc64le | powerpc64little | ppc64-le | powerpc64-little)
ppc64le | powerpc64little)
basic_machine=powerpc64le-unknown
;;
ppc64le-* | powerpc64little-*)