projects
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d3ca83
)
mips-hack
author
Matthias Klose
<doko@debian.org>
Wed, 10 Jul 2024 10:55:51 +0000
(12:55 +0200)
committer
Matthias Klose
<doko@debian.org>
Wed, 10 Jul 2024 10:55:51 +0000
(12:55 +0200)
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 8f54cb8937af379e07a83ab431d5c1239dbe148c..186021661d916f25b2b63d22a9c4ae9fdc27ccea 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;
}