projects
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7eb10b4
)
mips-hack
author
Matthias Klose
<doko@debian.org>
Mon, 15 Jan 2024 15:43:24 +0000
(16:43 +0100)
committer
Matthias Klose
<doko@debian.org>
Mon, 15 Jan 2024 15:43:24 +0000
(16:43 +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 43c12de2c8aee226708305ae212e465e274f446e..948ca4968fbd48a122ccccb76dac96f4c75b7e1a 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;
}