config.sub update broke powerpc-eabivle

Alan Modra amodra@gmail.com
Wed Jan 6 22:32:34 GMT 2021


$ ./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.
Committed to binutils so as to not regress the 2.36 release.  Is this
OK for upstream?

	* config.sub: Accept OS of eabi* and gnueabi*.

diff --git a/config.sub b/config.sub
index 0cbdae6820..b0f8492348 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.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list