config.sub: alias armh to armv7l

ALT uses armh as an alias for armv7l-alt-linux-gnueabihf since 2012.

* config.sub (armh-unknown|armh-alt): Set cpu, vendor, and basic_os.
(timestamp): Update.
* doc/config.sub.1: Regenerate.
* testsuite/config-sub.data (armh, armh-alt-linux-gnueabihf): New tests.
This commit is contained in:
Dmitry V. Levin 2021-12-25 08:00:00 +00:00
parent da0f86d042
commit ee98986410
3 changed files with 9 additions and 2 deletions

7
config.sub vendored
View File

@ -4,7 +4,7 @@
# shellcheck disable=SC2006,SC2268 # see below for rationale
timestamp='2021-12-24'
timestamp='2021-12-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
@ -1020,6 +1020,11 @@ case $cpu-$vendor in
;;
# Here we normalize CPU types with a missing or matching vendor
armh-unknown | armh-alt)
cpu=armv7l
vendor=alt
basic_os=${basic_os:-linux-gnueabihf}
;;
dpx20-unknown | dpx20-bull)
cpu=rs6000
vendor=bull

View File

@ -1,5 +1,5 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.48.5.
.TH CONFIG.SUB "1" "December 2021" "GNU config.sub (2021-12-24)" "User Commands"
.TH CONFIG.SUB "1" "December 2021" "GNU config.sub (2021-12-25)" "User Commands"
.SH NAME
config.sub \- validate and canonicalize a configuration triplet
.SH SYNOPSIS

View File

@ -95,6 +95,8 @@ arm64-apple-ios aarch64-apple-ios
armbe armbe-unknown-none
armeb-unknown-netbsdelf7.0 armeb-unknown-netbsdelf7.0
armel armel-unknown-none
armh armv7l-alt-linux-gnueabihf
armh-alt-linux-gnueabihf armv7l-alt-linux-gnueabihf
armle armle-unknown-none
armv2 armv2-unknown-none
armv3l armv3l-unknown-none