config.sub: handle cNN-convex and convex-cNN shorthands correctly.

convex-cNN and cNN-convex (where NN in 1, 2, 32, 34, 38) are supposed
to be shorthands for cNN-convex-bsd, but the code to handle them
was in the wrong switch statement, making it unreachable.  Fix.

https://en.wikipedia.org/wiki/Convex_Computer says there was also a C4
machine in this product line, at least on paper, but it’s not clear to
me whether they ever shipped one.

Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
This commit is contained in:
Zack Weinberg
2024-06-03 15:28:36 -04:00
committed by Dmitry V. Levin
parent bfda180944
commit 30dd89683d
2 changed files with 26 additions and 24 deletions

View File

@ -173,6 +173,16 @@ bfin-elf bfin-unknown-elf
blackfin bfin-unknown-linux-gnu
bpf bpf-unknown-none
bpf-elf bpf-unknown-elf
c1 c1-convex-bsd
c1-convex c1-convex-bsd
c2 c2-convex-bsd
c2-convex c2-convex-bsd
c32 c32-convex-bsd
c32-convex c32-convex-bsd
c34 c34-convex-bsd
c34-convex c34-convex-bsd
c38 c38-convex-bsd
c38-convex c38-convex-bsd
c4x c4x-unknown-coff
c54x tic54x-unknown-coff
c54x-coff tic54x-unknown-coff
@ -196,6 +206,11 @@ c90 c90-cray-unicos
cegcc arm-unknown-cegcc
clipper clipper-unknown-none
clipper-clix clipper-intergraph-clix
convex-c1 c1-convex-bsd
convex-c2 c2-convex-bsd
convex-c32 c32-convex-bsd
convex-c34 c34-convex-bsd
convex-c38 c38-convex-bsd
cr16 cr16-unknown-elf
cr16-elf cr16-unknown-elf
cr16-random-elf cr16-random-elf