projects
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70ca47
)
mips-hack
author
Matthias Klose
<doko@debian.org>
Thu, 7 Jul 2022 10:29:59 +0000
(11:29 +0100)
committer
Matthias Klose
<doko@debian.org>
Thu, 7 Jul 2022 10:29:59 +0000
(11:29 +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 406a04aeae6f97fb213dfabd4e578b0882952be9..9b64ff261b38d3d110fab34f14845c9c349638a5 100644
(file)
--- a/
gas/config/tc-mips.c
+++ b/
gas/config/tc-mips.c
@@
-16734,6
+16734,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;
}