From 4346c404e989fa434816095526152c6ec06a18e9 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Wed, 12 Nov 2008 02:35:28 +0000 Subject: * 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 3c7c518442..1d872216a1 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 c76e0d4dff..8c2d87af9f 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): -- cgit v1.2.1