On Mon, Jul 31, 2023 at 11:00:55AM +0100, Maciej W. Rozycki wrote: > GNU binutils support the selection of the default MIPS subtarget via the > configuration triplet, e.g. `mips64octeon+el-unknown-linux-gnu' builds a > Linux/GNU 64-bit MIPS (n32 ABI) little-endian configuration with the CPU > set to Octeon+ by default. However `config.sub' rejects such a triplet > and indeed it only lets through a random choice of ones people submitted > changes for to support. > > There is a large number of MIPS CPU configurations, 118 at the moment, > that GNU binutils know, so rather than adding them individually and then > hoping it will be kept up to date from now on accept any `mips*' pattern > for the machine part, just as we already do for a few of other targets. > > * config.sub: Allow any `mips*' CPU rather than listing a choice > individually. > * doc/config.sub.1: Regenerate. > * testsuite/config-sub.data: Add test cases.
Applied, thanks. -- ldv