From: Matthias Klose Date: Sat, 14 Jan 2023 17:24:22 +0000 (+0000) Subject: mips-hack X-Git-Tag: archive/raspbian/2.40-2+rpi1^2~3 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=2a408181efb13a2ed45363eb2d7f0d68a4bc4af1;p=binutils.git mips-hack Gbp-Pq: Name mips-hack.diff --- diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 077993cf7..8ad7bd0f9 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -16728,6 +16728,9 @@ parse_code_option (char * name) else return OPTION_TYPE_BAD; + if (mips_opts.isa == ISA_MIPS1 && mips_opts.fp == 0) + mips_opts.isa = ISA_MIPS2; + return isa_set ? OPTION_TYPE_ISA : OPTION_TYPE_NORMAL; }