[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 09/15] config.sub: don’t override OS for blackfin, m68knommu
From: |
Zack Weinberg |
Subject: |
[RFC PATCH 09/15] config.sub: don’t override OS for blackfin, m68knommu, parisc. |
Date: |
Mon, 3 Jun 2024 15:28:38 -0400 |
A similar issue to the previous patch: make the OS default for the CPU
aliases “blackfin,” “m68knommu,” and “parisc” actually be a default
and not an override. There have been many OSes for PA/RISC. Both
blackfin and m68knommu are definitely used in bare-metal configuration
as well as with an OS. And in general, CPU aliases should behave as
much like the canonical CPU name as possible.
---
config.sub | 6 +++---
testsuite/config-sub.data | 7 +++++++
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/config.sub b/config.sub
index 5e21338..41f5d79 100755
--- a/config.sub
+++ b/config.sub
@@ -1093,7 +1093,7 @@ case $cpu-$vendor in
;;
blackfin-*)
cpu=bfin
- basic_os=linux
+ basic_os=${basic_os:-linux}
;;
c54x-*)
cpu=tic54x
@@ -1116,7 +1116,7 @@ case $cpu-$vendor in
;;
m68knommu-*)
cpu=m68k
- basic_os=linux
+ basic_os=${basic_os:-linux}
;;
m9s12z-* | m68hcs12z-* | hcs12z-* | s12z-*)
cpu=s12z
@@ -1126,7 +1126,7 @@ case $cpu-$vendor in
;;
parisc-*)
cpu=hppa
- basic_os=linux
+ basic_os=${basic_os:-linux}
;;
pentium-* | p5-* | k5-* | k6-* | nexgen-* | viac3-*)
cpu=i586
diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data
index 454c5a3..c4c092c 100644
--- a/testsuite/config-sub.data
+++ b/testsuite/config-sub.data
@@ -167,6 +167,8 @@ be64-none
be64-unknown-none
bfin bfin-unknown-none
bfin-elf bfin-unknown-elf
blackfin bfin-unknown-linux-gnu
+blackfin-elf bfin-unknown-elf
+blackfin-linux bfin-unknown-linux-gnu
bpf bpf-unknown-none
bpf-elf bpf-unknown-elf
c1 c1-convex-bsd
@@ -426,6 +428,8 @@ m68k-mint m68k-atari-mint
m68k-next-openstep3 m68k-next-openstep3
m68k-next-openstep4 m68k-next-openstep4
m68knommu m68k-unknown-linux-gnu
+m68knommu-elf m68k-unknown-elf
+m68knommu-linux m68k-unknown-linux-gnu
m88k m88k-unknown-none
m88k-omron m88k-omron-luna
m9s12z s12z-unknown-none
@@ -617,6 +621,9 @@ ose68k
m68k-ericsson-ose
pa-hitachi hppa1.1-hitachi-hiuxwe2
paragon i860-intel-osf
parisc hppa-unknown-linux-gnu
+parisc-hiux hppa-hitachi-hiuxwe2
+parisc-hpux hppa-hp-hpux
+parisc-linux hppa-unknown-linux-gnu
pbb m68k-tti-sysv3
pbd sparc-tti-sysv3
pc532 ns32k-pc532-none
--
2.43.2
- [RFC PATCH 00/15] config.sub bug fixes, Zack Weinberg, 2024/06/03
- [RFC PATCH 01/15] config.sub: testsuite: whitespace and sorting corrections., Zack Weinberg, 2024/06/03
- [RFC PATCH 02/15] config.sub: disable shellcheck warning SC2162 globally., Zack Weinberg, 2024/06/03
- [RFC PATCH 03/15] config.sub: flatten and sort long case-alternative lists, Zack Weinberg, 2024/06/03
- [RFC PATCH 04/15] config.sub: correct Bull DPX/2-[123]00 and DPX/20 canonical names., Zack Weinberg, 2024/06/03
- [RFC PATCH 05/15] config.sub: consistently use sun as default vendor for solaris*., Zack Weinberg, 2024/06/03
- [RFC PATCH 06/15] config.sub: accept knetbsd-gnu, netbsd-gnu, uclinux-gnu., Zack Weinberg, 2024/06/03
- [RFC PATCH 07/15] config.sub: handle cNN-convex and convex-cNN shorthands correctly., Zack Weinberg, 2024/06/03
- [RFC PATCH 08/15] config.sub: don’t override OS for c90-cray., Zack Weinberg, 2024/06/03
- [RFC PATCH 09/15] config.sub: don’t override OS for blackfin, m68knommu, parisc.,
Zack Weinberg <=
- [RFC PATCH 11/15] config.sub: remove two unreachable case clauses., Zack Weinberg, 2024/06/03
- [RFC PATCH 10/15] config.sub: normalize nextstep/openstep consistently., Zack Weinberg, 2024/06/03
- [RFC PATCH 12/15] config.sub: Treat i386-pc-rtmk-nova as a 4-part system name., Zack Weinberg, 2024/06/03
- [RFC PATCH 13/15] config.sub: improve consistency of shorthands and X-Y partial names., Zack Weinberg, 2024/06/03
- [RFC PATCH 14/15] config.sub: add missing CPUs, vendors, and OSes., Zack Weinberg, 2024/06/03
- [RFC PATCH 15/15] config.sub: testsuite: add 121 more test cases., Zack Weinberg, 2024/06/03
- Re: [RFC PATCH 00/15] config.sub bug fixes, Zack Weinberg, 2024/06/12