* config/tc-mips.c (macro): Ensure that mips2 case of M_LI_DD in
.rdata does not become a variant frag.
This commit is contained in:
parent
cd4b8926ce
commit
94b68f040c
|
@ -1,5 +1,8 @@
|
||||||
Tue Oct 25 14:44:33 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
|
Tue Oct 25 14:44:33 1994 Ian Lance Taylor <ian@sanguine.cygnus.com>
|
||||||
|
|
||||||
|
* config/tc-mips.c (macro): Ensure that mips2 case of M_LI_DD in
|
||||||
|
.rdata does not become a variant frag.
|
||||||
|
|
||||||
* config/tc-mips.c (mips_cpu): Initialize to -1.
|
* config/tc-mips.c (mips_cpu): Initialize to -1.
|
||||||
(md_begin): Don't mips_cpu if it was already set.
|
(md_begin): Don't mips_cpu if it was already set.
|
||||||
(md_parse_option): For -mipsN, don't set mips_cpu if it was
|
(md_parse_option): For -mipsN, don't set mips_cpu if it was
|
||||||
|
|
|
@ -3166,6 +3166,12 @@ macro (ip)
|
||||||
{
|
{
|
||||||
macro_build ((char *) NULL, &icnt, &offset_expr, "ldc1",
|
macro_build ((char *) NULL, &icnt, &offset_expr, "ldc1",
|
||||||
"T,o(b)", treg, (int) BFD_RELOC_LO16, AT);
|
"T,o(b)", treg, (int) BFD_RELOC_LO16, AT);
|
||||||
|
|
||||||
|
/* To avoid confusion in tc_gen_reloc, we must ensure
|
||||||
|
that this does not become a variant frag. */
|
||||||
|
frag_wane (frag_now);
|
||||||
|
frag_new (0);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
breg = AT;
|
breg = AT;
|
||||||
|
|
Loading…
Reference in New Issue