diff --git a/SOURCES/binutils-DW_TAG_member.patch b/SOURCES/binutils-DW_TAG_member.patch new file mode 100644 index 0000000..3da92e8 --- /dev/null +++ b/SOURCES/binutils-DW_TAG_member.patch @@ -0,0 +1,12 @@ +--- binutils.orig/bfd/dwarf2.c 2022-01-11 14:55:53.182346263 +0000 ++++ binutils-2.35/bfd/dwarf2.c 2022-01-11 15:05:37.480433421 +0000 +@@ -3265,7 +3265,8 @@ scan_unit_for_symbols (struct comp_unit + else + { + func = NULL; +- if (abbrev->tag == DW_TAG_variable) ++ if (abbrev->tag == DW_TAG_variable ++ || abbrev->tag == DW_TAG_member) + { + size_t amt = sizeof (struct varinfo); + var = (struct varinfo *) bfd_zalloc (abfd, amt); diff --git a/SPECS/binutils.spec b/SPECS/binutils.spec index b3564ee..cbbe9ed 100644 --- a/SPECS/binutils.spec +++ b/SPECS/binutils.spec @@ -4,7 +4,7 @@ Summary: A GNU collection of binary utilities Name: %{?scl_prefix}%{?cross}binutils%{?_with_debug:-debug} Version: 2.35 -Release: 5%{?dist}.3 +Release: 5%{?dist}.4 License: GPLv3+ URL: https://sourceware.org/binutils @@ -263,6 +263,10 @@ Patch29: binutils-secondary-relocs-speed.patch # Lifetime: Fixed in 2.38 (maybe) Patch30: binutils.unicode.patch +# Purpose: Allows parsing of DW_TAG_member tags in DWARF debug info. +# Lifetime: Fixed in 2.35.2 +Patch31: binutils-DW_TAG_member.patch + #---------------------------------------------------------------------------- Provides: bundled(libiberty) @@ -894,6 +898,9 @@ exit 0 #---------------------------------------------------------------------------- %changelog +* Tue Jan 11 2022 Nick Clifton - 2.35-5.4 +- Enhance the BFD library to allow it to parse DW_TAG_member DWARF attribute tags. (#2033627) + * Wed Nov 10 2021 Nick Clifton - 2.35-5.3 - Add ability to control the display of unicode characters. (#2018682)