aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2014-07-14 20:59:50 +0200
committerAndreas Schwab <schwab@suse.de>2014-07-15 10:11:01 +0200
commitea7cc5bfc8ed2c139aeb50afe5652f8c4bb4d81a (patch)
tree76c18633e8be69921deb11d6404dd558dab4e1eb
parent87f14779da25380b2e1ee67edcf984f0f8c922c4 (diff)
downloadgdb-ea7cc5bfc8ed2c139aeb50afe5652f8c4bb4d81a.zip
gdb-ea7cc5bfc8ed2c139aeb50afe5652f8c4bb4d81a.tar.gz
gdb-ea7cc5bfc8ed2c139aeb50afe5652f8c4bb4d81a.tar.bz2
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.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-m68k.c4
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 <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.
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. */