diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2013-07-15 18:36:57 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2013-07-15 18:36:57 +0000 |
commit | 4a06e5a292c7b89ad04dd37c8e267c39909ef63b (patch) | |
tree | 75705d73b9ceec86d4a417fe3a53646c70fcc834 /gas/config/tc-mips.c | |
parent | eb5b4dedf41f9ac5d3028abe6660e2e63448e115 (diff) | |
download | gdb-4a06e5a292c7b89ad04dd37c8e267c39909ef63b.zip gdb-4a06e5a292c7b89ad04dd37c8e267c39909ef63b.tar.gz gdb-4a06e5a292c7b89ad04dd37c8e267c39909ef63b.tar.bz2 |
gas/
* config/tc-mips.c (match_save_restore_list_operand): Avoid -Wformat
error with older GCCs.
(mips16_macro_build): Dereference args.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r-- | gas/config/tc-mips.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 1f9aa72..57df9a3 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -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; } } |