From 6cefb693698e895ff423e3096aed3a25f1b61c07467761b9c8f35fb743b7f4bb Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 26 Mar 2018 12:53:02 +0000 Subject: [PATCH] - Update to new upstream release 1.11 OBS-URL: https://build.opensuse.org/package/show/devel:tools/dwarves?expand=0&rev=23 --- dwarves-1.10.tar.bz2 | 3 --- dwarves-no-DW_TAG_mutable.patch | 29 ----------------------------- dwarves.changes | 15 +++++++++++++++ dwarves.spec | 18 ++++++++---------- pahole-1.11.tar.gz | 3 +++ 5 files changed, 26 insertions(+), 42 deletions(-) delete mode 100644 dwarves-1.10.tar.bz2 delete mode 100644 dwarves-no-DW_TAG_mutable.patch create mode 100644 pahole-1.11.tar.gz diff --git a/dwarves-1.10.tar.bz2 b/dwarves-1.10.tar.bz2 deleted file mode 100644 index 93c729b..0000000 --- a/dwarves-1.10.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:557306e1b58b475f689f44095ec62388877b1a8dd06174f97e309994c15bcc14 -size 96919 diff --git a/dwarves-no-DW_TAG_mutable.patch b/dwarves-no-DW_TAG_mutable.patch deleted file mode 100644 index e56a876..0000000 --- a/dwarves-no-DW_TAG_mutable.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 943a0de0679a34b5e630f85cd01cca35c0d0e544 Mon Sep 17 00:00:00 2001 -From: Mark Wielaard -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 -Signed-off-by: Arnaldo Carvalho de Melo - -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.2 - - diff --git a/dwarves.changes b/dwarves.changes index 33076c6..f88d29f 100644 --- a/dwarves.changes +++ b/dwarves.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Mar 26 12:42:30 UTC 2018 - jengelh@inai.de + +- dwarves needs elfutils to have the EBL plugins available + to carry out its work. [boo#1049871] +- Update to new upstream release 1.11 + * dwarf_loader: Do not stop processing after finding + unsupported tags + * dwarf_loader: Support DW_FORM_data{4,8} for reading class + member offsets + * dwarf_fprintf: Handle DW_TAG_GNU_call_site{_parameter} + * dwarf_loader: Add support for DW_TAG_restrict_type + * dwarf_loader: Initial support for DW_TAG_unspecified_type +- Remove dwarves-no-DW_TAG_mutable.patch (already applied) + ------------------------------------------------------------------- Wed Feb 1 14:38:32 UTC 2017 - mpluskal@suse.com diff --git a/dwarves.spec b/dwarves.spec index d2a0456..293e1d7 100644 --- a/dwarves.spec +++ b/dwarves.spec @@ -1,7 +1,7 @@ # # spec file for package dwarves # -# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,26 +17,24 @@ Name: dwarves -Version: 1.10 +Version: 1.11 Release: 0 Summary: DWARF utilities -License: GPL-2.0 +License: GPL-2.0-only Group: Development/Tools/Debuggers Url: http://acmel.wordpress.com/ #Git-Clone: git://git.kernel.org/pub/scm/devel/pahole/pahole #Git-Web: http://git.kernel.org/cgit/devel/pahole/pahole.git -#DL-URL: http://fedorapeople.org/~acme/dwarves/ -Source: http://fedorapeople.org/~acme/dwarves/%name-%version.tar.bz2 +Source: https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-%version.tar.gz Source2: baselibs.conf -Patch1: dwarves-no-DW_TAG_mutable.patch BuildRequires: cmake BuildRequires: libdw-devel >= 0.142 BuildRequires: libebl-devel BuildRequires: libelf-devel -BuildRequires: zlib-devel +BuildRequires: pkgconfig(zlib) +BuildRoot: %{_tmppath}/%{name}-%{version}-build # Also known by its most prominent tool Provides: pahole = %version-%release -BuildRoot: %{_tmppath}/%{name}-%{version}-build %description dwarves is a set of tools that use the DWARF debugging information @@ -64,6 +62,7 @@ improvements in this area! %package -n libdwarves1 Summary: DWARF processing libraries of dwarves tools Group: System/Libraries +Requires: libebl-plugins %description -n libdwarves1 This package contains the libdwarves shared library for the dwarves @@ -84,8 +83,7 @@ This package contains the development files for libdwarves, a library for processing DWARF, a debugging data format for ELF files. %prep -%setup -q -c -%patch -P 1 -p1 +%setup -qn pahole-%version %build %cmake diff --git a/pahole-1.11.tar.gz b/pahole-1.11.tar.gz new file mode 100644 index 0000000..7bd4983 --- /dev/null +++ b/pahole-1.11.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b2a413f1a6d6b1c329e1664c8b146cc341d48b68428ee5d21d21336a6cc2545 +size 134060