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