SHA256
1
0
forked from pool/dwarves

Accepting request 591069 from devel:tools

- Update to new upstream release 1.11

OBS-URL: https://build.opensuse.org/request/show/591069
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dwarves?expand=0&rev=14
This commit is contained in:
Dominique Leuenberger 2018-03-28 08:31:21 +00:00 committed by Git OBS Bridge
commit 45837ff802
5 changed files with 26 additions and 42 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:557306e1b58b475f689f44095ec62388877b1a8dd06174f97e309994c15bcc14
size 96919

View File

@ -1,29 +0,0 @@
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.2

View File

@ -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 Wed Feb 1 14:38:32 UTC 2017 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package dwarves # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,26 +17,24 @@
Name: dwarves Name: dwarves
Version: 1.10 Version: 1.11
Release: 0 Release: 0
Summary: DWARF utilities Summary: DWARF utilities
License: GPL-2.0 License: GPL-2.0-only
Group: Development/Tools/Debuggers Group: Development/Tools/Debuggers
Url: http://acmel.wordpress.com/ Url: http://acmel.wordpress.com/
#Git-Clone: git://git.kernel.org/pub/scm/devel/pahole/pahole #Git-Clone: git://git.kernel.org/pub/scm/devel/pahole/pahole
#Git-Web: http://git.kernel.org/cgit/devel/pahole/pahole.git #Git-Web: http://git.kernel.org/cgit/devel/pahole/pahole.git
#DL-URL: http://fedorapeople.org/~acme/dwarves/ Source: https://git.kernel.org/pub/scm/devel/pahole/pahole.git/snapshot/pahole-%version.tar.gz
Source: http://fedorapeople.org/~acme/dwarves/%name-%version.tar.bz2
Source2: baselibs.conf Source2: baselibs.conf
Patch1: dwarves-no-DW_TAG_mutable.patch
BuildRequires: cmake BuildRequires: cmake
BuildRequires: libdw-devel >= 0.142 BuildRequires: libdw-devel >= 0.142
BuildRequires: libebl-devel BuildRequires: libebl-devel
BuildRequires: libelf-devel BuildRequires: libelf-devel
BuildRequires: zlib-devel BuildRequires: pkgconfig(zlib)
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# Also known by its most prominent tool # Also known by its most prominent tool
Provides: pahole = %version-%release Provides: pahole = %version-%release
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
dwarves is a set of tools that use the DWARF debugging information dwarves is a set of tools that use the DWARF debugging information
@ -64,6 +62,7 @@ improvements in this area!
%package -n libdwarves1 %package -n libdwarves1
Summary: DWARF processing libraries of dwarves tools Summary: DWARF processing libraries of dwarves tools
Group: System/Libraries Group: System/Libraries
Requires: libebl-plugins
%description -n libdwarves1 %description -n libdwarves1
This package contains the libdwarves shared library for the dwarves 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. for processing DWARF, a debugging data format for ELF files.
%prep %prep
%setup -q -c %setup -qn pahole-%version
%patch -P 1 -p1
%build %build
%cmake %cmake

3
pahole-1.11.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3b2a413f1a6d6b1c329e1664c8b146cc341d48b68428ee5d21d21336a6cc2545
size 134060