diff options
author | Nick Clifton <nickc@redhat.com> | 2009-03-02 14:47:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2009-03-02 14:47:38 +0000 |
commit | 83cf10fd4ad07a883ae243f1323125f60ad92deb (patch) | |
tree | 94fc19366da9cb59bcd4e13348fd2b956e1140dd /gas | |
parent | c7c1befafb57596e84c5b74953a6946a31c87304 (diff) | |
download | ppe42-binutils-83cf10fd4ad07a883ae243f1323125f60ad92deb.tar.gz ppe42-binutils-83cf10fd4ad07a883ae243f1323125f60ad92deb.zip |
PR 9874
* config/tc-ia64.c (fix_insn): Fix warning reported by
-Wformat-security.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-ia64.c | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index bcf762d165..7bd0ec2e46 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -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. diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index 7c369d405b..2113fa44f6 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -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); |