Fix another compile time warning, this time in tc-arm.c.

Resolves: #1333695
This commit is contained in:
Nick Clifton 2016-05-09 17:46:07 +01:00
parent bee341650a
commit 8f9df622c5
2 changed files with 19 additions and 1 deletions

View File

@ -73,3 +73,17 @@
static int mfloat_abi_opt = -1; static int mfloat_abi_opt = -1;
/* Record user cpu selection for object attributes. */ /* 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;

View File

@ -20,7 +20,7 @@
Summary: A GNU collection of binary utilities Summary: A GNU collection of binary utilities
Name: %{?cross}binutils%{?_with_debug:-debug} Name: %{?cross}binutils%{?_with_debug:-debug}
Version: 2.26 Version: 2.26
Release: 20%{?dist} Release: 21%{?dist}
License: GPLv3+ License: GPLv3+
Group: Development/Tools Group: Development/Tools
URL: http://sources.redhat.com/binutils URL: http://sources.redhat.com/binutils
@ -513,6 +513,10 @@ exit 0
%endif # %{isnative} %endif # %{isnative}
%changelog %changelog
* Mon May 09 2016 Nick Clifton <nickc@redhat.com> 2.26-21
- Fix another compile time warning, this time in tc-arm.c.
(#1333695)
* Fri Apr 22 2016 Nick Clifton <nickc@redhat.com> 2.26-20 * Fri Apr 22 2016 Nick Clifton <nickc@redhat.com> 2.26-20
- Housekeeping: Delete retired patches. Renumber patches. - Housekeeping: Delete retired patches. Renumber patches.
- Increase version number past F24 because F24 update is blocked by a version number comparison. - Increase version number past F24 because F24 update is blocked by a version number comparison.