[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/10430] New: tc-mips.c generates "format not a string literal an
From: |
carter_cheng at yahoo dot com |
Subject: |
[Bug gas/10430] New: tc-mips.c generates "format not a string literal and no format arguments" errors (diff submitted) |
Date: |
22 Jul 2009 17:59:16 -0000 |
--- Desktop/binutils-2.19.1/gas/config/tc-mips.c 2009-01-14
16:49:59.000000000 +0800
+++ binutils-2.19.1/gas/config/tc-mips.c 2009-07-23 01:03:36.000000000
+0800
@@ -3456,7 +3456,7 @@
warning now. */
const char *msg = macro_warning (subtype);
if (msg != 0)
- as_warn (msg);
+ as_warn ("%s", msg);
}
else
{
@@ -14409,7 +14409,7 @@
if (ext
&& (RELAX_MIPS16_JAL_DSLOT (fragp->fr_subtype)
|| RELAX_MIPS16_DSLOT (fragp->fr_subtype)))
- as_warn_where (fragp->fr_file, fragp->fr_line,
+ as_warn_where (fragp->fr_file, fragp->fr_line,"%s",
_("extended instruction in delay slot"));
buf = (bfd_byte *) (fragp->fr_literal + fragp->fr_fix);
@@ -14449,7 +14449,7 @@
{
const char *msg = macro_warning (fragp->fr_subtype);
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
--
Summary: tc-mips.c generates "format not a string literal and no
format arguments" errors (diff submitted)
Product: binutils
Version: 2.19
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: carter_cheng at yahoo dot com
CC: bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=10430
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gas/10430] New: tc-mips.c generates "format not a string literal and no format arguments" errors (diff submitted),
carter_cheng at yahoo dot com <=