diff --git a/dkppc/patches/binutils-2.19.1.patch b/dkppc/patches/binutils-2.19.1.patch index 3bd8702..ee9ce35 100644 --- a/dkppc/patches/binutils-2.19.1.patch +++ b/dkppc/patches/binutils-2.19.1.patch @@ -1,6 +1,6 @@ -diff -Nbaur binutils-2.18.93/config.sub binutils-2.18.93-ppc/config.sub ---- binutils-2.18.93/config.sub 2008-04-14 10:28:35.000000000 +0100 -+++ binutils-2.18.93-ppc/config.sub 2008-10-18 02:19:55.000000000 +0100 +diff -Nbaur binutils-2.19.1/config.sub binutils-2.19.1-ppc/config.sub +--- binutils-2.19.1/config.sub 2008-04-14 10:28:35.000000000 +0100 ++++ binutils-2.19.1-ppc/config.sub 2009-05-09 12:24:54.000000000 +0100 @@ -230,6 +230,10 @@ basic_machine=m68k-atari os=-mint @@ -12,9 +12,9 @@ diff -Nbaur binutils-2.18.93/config.sub binutils-2.18.93-ppc/config.sub esac # Decode aliases for certain CPU-COMPANY combinations. -diff -Nbaur binutils-2.18.93/gas/config/tc-ppc.c binutils-2.18.93-ppc/gas/config/tc-ppc.c ---- binutils-2.18.93/gas/config/tc-ppc.c 2008-08-02 05:38:50.000000000 +0100 -+++ binutils-2.18.93-ppc/gas/config/tc-ppc.c 2008-10-18 02:33:57.000000000 +0100 +diff -Nbaur binutils-2.19.1/gas/config/tc-ppc.c binutils-2.19.1-ppc/gas/config/tc-ppc.c +--- binutils-2.19.1/gas/config/tc-ppc.c 2008-08-02 05:38:50.000000000 +0100 ++++ binutils-2.19.1-ppc/gas/config/tc-ppc.c 2009-05-09 12:26:17.000000000 +0100 @@ -850,6 +850,9 @@ /* Do all PPC750s have paired single ops? */ else if (strcmp (arg, "750cl") == 0) @@ -35,3 +35,30 @@ diff -Nbaur binutils-2.18.93/gas/config/tc-ppc.c binutils-2.18.93-ppc/gas/config fprintf (stream, _("\ -mppc64, -m620 generate code for PowerPC 620/625/630\n\ -mppc64bridge generate code for PowerPC 64, including bridge insns\n\ +@@ -1656,7 +1660,7 @@ + errmsg = NULL; + insn = (*operand->insert) (insn, (long) val, ppc_cpu, &errmsg); + if (errmsg != (const char *) NULL) +- as_bad_where (file, line, errmsg); ++ as_bad_where (file, line, "%s", errmsg); + } + else + insn |= ((long) val & operand->bitm) << operand->shift; +@@ -2387,7 +2391,7 @@ + { + insn = (*operand->insert) (insn, 0L, ppc_cpu, &errmsg); + if (errmsg != (const char *) NULL) +- as_bad (errmsg); ++ as_bad ("%s", errmsg); + continue; + } + +@@ -2400,7 +2404,7 @@ + { + insn = (*operand->insert) (insn, 0L, ppc_cpu, &errmsg); + if (errmsg != (const char *) NULL) +- as_bad (errmsg); ++ as_bad ("%s", errmsg); + } + if ((operand->flags & PPC_OPERAND_NEXT) != 0) + next_opindex = *opindex_ptr + 1;