* config/tc-mips.c (match_save_restore_list_operand): Avoid -Wformat
	error with older GCCs.
	(mips16_macro_build): Dereference args.
This commit is contained in:
Richard Sandiford 2013-07-15 18:36:57 +00:00
parent eb5b4dedf4
commit 4a06e5a292
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2013-07-15 Richard Sandiford <rdsandiford@googlemail.com>
* config/tc-mips.c (match_save_restore_list_operand): Avoid -Wformat
error with older GCCs.
(mips16_macro_build): Dereference args.
2013-07-14 Richard Sandiford <rdsandiford@googlemail.com>
* config/tc-mips.c (mips_prefer_vec_regno, mips_parse_register):

View File

@ -4730,7 +4730,7 @@ match_save_restore_list_operand (struct mips_arg_info *arg)
{
if (arg->soft_match)
return FALSE;
as_bad (error);
as_bad ("%s", error);
}
/* Finally build the instruction. */
@ -7014,7 +7014,7 @@ mips16_macro_build (expressionS *ep, const char *name, const char *fmt,
if (!operand)
abort ();
insn_insert_operand (&insn, operand, va_arg (args, int));
insn_insert_operand (&insn, operand, va_arg (*args, int));
break;
}
}