From 2a408181efb13a2ed45363eb2d7f0d68a4bc4af1 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Sat, 14 Jan 2023 17:24:22 +0000 Subject: [PATCH] mips-hack Gbp-Pq: Name mips-hack.diff --- gas/config/tc-mips.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.30.2