projects
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa49329
)
mips-hack
author
Matthias Klose
<doko@debian.org>
Sun, 15 Dec 2024 10:00:07 +0000
(11:00 +0100)
committer
Matthias Klose
<doko@debian.org>
Sun, 15 Dec 2024 10:00:07 +0000
(11:00 +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 b7ab1627e3c17d81fcf025d3065068a28516f604..e7b8ac29c13754fe640fc514a1f5079ac9875fe6 100644
(file)
--- a/
gas/config/tc-mips.c
+++ b/
gas/config/tc-mips.c
@@
-16745,6
+16745,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;
}