diff --git a/binutils-2.19.51.0.11-moxie.patch b/binutils-2.19.51.0.11-moxie.patch new file mode 100644 index 0000000..84c37aa --- /dev/null +++ b/binutils-2.19.51.0.11-moxie.patch @@ -0,0 +1,17 @@ +--- ../binutils-2.19.51.0.11.orig/bfd/elf32-moxie.c 2009-07-14 11:42:48.000000000 +0100 ++++ bfd/elf32-moxie.c 2009-07-14 12:28:32.000000000 +0100 +@@ -242,12 +242,12 @@ moxie_elf_relocate_section (bfd *output_ + } + else + { +- bfd_boolean unresolved_reloc, warned; ++ bfd_boolean unresolved_reloc, warned, ignored; + + RELOC_FOR_GLOBAL_SYMBOL (info, input_bfd, input_section, rel, + r_symndx, symtab_hdr, sym_hashes, + h, sec, relocation, +- unresolved_reloc, warned); ++ unresolved_reloc, warned, ignored); + + name = h->root.root.string; + } diff --git a/binutils.spec b/binutils.spec index 18f3d22..c017983 100644 --- a/binutils.spec +++ b/binutils.spec @@ -17,7 +17,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.19.51.0.11 -Release: 26%{?dist} +Release: 27%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -31,6 +31,7 @@ Patch05: binutils-2.19.51.0.10-version.patch Patch06: binutils-2.19.51.0.10-set-long-long.patch Patch07: binutils-2.19.51.0.10-build-id.patch Patch08: binutils-2.19.51.0.11-orphan-section-placement.patch +Patch09: binutils-2.19.51.0.11-moxie.patch %if 0%{?_with_debug:1} # Define this if you want to skip the strip step and preserve debug info. @@ -103,6 +104,7 @@ to consider using libelf instead of BFD. %patch06 -p0 -b .set-long-long~ %patch07 -p0 -b .build-id~ %patch08 -p0 -b .orphan-section-placement~ +%patch09 -p0 -b .moxie~ # We cannot run autotools as there is an exact requirement of autoconf-2.59. @@ -353,6 +355,9 @@ fi %endif # %{isnative} %changelog +* Tue Jul 14 2009 Nick Clifton 2.19.51.0.11-27 +- Add patch to allow moxie target to build, and hence --enable-targets=all to work. + * Tue Jul 14 2009 Nick Clifton 2.19.51.0.11-26 - Import orphan section placement patch from mainline. (BZ 510384)