From: Andreas Schwab Date: Mon, 14 Jul 2014 18:59:50 +0000 (+0200) Subject: Don't complain about dbCC to long branch conversion X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ea7cc5bfc8ed2c139aeb50afe5652f8c4bb4d81a;p=binutils-gdb.git Don't complain about dbCC to long branch conversion * config/tc-m68k.c (md_convert_frag_1): Don't complain with --pcrel about TAB (DBCCLBR, LONG) conversion. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index 2ef1adf4817..9f5a8af4172 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2014-07-14 Andreas Schwab + + * config/tc-m68k.c (md_convert_frag_1): Don't complain with + --pcrel about TAB (DBCCLBR, LONG) conversion. + 2014-07-12 David Majnemer * read.c (assign_symbol): Don't force "set" symbols local for PE. diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c index 2005cd2b9f3..56db0832337 100644 --- a/gas/config/tc-m68k.c +++ b/gas/config/tc-m68k.c @@ -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. */