Fix kernel patch so that AVR targets will build.

This commit is contained in:
Nick Clifton 2016-01-26 11:05:45 +00:00
parent c56cfc1db4
commit 987c54f5b6
2 changed files with 14 additions and 1 deletions

View File

@ -2334,3 +2334,13 @@ diff -rup binutils-2.25/ld/scripttempl/pe.sc binutils-2.25.patched/ld/scripttemp
}
EOF
--- binutils-2.26.orig/ld/emultempl/avrelf.em 2016-01-26 11:00:32.210889045 +0000
+++ binutils-2.26/ld/emultempl/avrelf.em 2016-01-26 11:00:41.222943557 +0000
@@ -209,6 +209,6 @@ avr_finish (void)
else
elf_elfheader (abfd)->e_flags &= ~EF_AVR_LINKRELAX_PREPARED;
- finish_default ();
+ gld${EMULATION_NAME}_finish ();
}
EOF

View File

@ -20,7 +20,7 @@
Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.26
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv3+
Group: Development/Tools
URL: http://sources.redhat.com/binutils
@ -499,6 +499,9 @@ exit 0
%endif # %{isnative}
%changelog
* Tue Jan 26 2016 Nick Clifton <nickc@redhat.com> 2.26-3
- Fix kernel patch for AVR targets.
* Mon Jan 25 2016 Nick Clifton <nickc@redhat.com> 2.26-2
- Fix kernel patch for PPC32 targets.