d1a9081
Summary: DWARF optimization and duplicate removal tool
d1a9081
Name: dwz
b31742d
Version: 0.14
b31742d
Release: 1%{?dist}
d1a9081
License: GPLv2+ and GPLv3+
b31742d
Source: %{name}-0.14.tar.xz
1db0aa0
BuildRequires: gcc, gcc-c++, gdb, elfutils-libelf-devel, dejagnu
1bb84d5
BuildRequires: make
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
d06f2d3
%setup -q -n dwz
d1a9081
d1a9081
%build
54f4b42
%make_build CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \
25ebda2
  prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
d1a9081
d1a9081
%install
b31742d
rm -rf %{buildroot}
54f4b42
%make_install prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
d1a9081
d06f2d3
%check
d06f2d3
make check
d06f2d3
d1a9081
%files
6340a7a
%license COPYING COPYING3 COPYING.RUNTIME
d1a9081
%{_bindir}/dwz
d1a9081
%{_mandir}/man1/dwz.1*
d1a9081
d1a9081
%changelog
b31742d
* Tue Mar 09 2021 Jakub Jelinek <jakub@redhat.com> 0.14-1
b31742d
- update to a new upstream release
89fddd1
Mark Wielaard d80cb39
* Fri Jan 22 2021 Mark Wielaard <mjw@fedoraproject.org> 0.13-7
Mark Wielaard d80cb39
- Don't crash on DWARF5 .debug_line table with zero files (#1919243)
Mark Wielaard d80cb39
a2e2b1b
* Thu Jan 21 2021 Jakub Jelinek <jakub@redhat.com> 0.13-6
57347da
- DW_FORM_implicit_const handling fixes (sw#27212, sw#27213)
a2e2b1b
- temporarily build odr tests with -gdwarf-4 as they are incompatible with
a2e2b1b
  DWARF 5
57347da
4d3f814
* Mon Jan 18 2021 Jakub Jelinek <jakub@redhat.com> 0.13-5
4d3f814
- update to latest git snapshot
4d3f814
  - DWARF5 support
4d3f814
a1324d7
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-4
a1324d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
a1324d7
54f4b42
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.13-3
54f4b42
- Use make macros
54f4b42
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
54f4b42
ade5795
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-2
ade5795
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
ade5795
d06f2d3
* Wed Dec 11 2019 Jakub Jelinek <jakub@redhat.com> 0.13-1
d06f2d3
- update to a new upstream release
d06f2d3
- add make check
d06f2d3
164ea59
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-11
164ea59
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
164ea59
ddc599d
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-10
ddc599d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
ddc599d
Marek Polacek f453064
* Thu Jul 19 2018 Marek Polacek <polacek@redhat.com> 0.12-9
Marek Polacek f453064
- remove %{?_isa} from BuildRequires (#1545173)
Marek Polacek f453064
- add gcc to BuildRequires
Marek Polacek f453064
04496d2
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-8
04496d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
04496d2
25ebda2
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 0.12-7
25ebda2
- Use LDFLAGS from redhat-rpm-config
25ebda2
9eb5506
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-6
9eb5506
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
9eb5506
5843a18
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-5
5843a18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
5843a18
b6e7de7
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-4
b6e7de7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b6e7de7
6340a7a
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.12-3
6340a7a
- Add missing %%license macro
6340a7a
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