* config/tc-cris.c (cris_relax_frag): Add missing case for

ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
This commit is contained in:
Hans-Peter Nilsson
2008-11-12 02:35:28 +00:00
parent edba0af5cc
commit f6ce267ce1
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
2008-11-12 Hans-Peter Nilsson <hp@axis.com>
* config/tc-cris.c (cris_relax_frag): Add missing case for
ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).
PR gas/7020
* read.c (read_a_source_file): Rearrange evaluation order when
looking for '=' to avoid conditional on undefined contents of

View File

@ -534,6 +534,7 @@ cris_relax_frag (segT seg ATTRIBUTE_UNUSED, fragS *fragP,
because of the different reasons that they aren't relaxable. */
switch (fragP->fr_subtype)
{
case ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD):
case ENCODE_RELAX (STATE_COND_BRANCH, STATE_DWORD):
case ENCODE_RELAX (STATE_COND_BRANCH_V32, STATE_DWORD):
case ENCODE_RELAX (STATE_COND_BRANCH_COMMON, STATE_DWORD):