diff options
author | Jing Yu <jingyu@google.com> | 2010-08-10 10:00:25 -0700 |
---|---|---|
committer | Jing Yu <jingyu@google.com> | 2010-08-10 10:00:25 -0700 |
commit | dc5b400295740e91151a8ea7991ba7335217a6ed (patch) | |
tree | 58a47341772d659c5ce66e6460b5eb95c46cff98 /binutils-2.19/gas | |
parent | 5755afadf580726c7d9a34c575930d21c54a1f0a (diff) | |
download | toolchain_binutils-dc5b400295740e91151a8ea7991ba7335217a6ed.tar.gz toolchain_binutils-dc5b400295740e91151a8ea7991ba7335217a6ed.tar.bz2 toolchain_binutils-dc5b400295740e91151a8ea7991ba7335217a6ed.zip |
Fix up uses of gas printf like functions so that the format string
is a constant string. Back port part of the following upstream change:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gas/config/tc-arm.c?cvsroot=src
Revision 1.397
Tested:
With the patch, tc-arm.c compile properly on gLucid and gHardy.
Change-Id: I89128bfdf261d599a75e72623590bb91189e5827
Diffstat (limited to 'binutils-2.19/gas')
-rw-r--r-- | binutils-2.19/gas/config/tc-arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils-2.19/gas/config/tc-arm.c b/binutils-2.19/gas/config/tc-arm.c index d21fac25..8db76d3a 100644 --- a/binutils-2.19/gas/config/tc-arm.c +++ b/binutils-2.19/gas/config/tc-arm.c @@ -17167,7 +17167,7 @@ arm_frag_align_code (int n, int max) sprintf (err_msg, _("alignments greater than %d bytes not supported in .text sections."), MAX_MEM_FOR_RS_ALIGN_CODE + 1); - as_fatal (err_msg); + as_fatal ("%s", err_msg); } p = frag_var (rs_align_code, |