projects
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0d27d
)
mips-hack
author
Matthias Klose
<doko@debian.org>
Wed, 11 Oct 2023 01:40:20 +0000
(
02:40
+0100)
committer
Matthias Klose
<doko@debian.org>
Wed, 11 Oct 2023 01:40:20 +0000
(
02:40
+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 d6aae660abf1dbb7693ff587f6375cf7d24b5b0f..ad6c880cb8295dbed26adbda48e8f898b8540916 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;
}