From ee9898641088ae9169de0453ce475d371f9d5016 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Sat, 25 Dec 2021 08:00:00 +0000 Subject: [PATCH] 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. --- config.sub | 7 ++++++- doc/config.sub.1 | 2 +- testsuite/config-sub.data | 2 ++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/config.sub b/config.sub index 200e14f..5ba9a97 100755 --- a/config.sub +++ b/config.sub @@ -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 diff --git a/doc/config.sub.1 b/doc/config.sub.1 index 3098672..438e672 100644 --- a/doc/config.sub.1 +++ b/doc/config.sub.1 @@ -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 diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data index 44bd2f1..025b6fb 100644 --- a/testsuite/config-sub.data +++ b/testsuite/config-sub.data @@ -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