From c56cfc1db440f20d51026928d205e45687c0dc47 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Jan 25 2016 12:47:06 +0000 Subject: Fix kernel patch for PPC32 targets. --- diff --git a/binutils-2.25-kernel-ld-r.patch b/binutils-2.25-kernel-ld-r.patch index 03791b4..6e3ebd5 100644 --- a/binutils-2.25-kernel-ld-r.patch +++ b/binutils-2.25-kernel-ld-r.patch @@ -2323,3 +2323,14 @@ diff -rup binutils-2.25/ld/scripttempl/pe.sc binutils-2.25.patched/ld/scripttemp FUNCTION bfd_update_compression_header +--- binutils-2.26.orig/ld/emultempl/ppc32elf.em 2016-01-25 12:41:21.857975805 +0000 ++++ binutils-2.26/ld/emultempl/ppc32elf.em 2016-01-25 12:43:56.424910846 +0000 +@@ -215,7 +215,7 @@ ppc_finish (void) + { + if (params.ppc476_workaround) + lang_for_each_statement (no_zero_padding); +- finish_default (); ++ gld${EMULATION_NAME}_finish (); + } + + EOF diff --git a/binutils.spec b/binutils.spec index 7a0d1ce..76bb6e7 100644 --- a/binutils.spec +++ b/binutils.spec @@ -20,7 +20,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.26 -Release: 1%{?dist} +Release: 2%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -499,6 +499,9 @@ exit 0 %endif # %{isnative} %changelog +* Mon Jan 25 2016 Nick Clifton 2.26-2 +- Fix kernel patch for PPC32 targets. + * Mon Jan 25 2016 Nick Clifton 2.26-1 - Rebase on FSF binutils 2.26 release. - Retire: binutils-2.25.1-ihex-parsing.patch