From f6ce267ce1581be9a0af6a1f6c7ac98e8f45042f Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Wed, 12 Nov 2008 02:35:28 +0000 Subject: [PATCH] * config/tc-cris.c (cris_relax_frag): Add missing case for ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD). --- gas/ChangeLog | 3 +++ gas/config/tc-cris.c | 1 + 2 files changed, 4 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 3c7c5184421..1d872216a1d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,8 @@ 2008-11-12 Hans-Peter Nilsson + * 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 c76e0d4dffd..8c2d87af9ff 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): -- 2.30.2