Don't complain about dbCC to long branch conversion
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 14 Jul 2014 18:59:50 +0000 (20:59 +0200)
committerAndreas Schwab <schwab@suse.de>
Tue, 15 Jul 2014 08:11:01 +0000 (10:11 +0200)
* config/tc-m68k.c (md_convert_frag_1): Don't complain with
--pcrel about TAB (DBCCLBR, LONG) conversion.

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

index 2ef1adf4817e07db9856427f5b5bc11e487009d6..9f5a8af41728031729d9ddef3acb1d4fbd38a101 100644 (file)
@@ -1,3 +1,8 @@
+2014-07-14  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * config/tc-m68k.c (md_convert_frag_1): Don't complain with
+       --pcrel about TAB (DBCCLBR, LONG) conversion.
+
 2014-07-12  David Majnemer  <david.majnemer@gmail.com>
 
        * read.c (assign_symbol): Don't force "set" symbols local for PE.
index 2005cd2b9f3c8727003375419d41a62709b31e04..56db0832337edb5d3fe024b717788c426a379950 100644 (file)
@@ -5166,10 +5166,6 @@ md_convert_frag_1 (fragS *fragP)
       /* Only DBcc instructions can come here.
         Change dbcc into dbcc/bral.
         JF: these used to be fr_opcode[2-7], but that's wrong.  */
-      if (flag_keep_pcrel)
-       as_bad_where (fragP->fr_file, fragP->fr_line,
-                 _("Conversion of DBcc to absolute jump"));
-
       *buffer_address++ = 0x00;        /* Branch offset = 4.  */
       *buffer_address++ = 0x04;
       *buffer_address++ = 0x60;        /* Put in bra pc+6.  */