projects
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41ad42f
)
mips-hack
author
Matthias Klose
<doko@debian.org>
Thu, 14 Dec 2023 16:33:06 +0000
(17:33 +0100)
committer
Matthias Klose
<doko@debian.org>
Thu, 14 Dec 2023 16:33:06 +0000
(17:33 +0100)
Gbp-Pq: Name mips-hack.diff
gas/config/tc-mips.c
patch
|
blob
|
history
diff --git
a/gas/config/tc-mips.c
b/gas/config/tc-mips.c
index 4d40d56902a31dc700a0c056afb1846aa9c87743..bd5abbd82bb2d471587122d3539809bd66581b3c 100644
(file)
--- a/
gas/config/tc-mips.c
+++ b/
gas/config/tc-mips.c
@@
-16732,6
+16732,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;
}