Module Name:    src
Committed By:   snj
Date:           Sun Nov 15 19:51:50 UTC 2009

Modified Files:
        src/external/gpl3/binutils/dist/gas/config: tc-alpha.c

Log Message:
Pull in fixes from upstream revision 1.83 to avoid string formatting
warnings.  Fixes build with newer GCC, like the one in Snow Leopard.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/gpl3/binutils/dist/gas/config/tc-alpha.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/gpl3/binutils/dist/gas/config/tc-alpha.c
diff -u src/external/gpl3/binutils/dist/gas/config/tc-alpha.c:1.1.1.1 src/external/gpl3/binutils/dist/gas/config/tc-alpha.c:1.2
--- src/external/gpl3/binutils/dist/gas/config/tc-alpha.c:1.1.1.1	Tue Aug 18 09:33:48 2009
+++ src/external/gpl3/binutils/dist/gas/config/tc-alpha.c	Sun Nov 15 19:51:49 2009
@@ -549,7 +549,7 @@
       strcpy (info->string, buffer);
       errmsg = hash_insert (alpha_literal_hash, info->string, (void *) info);
       if (errmsg)
-	as_fatal (errmsg);
+	as_fatal ("%s", errmsg);
     }
 
   return info;
@@ -1829,7 +1829,7 @@
 
       insn = (*operand->insert) (insn, val, &errmsg);
       if (errmsg)
-	as_warn (errmsg);
+	as_warn ("%s", errmsg);
     }
   else
     insn |= ((val & ((1 << operand->bits) - 1)) << operand->shift);

Reply via email to