backport removal of DW_TAG_mutable_type

This commit is contained in:
Marcin Juszkiewicz 2014-09-05 16:09:27 +02:00 committed by Lubomir Rintel
parent c42173bab6
commit a2cc253821
2 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,32 @@
https://git.kernel.org/cgit/devel/pahole/pahole.git/commit/?id=943a0de0679a34b5e630f85cd01cca35c0d0e544
From 943a0de0679a34b5e630f85cd01cca35c0d0e544 Mon Sep 17 00:00:00 2001
From: Mark Wielaard <mjw@redhat.com>
Date: Wed, 18 Jun 2014 11:14:07 +0200
Subject: dwarves_fprintf: DW_TAG_mutable_type doesn't exist.
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
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
diff --git a/dwarves_fprintf.c b/dwarves_fprintf.c
index 4d8e0f4..b746864 100644
--- a/dwarves_fprintf.c
+++ b/dwarves_fprintf.c
@@ -75,7 +75,6 @@ static const char *dwarf_tag_names[] = {
[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",
#ifdef STB_GNU_UNIQUE
--
cgit v0.10.1

View File

@ -3,12 +3,13 @@
Name: dwarves
Version: 1.10
Release: 6%{?dist}
Release: 7%{?dist}
License: GPLv2
Summary: Debugging Information Manipulation Tools
Group: Development/Tools
URL: http://acmel.wordpress.com
Source: http://fedorapeople.org/~acme/dwarves/%{name}-%{version}.tar.bz2
Patch0: dwarves-remove-dw_tag_mutable_type.patch
BuildRequires: cmake
BuildRequires: zlib-devel
BuildRequires: elfutils-devel >= 0.130
@ -49,6 +50,7 @@ Debugging information processing library development files.
%prep
%setup -q -c -n %{name}-%{version}
%patch0 -p1
%build
%cmake .
@ -114,6 +116,9 @@ rm -rf %{buildroot}
%{_libdir}/%{libname}_reorganize.so
%changelog
* Fri Sep 05 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 1.10-7
- backport removal of DW_TAG_mutable_type
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.10-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild