mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-24 12:23:31 +08:00
* config/tc-v850.c (md_assemble): Always pass format string to
as_warn. (md_apply_fix): Similarly for as_warn_where.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2010-08-02 Alan Modra <amodra@gmail.com>
|
||||||
|
|
||||||
|
* config/tc-v850.c (md_assemble): Always pass format string to
|
||||||
|
as_warn.
|
||||||
|
(md_apply_fix): Similarly for as_warn_where.
|
||||||
|
|
||||||
2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
|
2010-07-29 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* config/tc-i386-intel.c: Reformat.
|
* config/tc-i386-intel.c: Reformat.
|
||||||
|
@ -2709,7 +2709,7 @@ md_assemble (char *str)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (warningmsg != NULL)
|
if (warningmsg != NULL)
|
||||||
as_warn (warningmsg);
|
as_warn ("%s", warningmsg);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3111,7 +3111,7 @@ md_apply_fix (fixS *fixP, valueT *valueP, segT seg ATTRIBUTE_UNUSED)
|
|||||||
insn = v850_insert_operand (insn, operand, (offsetT) value,
|
insn = v850_insert_operand (insn, operand, (offsetT) value,
|
||||||
&errmsg);
|
&errmsg);
|
||||||
if (errmsg)
|
if (errmsg)
|
||||||
as_warn_where (fixP->fx_file, fixP->fx_line, errmsg);
|
as_warn_where (fixP->fx_file, fixP->fx_line, "%s", errmsg);
|
||||||
|
|
||||||
if (fixP->fx_size > 2)
|
if (fixP->fx_size > 2)
|
||||||
bfd_putl32 ((bfd_vma) insn, (unsigned char *) where);
|
bfd_putl32 ((bfd_vma) insn, (unsigned char *) where);
|
||||||
|
Reference in New Issue
Block a user