mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-21 01:12:32 +08:00
PR 9874
* config/tc-ia64.c (fix_insn): Fix warning reported by -Wformat-security.
This commit is contained in:
parent
c7c1befafb
commit
83cf10fd4a
@ -1,3 +1,9 @@
|
||||
2009-03-02 Nick Clifton <nickc@redhat.com>
|
||||
|
||||
PR 9874
|
||||
* config/tc-ia64.c (fix_insn): Fix warning reported by
|
||||
-Wformat-security.
|
||||
|
||||
2009-03-02 Qinwei <qinwei@sunnorth.com.cn>
|
||||
|
||||
* config/tc-score7.c: New file.
|
||||
|
@ -11175,7 +11175,7 @@ fix_insn (fixS *fix, const struct ia64_operand *odesc, valueT value)
|
||||
err = (*odesc->insert) (odesc, value, insn + slot);
|
||||
|
||||
if (err)
|
||||
as_bad_where (fix->fx_file, fix->fx_line, err);
|
||||
as_bad_where (fix->fx_file, fix->fx_line, "%s", err);
|
||||
|
||||
t0 = control_bits | (insn[0] << 5) | (insn[1] << 46);
|
||||
t1 = ((insn[1] >> 18) & 0x7fffff) | (insn[2] << 23);
|
||||
|
Loading…
Reference in New Issue
Block a user