From ea7cc5bfc8ed2c139aeb50afe5652f8c4bb4d81a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 14 Jul 2014 20:59:50 +0200 Subject: [PATCH] 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. --- gas/ChangeLog | 5 +++++ gas/config/tc-m68k.c | 4 ---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2ef1adf..9f5a8af 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 2005cd2..56db083 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. */ -- 2.7.4