$ ./config.sub powerpc-eabivle
Invalid configuration `powerpc-eabivle': OS `eabivle' not recognized

Also powerpc-eabisim and probably some arm configurations.

        * config.sub: Accept OS of eabi* and gnueabi*.
        * testsuite/config-sub.data: Add powerpc-eabisim and powerpc-eabivle.

diff --git a/config.sub b/config.sub
index 0cbdae6..b0f8492 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.
diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data
index a6fd557..60cf4fd 100644
--- a/testsuite/config-sub.data
+++ b/testsuite/config-sub.data
@@ -541,6 +541,8 @@ pn                                          pn-gould-sysv
 powerpc                                                powerpc-unknown-none
 powerpc-bluegene                               powerpc-ibm-cnk
 powerpc-cnk                                    powerpc-ibm-cnk
+powerpc-eabivle                                        powerpc-unknown-eabivle
+powerpc-eabisim                                        powerpc-unknown-eabisim
 powerpc-elf-lynxos                             powerpc-elf-lynxos
 powerpc-elf-lynxos5                            powerpc-elf-lynxos5
 powerpc-haiku                                  powerpc-unknown-haiku

-- 
Alan Modra
Australia Development Lab, IBM

Reply via email to