projects
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a24660
)
mips-hack
author
Matthias Klose
<doko@debian.org>
Mon, 22 Jul 2024 04:58:53 +0000
(06:58 +0200)
committer
Matthias Klose
<doko@debian.org>
Mon, 22 Jul 2024 04:58:53 +0000
(06:58 +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 d551b472c904bcc5ea93eda056ebd8d08ac4703a..bbd104753e85b3ecd8f81b48b2990ac23113512e 100644
(file)
--- a/
gas/config/tc-mips.c
+++ b/
gas/config/tc-mips.c
@@
-16748,6
+16748,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;
}