* config/tc-cris.c (cris_relax_frag): Add missing case for
authorHans-Peter Nilsson <hp@axis.com>
Wed, 12 Nov 2008 02:35:28 +0000 (02:35 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Wed, 12 Nov 2008 02:35:28 +0000 (02:35 +0000)
ENCODE_RELAX (STATE_COND_BRANCH_PIC, STATE_DWORD).

gas/ChangeLog
gas/config/tc-cris.c

index 3c7c5184421926b181b9af16359ebd58398c5535..1d872216a1da7ea92435cd424b27d37501380b78 100644 (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
index c76e0d4dffd111f768b7dfcbcd76e797ff060395..8c2d87af9ff54e28fa959b99b986f2f7f7c82b10 100644 (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):