From: Bartłomiej Zimoń Date: Thu, 7 Oct 2010 14:44:14 +0000 (+0000) Subject: - add gcc 4.4.0 patch X-Git-Tag: auto/th/crossavr-binutils-2_20_1-1~2 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fcrossavr-binutils.git;a=commitdiff_plain;h=39aef82e3bf27d51f7d93898ca5108b68a65d54b - add gcc 4.4.0 patch Changed files: crossavr-binutils-gcc44.patch -> 1.1 crossavr-binutils.spec -> 1.34 --- diff --git a/crossavr-binutils-gcc44.patch b/crossavr-binutils-gcc44.patch new file mode 100644 index 0000000..e381327 --- /dev/null +++ b/crossavr-binutils-gcc44.patch @@ -0,0 +1,11 @@ +--- binutils-2.19.1/gas/config/tc-avr.c.orig 2010-10-06 22:13:33.000000000 +0200 ++++ binutils-2.19.1/gas/config/tc-avr.c 2010-10-07 00:23:10.353333402 +0200 +@@ -1261,7 +1261,7 @@ + } + else + { +- switch (fixP->fx_r_type) ++ switch ((int) fixP->fx_r_type) + { + case -BFD_RELOC_AVR_HI8_LDI_NEG: + case -BFD_RELOC_AVR_HI8_LDI: diff --git a/crossavr-binutils.spec b/crossavr-binutils.spec index 9fec0a7..ec32503 100644 --- a/crossavr-binutils.spec +++ b/crossavr-binutils.spec @@ -18,6 +18,7 @@ Patch3: %{name}-data-origin.patch Patch4: %{name}-xmega.patch Patch5: %{name}-xmega2.patch Patch6: %{name}-atmega32u6.patch +Patch7: %{name}-gcc44.patch URL: http://sources.redhat.com/binutils/ BuildRequires: automake BuildRequires: bash @@ -66,6 +67,7 @@ Ten pakiet zawiera wersję skrośną generującą kod dla Atmel AVR. %patch4 -p0 %patch5 -p0 %patch6 -p0 +%patch7 -p1 %build cp /usr/share/automake/config.sub .