From 13acb20f3dabbd1af9f8c7f60430d58a90318321 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Thu, 25 Aug 2016 14:20:56 +1000 Subject: [PATCH] * config.sub: Don't match -le and -little for ppc. Signed-off-by: Ben Elliston --- ChangeLog | 4 ++++ config.sub | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index a3bcd7f..9cdb989 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-08-25 Alan Modra + + * config.sub: Don't match -le and -little for ppc. + 2016-07-07 Ben Elliston * testsuite/config-guess.data: Add ppc64le test case. diff --git a/config.sub b/config.sub index 9feb73b..a1f8229 100755 --- a/config.sub +++ b/config.sub @@ -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-*)