]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
PR23877, bad value (n32r5900) for default CPU
authorAlan Modra <amodra@gmail.com>
Wed, 28 Feb 2024 22:15:18 +0000 (08:45 +1030)
committerAlan Modra <amodra@gmail.com>
Wed, 28 Feb 2024 22:25:51 +0000 (08:55 +1030)
commit62143ef92c28e64f3e4438b6dd4e8bb04a0fed12
treea44253983bd7629369645b391a31532745f2b2c6
parent60856b5cdafc520538688258a8ce4ae8be2a8477
PR23877, bad value (n32r5900) for default CPU

Catching this at configure time would be nicer, but we'd need to exactly
match mips_parse_cpu in configure.ac and keep it all in sync.

PR 23877
* config/tc-mips.c (mips_after_parse_args): Don't assert that
mips_parse_cpu returns non-NULL, call as_fatal with an informative
message instead.
gas/config/tc-mips.c