diff --git a/binutils-2.26-fix-compile-warnings.patch b/binutils-2.26-fix-compile-warnings.patch index 0fa527c..70f5060 100644 --- a/binutils-2.26-fix-compile-warnings.patch +++ b/binutils-2.26-fix-compile-warnings.patch @@ -73,3 +73,17 @@ static int mfloat_abi_opt = -1; /* Record user cpu selection for object attributes. */ +--- binutils-2.26.orig/gas/config/tc-arm.c 2016-05-09 17:21:37.239766096 +0100 ++++ binutils-2.26/gas/config/tc-arm.c 2016-05-09 17:23:08.410319859 +0100 +@@ -1982,6 +1982,11 @@ parse_neon_el_struct_list (char **str, u + const char *const type_error = _("mismatched element/structure types in list"); + struct neon_typed_alias firsttype; + ++ firsttype.defined = 0; ++ firsttype.eltype.type = NT_invtype; ++ firsttype.eltype.size = -1; ++ firsttype.index = -1; ++ + if (skip_past_char (&ptr, '{') == SUCCESS) + leading_brace = 1; + diff --git a/binutils.spec b/binutils.spec index abdc4c6..1c0ed2d 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: 18%{?dist} +Release: 19%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -525,6 +525,10 @@ exit 0 %endif # %{isnative} %changelog +* Mon May 09 2016 Nick Clifton 2.26-19 +- Fix another compile time warning, this time in tc-arm.c. + (#1333695) + * Wed Apr 20 2016 Nick Clifton 2.26-18 - Import patch to fix generation of x86 relocs in PIE mode. (PR 19827) (#1302071)