diff options
Diffstat (limited to 'gnu/usr.bin/binutils')
-rw-r--r-- | gnu/usr.bin/binutils/gas/config/tc-alpha.c | 2 | ||||
-rw-r--r-- | gnu/usr.bin/binutils/gas/config/tc-i960.c | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/gnu/usr.bin/binutils/gas/config/tc-alpha.c b/gnu/usr.bin/binutils/gas/config/tc-alpha.c index 61dba4b8a4f..5f026078e34 100644 --- a/gnu/usr.bin/binutils/gas/config/tc-alpha.c +++ b/gnu/usr.bin/binutils/gas/config/tc-alpha.c @@ -2349,7 +2349,7 @@ insert_operand(insn, operand, val, file, line) insn = (*operand->insert) (insn, val, &errmsg); if (errmsg) - as_warn (errmsg); + as_warn ("%s", errmsg); } else insn |= ((val & ((1 << operand->bits) - 1)) << operand->shift); diff --git a/gnu/usr.bin/binutils/gas/config/tc-i960.c b/gnu/usr.bin/binutils/gas/config/tc-i960.c index d8c15c09911..13cedc175ae 100644 --- a/gnu/usr.bin/binutils/gas/config/tc-i960.c +++ b/gnu/usr.bin/binutils/gas/config/tc-i960.c @@ -661,7 +661,7 @@ md_assemble (textP) case REG: if (branch_predict) { - as_warn (bp_error_msg); + as_warn ("%s", bp_error_msg); } reg_fmt (args, oP); break; @@ -670,7 +670,7 @@ md_assemble (textP) { if (branch_predict) { - as_warn (bp_error_msg); + as_warn ("%s", bp_error_msg); } mem_fmt (args, oP, 1); break; @@ -682,14 +682,14 @@ md_assemble (textP) case MEM16: if (branch_predict) { - as_warn (bp_error_msg); + as_warn ("%s", bp_error_msg); } mem_fmt (args, oP, 0); break; case CALLJ: if (branch_predict) { - as_warn (bp_error_msg); + as_warn ("%s", bp_error_msg); } /* Output opcode & set up "fixup" (relocation); flag relocation as 'callj' type. */ |