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

Commit 5e531d391852 broke powerpc-eabivle:

$ ./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.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
Alan Modra 2021-01-07 10:25:28 +10:30 committed by Dmitry V. Levin
parent 0045dea533
commit 04d8eb4c26
2 changed files with 4 additions and 2 deletions

4
config.sub vendored
View File

@ -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.

View File

@ -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