[binutils-gdb] config.sub update broke powerpc-eabivle

Alan Modra amodra@sourceware.org
Wed Jan 6 22:32:11 GMT 2021


https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=1606216201cbe3a46524ac3a423c3f60e86405fa

commit 1606216201cbe3a46524ac3a423c3f60e86405fa
Author: Alan Modra <amodra@gmail.com>
Date:   Thu Jan 7 08:33:56 2021 +1030

    config.sub update broke powerpc-eabivle
    
    $ ./config.sub powerpc-eabivle
    Invalid configuration `powerpc-eabivle': OS `eabivle' not recognized
    $ ./config.sub powerpc-unknown-eabivle
    Invalid configuration `powerpc-unknown-eabivle': OS `eabivle' not recognized
    
    Also powerpc-eabisim and probably some arm configurations.
    
            * config.sub: Accept OS of eabi* and gnueabi*.

Diff:
---
 ChangeLog  | 4 ++++
 config.sub | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 5831a32b9af..a506623adf3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2021-01-07  Alan Modra  <amodra@gmail.com>
+
+	* config.sub: Accept OS of eabi* and gnueabi*.
+
 2021-01-05  Nick Alcock  <nick.alcock@oracle.com>
 
 	* Makefile.def (libctf): No longer no_check.  Checking depends on
diff --git a/config.sub b/config.sub
index 0cbdae68205..b0f8492348d 100755
--- a/config.sub
+++ b/config.sub
@@ -2,7 +2,7 @@
 # Configuration validation subroutine script.
 #   Copyright 1992-2021 Free Software Foundation, Inc.
 
-timestamp='2021-01-01'
+timestamp='2021-01-07'
 
 # 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
@@ -1687,7 +1687,7 @@ case $os in
 	musl* | newlib* | uclibc*)
 		;;
 	# Likewise for "kernel-libc"
-	eabi | eabihf | gnueabi | gnueabihf)
+	eabi* | gnueabi*)
 		;;
 	# Now accept the basic system types.
 	# The portable systems comes first.


More information about the Binutils-cvs mailing list