mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
* write.c (chain_frchains_together_1): Reorder assertion to avoid
uninit warning.
This commit is contained in:
parent
ed8960ecbc
commit
4fc0b46e62
@ -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>
|
||||
|
||||
* 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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user