diff options
-rw-r--r-- | gas/ChangeLog | 3 | ||||
-rw-r--r-- | gas/config/tc-cris.c | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 3c7c518..1d87221 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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 diff --git a/gas/config/tc-cris.c b/gas/config/tc-cris.c index c76e0d4..8c2d87a 100644 --- a/gas/config/tc-cris.c +++ b/gas/config/tc-cris.c @@ -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): |