Commit 13acb20f authored by Alan Modra's avatar Alan Modra Committed by Ben Elliston

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

Signed-off-by: default avatarBen Elliston <bje@gnu.org>
parent 562f3512
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> 2016-07-07 Ben Elliston <bje@gnu.org>
* testsuite/config-guess.data: Add ppc64le test case. * testsuite/config-guess.data: Add ppc64le test case.
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# Configuration validation subroutine script. # Configuration validation subroutine script.
# Copyright 1992-2016 Free Software Foundation, Inc. # 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 # 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 # under the terms of the GNU General Public License as published by
...@@ -1030,7 +1030,7 @@ case $basic_machine in ...@@ -1030,7 +1030,7 @@ case $basic_machine in
ppc-* | ppcbe-*) ppc-* | ppcbe-*)
basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'` basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
;; ;;
ppcle | powerpclittle | ppc-le | powerpc-little) ppcle | powerpclittle)
basic_machine=powerpcle-unknown basic_machine=powerpcle-unknown
;; ;;
ppcle-* | powerpclittle-*) ppcle-* | powerpclittle-*)
...@@ -1040,7 +1040,7 @@ case $basic_machine in ...@@ -1040,7 +1040,7 @@ case $basic_machine in
;; ;;
ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'` ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
;; ;;
ppc64le | powerpc64little | ppc64-le | powerpc64-little) ppc64le | powerpc64little)
basic_machine=powerpc64le-unknown basic_machine=powerpc64le-unknown
;; ;;
ppc64le-* | powerpc64little-*) ppc64le-* | powerpc64little-*)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment