|
|
2a4e6c |
Summary: DWARF optimization and duplicate removal tool
|
|
|
2a4e6c |
Name: dwz
|
|
|
2a4e6c |
Version: 0.11
|
|
|
2a4e6c |
Release: 3%{?dist}
|
|
|
2a4e6c |
License: GPLv2+ and GPLv3+
|
|
|
2a4e6c |
Group: Development/Tools
|
|
|
2a4e6c |
# git archive --format=tar --remote=git://sourceware.org/git/dwz.git \
|
|
|
2a4e6c |
# --prefix=%{name}-%{version}/ %{name}-%{version} \
|
|
|
2a4e6c |
# | bzip2 -9 > %{name}-%{version}.tar.bz2
|
|
|
2a4e6c |
Source: %{name}-%{version}.tar.bz2
|
|
|
2a4e6c |
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
|
|
2a4e6c |
BuildRequires: elfutils-libelf-devel%{?_isa}
|
|
|
2a4e6c |
|
|
|
2a4e6c |
%description
|
|
|
2a4e6c |
The dwz package contains a program that attempts to optimize DWARF
|
|
|
2a4e6c |
debugging information contained in ELF shared libraries and ELF executables
|
|
|
2a4e6c |
for size, by replacing DWARF information representation with equivalent
|
|
|
2a4e6c |
smaller representation where possible and by reducing the amount of
|
|
|
2a4e6c |
duplication using techniques from DWARF standard appendix E - creating
|
|
|
2a4e6c |
DW_TAG_partial_unit compilation units (CUs) for duplicated information
|
|
|
2a4e6c |
and using DW_TAG_imported_unit to import it into each CU that needs it.
|
|
|
2a4e6c |
|
|
|
2a4e6c |
%prep
|
|
|
2a4e6c |
%setup -q
|
|
|
2a4e6c |
|
|
|
2a4e6c |
%build
|
|
|
2a4e6c |
make %{?_smp_mflags} CFLAGS='%{optflags}' prefix=%{_prefix} \
|
|
|
2a4e6c |
mandir=%{_mandir} bindir=%{_bindir}
|
|
|
2a4e6c |
|
|
|
2a4e6c |
%install
|
|
|
2a4e6c |
rm -rf %{buildroot}
|
|
|
2a4e6c |
make DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} \
|
|
|
2a4e6c |
install
|
|
|
2a4e6c |
|
|
|
2a4e6c |
%clean
|
|
|
2a4e6c |
rm -rf %{buildroot}
|
|
|
2a4e6c |
|
|
|
2a4e6c |
%files
|
|
|
2a4e6c |
%defattr(-,root,root)
|
|
|
2a4e6c |
%doc COPYING COPYING3 COPYING.RUNTIME
|
|
|
2a4e6c |
%{_bindir}/dwz
|
|
|
2a4e6c |
%{_mandir}/man1/dwz.1*
|
|
|
2a4e6c |
|
|
|
2a4e6c |
%changelog
|
|
|
2a4e6c |
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.11-3
|
|
|
2a4e6c |
- Mass rebuild 2014-01-24
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.11-2
|
|
|
2a4e6c |
- Mass rebuild 2013-12-27
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Tue Jul 2 2013 Jakub Jelinek <jakub@redhat.com> 0.11-1
|
|
|
2a4e6c |
- handle .gdb_index version 8 (#969454)
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Mon Mar 11 2013 Jakub Jelinek <jakub@redhat.com> 0.10-1
|
|
|
2a4e6c |
- when creating DW_AT_stmt_list, use DW_FORM_sec_offset for dwarf4
|
|
|
2a4e6c |
and DW_FORM_data4 for dwarf[23] rather than vice versa (#919755)
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Mon Feb 4 2013 Jakub Jelinek <jakub@redhat.com> 0.9-1
|
|
|
2a4e6c |
- fix up handling of DIE equality if more than one DIE in the same
|
|
|
2a4e6c |
CU compare equal (#889283)
|
|
|
2a4e6c |
- check DW_FORM_ref_addr properly during fi_multifile phase
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Thu Nov 29 2012 Jakub Jelinek <jakub@redhat.com> 0.8-1
|
|
|
2a4e6c |
- fix recompute_abbrevs (#880634)
|
|
|
2a4e6c |
- optimize DW_FORM_data[48] DW_AT_high_pc that GCC 4.8 produces
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Fri Aug 10 2012 Jakub Jelinek <jakub@redhat.com> 0.7-1
|
|
|
2a4e6c |
- fix iterative hasing on big-endian targets (#846685)
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
|
|
|
2a4e6c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Tue Jul 17 2012 Jakub Jelinek <jakub@redhat.com> 0.6-1
|
|
|
2a4e6c |
- add --version/-v option support (Matt Newsome)
|
|
|
2a4e6c |
- fix building on RHEL 5
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Wed Jul 4 2012 Jakub Jelinek <jakub@redhat.com> 0.5-1
|
|
|
2a4e6c |
- handle .gdb_index version 7
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Fri Jun 22 2012 Jakub Jelinek <jakub@redhat.com> 0.4-1
|
|
|
2a4e6c |
- fix up DIE counting in low-mem mode for testing the -L limit
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Fri Jun 15 2012 Jakub Jelinek <jakub@redhat.com> 0.3-1
|
|
|
2a4e6c |
- update to dwz-0.3 (#830863)
|
|
|
2a4e6c |
|
|
|
2a4e6c |
* Mon Jun 11 2012 Jakub Jelinek <jakub@redhat.com> 0.2-1
|
|
|
2a4e6c |
- new package
|