projects
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00e7779
)
mips-hack
author
Matthias Klose
<doko@debian.org>
Sat, 14 Jan 2023 17:24:22 +0000
(17:24 +0000)
committer
Matthias Klose
<doko@debian.org>
Sat, 14 Jan 2023 17:24:22 +0000
(17:24 +0000)
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 077993cf7cb22ce0b5a6915daa3fe282ff4ac3f2..8ad7bd0f9c87785b35483935656ea2286187b706 100644
(file)
--- a/
gas/config/tc-mips.c
+++ b/
gas/config/tc-mips.c
@@
-16728,6
+16728,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;
}