Commit 4fc0b46e authored by Alan Modra's avatar Alan Modra

* write.c (chain_frchains_together_1): Reorder assertion to avoid

	uninit warning.
parent ed8960ec
2012-10-01 Alan Modra <amodra@gmail.com>
* write.c (chain_frchains_together_1): Reorder assertion to avoid
uninit warning.
2012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
* config/tc-mips.h (TC_FORCE_RELOCATION): Remove comment.
......
......@@ -406,8 +406,8 @@ chain_frchains_together_1 (segT section, struct frchain *frchp)
prev_fix = frchp->fix_tail;
}
}
gas_assert (prev_frag->fr_type != 0);
gas_assert (prev_frag != &dummy);
gas_assert (prev_frag != &dummy
&& prev_frag->fr_type != 0);
prev_frag->fr_next = 0;
return prev_frag;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment