Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/dist/gas/config Pull in fixes from up...



details:   https://anonhg.NetBSD.org/src/rev/53fa1e070f98
branches:  trunk
changeset: 749064:53fa1e070f98
user:      snj <snj%NetBSD.org@localhost>
date:      Sun Nov 15 20:56:40 2009 +0000

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

diffstat:

 external/gpl3/binutils/dist/gas/config/tc-m68k.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r ceda48e95e7f -r 53fa1e070f98 external/gpl3/binutils/dist/gas/config/tc-m68k.c
--- a/external/gpl3/binutils/dist/gas/config/tc-m68k.c  Sun Nov 15 20:48:34 2009 +0000
+++ b/external/gpl3/binutils/dist/gas/config/tc-m68k.c  Sun Nov 15 20:56:40 2009 +0000
@@ -7545,7 +7545,7 @@
     {
       if (i)
        fprintf (stream, " | ");
-      fprintf (stream, m68k_archs[i].name);
+      fprintf (stream, "%s", m68k_archs[i].name);
     }
   fprintf (stream, "\n");
 
@@ -7554,7 +7554,7 @@
     {
       if (i)
        fprintf (stream, " | ");
-      fprintf (stream, m68k_cpus[i].name);
+      fprintf (stream, "%s", m68k_cpus[i].name);
     }
   fprintf (stream, _("\n"));
 }



Home | Main Index | Thread Index | Old Index