* config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
as_bad calls to silence compiler warning.
This commit is contained in:
parent
e31198c47e
commit
520725ea03
|
@ -1,3 +1,8 @@
|
||||||
|
2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
|
||||||
|
|
||||||
|
* config/tc-mips.c (macro_end, md_convert_frag): Use '%s' for
|
||||||
|
as_bad calls to silence compiler warning.
|
||||||
|
|
||||||
2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
|
2009-04-21 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* config/tc-i386-intel.c (O_XXX): Reorder.
|
* config/tc-i386-intel.c (O_XXX): Reorder.
|
||||||
|
|
|
@ -3575,7 +3575,7 @@ macro_end (void)
|
||||||
warning now. */
|
warning now. */
|
||||||
const char *msg = macro_warning (subtype);
|
const char *msg = macro_warning (subtype);
|
||||||
if (msg != 0)
|
if (msg != 0)
|
||||||
as_warn (msg);
|
as_warn ("%s", msg);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
@ -14633,7 +14633,7 @@ md_convert_frag (bfd *abfd ATTRIBUTE_UNUSED, segT asec, fragS *fragp)
|
||||||
{
|
{
|
||||||
const char *msg = macro_warning (fragp->fr_subtype);
|
const char *msg = macro_warning (fragp->fr_subtype);
|
||||||
if (msg != 0)
|
if (msg != 0)
|
||||||
as_warn_where (fragp->fr_file, fragp->fr_line, msg);
|
as_warn_where (fragp->fr_file, fragp->fr_line, "%s", msg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Go through all the fixups for the first sequence. Disable them
|
/* Go through all the fixups for the first sequence. Disable them
|
||||||
|
|
Loading…
Reference in New Issue