[dwlocstat] remove DW_TAG_mutable_type as it was removed from DWARF spec

Lubomir Rintel lkundrak at fedoraproject.org
Thu Sep 18 09:53:43 UTC 2014


commit 3267367959903b9351d34c050410022e8365bdd9
Author: Marcin Juszkiewicz <mjuszkiewicz at redhat.com>
Date:   Fri Sep 5 16:17:30 2014 +0200

    remove DW_TAG_mutable_type as it was removed from DWARF spec
    
    Signed-off-by: Marcin Juszkiewicz <mjuszkiewicz at redhat.com>

 dwlocstat-remove-DW_TAG_mutable_type.patch |   18 ++++++++++++++++++
 dwlocstat.spec                             |    7 ++++++-
 2 files changed, 24 insertions(+), 1 deletions(-)
---
diff --git a/dwlocstat-remove-DW_TAG_mutable_type.patch b/dwlocstat-remove-DW_TAG_mutable_type.patch
new file mode 100644
index 0000000..8ee7ae3
--- /dev/null
+++ b/dwlocstat-remove-DW_TAG_mutable_type.patch
@@ -0,0 +1,18 @@
+Based on patch for dwarves.
+
+DW_TAG_mutable_type was a mistake in an early DWARFv3 draft and was
+removed in the final version.
+
+http://dwarfstd.org/ShowIssue.php?issue=050223.1
+Index: pmachata-dwlocstat-c55cb50/dwarfstrings.c
+===================================================================
+--- pmachata-dwlocstat-c55cb50.orig/dwarfstrings.c
++++ pmachata-dwlocstat-c55cb50/dwarfstrings.c
+@@ -93,7 +93,6 @@ dwarf_tag_string (unsigned int tag)
+       [DW_TAG_unspecified_type] = "unspecified_type",
+       [DW_TAG_partial_unit] = "partial_unit",
+       [DW_TAG_imported_unit] = "imported_unit",
+-      [DW_TAG_mutable_type] = "mutable_type",
+       [DW_TAG_condition] = "condition",
+       [DW_TAG_shared_type] = "shared_type",
+       [DW_TAG_type_unit] = "type_unit",
diff --git a/dwlocstat.spec b/dwlocstat.spec
index e9f1a88..0f2f32a 100644
--- a/dwlocstat.spec
+++ b/dwlocstat.spec
@@ -5,7 +5,7 @@
 
 Name: dwlocstat
 Version: 0.1
-Release: 0.6.%{checkout}%{?dist}
+Release: 0.7.%{checkout}%{?dist}
 Summary: Tool for examining Dwarf location info coverage
 
 # The following files are dual-licensed:
@@ -15,6 +15,7 @@ License: GPLv3+ and LGPLv3+
 URL: https://github.com/pmachata/dwlocstat
 # wget the following with --content-disposition
 Source0: https://github.com/pmachata/dwlocstat/tarball/%{hash}/%{tarbase}.tar.gz
+Patch0:  dwlocstat-remove-DW_TAG_mutable_type.patch
 # 0.153 defines DW_OP_GNU_entry_value
 BuildRequires: elfutils-devel >= 0.153
 
@@ -26,6 +27,7 @@ coverage of that DIE's range by location expressions.
 
 %prep
 %setup -q -n %{tarbase}
+%patch0 -p1
 
 %build
 make %{?_smp_mflags} dwlocstat \
@@ -47,6 +49,9 @@ install -p -m 644 -t $RPM_BUILD_ROOT%{_mandir}/man1 %{name}.1
 %{_mandir}/man1/%{name}.1*
 
 %changelog
+* Fri Sep 05 2014 Marcin Juszkiewicz <mjuszkiewicz at redhat.com> - 0.1-0.7.20121105gitc55cb50
+- remove DW_TAG_mutable_type as it was removed from DWARF spec
+
 * Sat Aug 16 2014 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.1-0.6.20121105gitc55cb50
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
 


More information about the scm-commits mailing list