From 8f9df622c563b8b6cbe79ea3e516cd6361e15d18 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 9 May 2016 17:46:07 +0100 Subject: [PATCH] Fix another compile time warning, this time in tc-arm.c. Resolves: #1333695 --- binutils-2.26-fix-compile-warnings.patch | 14 ++++++++++++++ binutils.spec | 6 +++++- 2 files changed, 19 insertions(+), 1 deletion(-) 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 284892d..912a2ab 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: 20%{?dist} +Release: 21%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -513,6 +513,10 @@ exit 0 %endif # %{isnative} %changelog +* Mon May 09 2016 Nick Clifton 2.26-21 +- Fix another compile time warning, this time in tc-arm.c. + (#1333695) + * Fri Apr 22 2016 Nick Clifton 2.26-20 - Housekeeping: Delete retired patches. Renumber patches. - Increase version number past F24 because F24 update is blocked by a version number comparison.