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