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