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.
This commit is contained in:
parent
87f14779da
commit
ea7cc5bfc8
2 changed files with 5 additions and 4 deletions
|
@ -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.
|
||||
|
|
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue