* write.c (chain_frchains_together_1): Reorder assertion to avoid
uninit warning.
This commit is contained in:
parent
ed8960ecbc
commit
4fc0b46e62
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
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>
|
2012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
|
||||||
|
|
||||||
* config/tc-mips.h (TC_FORCE_RELOCATION): Remove comment.
|
* 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;
|
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;
|
prev_frag->fr_next = 0;
|
||||||
return prev_frag;
|
return prev_frag;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue