2012-06-15 13:18:21 +00:00
|
|
|
Summary: DWARF optimization and duplicate removal tool
|
|
|
|
Name: dwz
|
2019-12-11 16:36:02 +00:00
|
|
|
Version: 0.13
|
2021-01-18 09:29:06 +00:00
|
|
|
Release: 5%{?dist}
|
2012-06-15 13:18:21 +00:00
|
|
|
License: GPLv2+ and GPLv3+
|
2021-01-18 09:29:06 +00:00
|
|
|
#Source: https://sourceware.org/ftp/dwz/releases/%{name}-%{version}.tar.xz
|
|
|
|
#git clone git://sourceware.org/git/dwz; cd dwz; git archive --format=tar --prefix=dwz/ 40d5efd4edc52a7d2ed02f8400a9beb129053271 | xz -9e > ../dwz-20210118.tar.xz
|
|
|
|
Source: %{name}-20210118.tar.xz
|
2021-01-18 09:37:38 +00:00
|
|
|
BuildRequires: gcc, gcc-c++, elfutils-libelf-devel, dejagnu
|
2020-12-17 04:50:00 +00:00
|
|
|
BuildRequires: make
|
2012-06-15 13:18:21 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
The dwz package contains a program that attempts to optimize DWARF
|
|
|
|
debugging information contained in ELF shared libraries and ELF executables
|
|
|
|
for size, by replacing DWARF information representation with equivalent
|
|
|
|
smaller representation where possible and by reducing the amount of
|
|
|
|
duplication using techniques from DWARF standard appendix E - creating
|
|
|
|
DW_TAG_partial_unit compilation units (CUs) for duplicated information
|
|
|
|
and using DW_TAG_imported_unit to import it into each CU that needs it.
|
|
|
|
|
|
|
|
%prep
|
2019-12-11 16:36:02 +00:00
|
|
|
%setup -q -n dwz
|
2012-06-15 13:18:21 +00:00
|
|
|
|
|
|
|
%build
|
2020-07-13 19:16:57 +00:00
|
|
|
%make_build CFLAGS='%{optflags}' LDFLAGS='%{build_ldflags}' \
|
2018-02-23 12:39:45 +00:00
|
|
|
prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
|
2012-06-15 13:18:21 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf %{buildroot}
|
2020-07-13 19:16:57 +00:00
|
|
|
%make_install prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir}
|
2012-06-15 13:18:21 +00:00
|
|
|
|
2019-12-11 16:36:02 +00:00
|
|
|
%check
|
|
|
|
make check
|
|
|
|
|
2012-06-15 13:18:21 +00:00
|
|
|
%files
|
2017-02-01 20:05:27 +00:00
|
|
|
%license COPYING COPYING3 COPYING.RUNTIME
|
2012-06-15 13:18:21 +00:00
|
|
|
%{_bindir}/dwz
|
|
|
|
%{_mandir}/man1/dwz.1*
|
|
|
|
|
|
|
|
%changelog
|
2021-01-18 09:29:06 +00:00
|
|
|
* Mon Jan 18 2021 Jakub Jelinek <jakub@redhat.com> 0.13-5
|
|
|
|
- update to latest git snapshot
|
|
|
|
- DWARF5 support
|
|
|
|
|
2020-07-27 16:08:47 +00:00
|
|
|
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-07-13 19:16:57 +00:00
|
|
|
* Mon Jul 13 2020 Tom Stellard <tstellar@redhat.com> - 0.13-3
|
|
|
|
- Use make macros
|
|
|
|
- https://fedoraproject.org/wiki/Changes/UseMakeBuildInstallMacro
|
|
|
|
|
2020-01-28 16:45:51 +00:00
|
|
|
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.13-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-12-11 16:36:02 +00:00
|
|
|
* Wed Dec 11 2019 Jakub Jelinek <jakub@redhat.com> 0.13-1
|
|
|
|
- update to a new upstream release
|
|
|
|
- add make check
|
|
|
|
|
2019-07-24 22:51:03 +00:00
|
|
|
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-01-31 18:02:45 +00:00
|
|
|
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-19 21:10:36 +00:00
|
|
|
* Thu Jul 19 2018 Marek Polacek <polacek@redhat.com> 0.12-9
|
|
|
|
- remove %{?_isa} from BuildRequires (#1545173)
|
|
|
|
- add gcc to BuildRequires
|
|
|
|
|
2018-07-12 23:26:48 +00:00
|
|
|
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-23 12:39:45 +00:00
|
|
|
* Fri Feb 23 2018 Florian Weimer <fweimer@redhat.com> - 0.12-7
|
|
|
|
- Use LDFLAGS from redhat-rpm-config
|
|
|
|
|
2018-02-07 07:47:21 +00:00
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2017-08-02 19:52:26 +00:00
|
|
|
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-26 06:54:47 +00:00
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-01 20:05:27 +00:00
|
|
|
* Wed Feb 01 2017 Stephen Gallagher <sgallagh@redhat.com> - 0.12-3
|
|
|
|
- Add missing %%license macro
|
|
|
|
|
2016-02-03 19:25:45 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.12-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-07-13 08:34:46 +00:00
|
|
|
* Mon Jul 13 2015 Jakub Jelinek <jakub@redhat.com> 0.12-1
|
|
|
|
- fix up alignment of moved non-allocated sections and section header table
|
|
|
|
|
2015-06-17 04:57:46 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-02-21 21:20:51 +00:00
|
|
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.11-5
|
|
|
|
- Rebuilt for Fedora 23 Change
|
|
|
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
|
|
|
|
|
2014-08-16 10:05:28 +00:00
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 09:12:26 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-03 08:50:01 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.11-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-07-02 14:21:02 +00:00
|
|
|
* Tue Jul 2 2013 Jakub Jelinek <jakub@redhat.com> 0.11-1
|
|
|
|
- handle .gdb_index version 8 (#969454)
|
|
|
|
|
2013-03-11 10:29:21 +00:00
|
|
|
* Mon Mar 11 2013 Jakub Jelinek <jakub@redhat.com> 0.10-1
|
|
|
|
- when creating DW_AT_stmt_list, use DW_FORM_sec_offset for dwarf4
|
|
|
|
and DW_FORM_data4 for dwarf[23] rather than vice versa (#919755)
|
|
|
|
|
2013-02-04 11:03:25 +00:00
|
|
|
* Mon Feb 4 2013 Jakub Jelinek <jakub@redhat.com> 0.9-1
|
|
|
|
- fix up handling of DIE equality if more than one DIE in the same
|
|
|
|
CU compare equal (#889283)
|
|
|
|
- check DW_FORM_ref_addr properly during fi_multifile phase
|
|
|
|
|
2012-11-29 10:18:22 +00:00
|
|
|
* Thu Nov 29 2012 Jakub Jelinek <jakub@redhat.com> 0.8-1
|
|
|
|
- fix recompute_abbrevs (#880634)
|
|
|
|
- optimize DW_FORM_data[48] DW_AT_high_pc that GCC 4.8 produces
|
|
|
|
|
2012-08-10 13:04:46 +00:00
|
|
|
* Fri Aug 10 2012 Jakub Jelinek <jakub@redhat.com> 0.7-1
|
|
|
|
- fix iterative hasing on big-endian targets (#846685)
|
|
|
|
|
2012-07-18 22:10:39 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-07-17 08:39:14 +00:00
|
|
|
* Tue Jul 17 2012 Jakub Jelinek <jakub@redhat.com> 0.6-1
|
|
|
|
- add --version/-v option support (Matt Newsome)
|
|
|
|
- fix building on RHEL 5
|
|
|
|
|
2012-07-04 14:30:22 +00:00
|
|
|
* Wed Jul 4 2012 Jakub Jelinek <jakub@redhat.com> 0.5-1
|
|
|
|
- handle .gdb_index version 7
|
|
|
|
|
2012-06-22 07:13:02 +00:00
|
|
|
* Fri Jun 22 2012 Jakub Jelinek <jakub@redhat.com> 0.4-1
|
|
|
|
- fix up DIE counting in low-mem mode for testing the -L limit
|
|
|
|
|
2012-06-15 13:18:21 +00:00
|
|
|
* Fri Jun 15 2012 Jakub Jelinek <jakub@redhat.com> 0.3-1
|
|
|
|
- update to dwz-0.3 (#830863)
|
|
|
|
|
|
|
|
* Mon Jun 11 2012 Jakub Jelinek <jakub@redhat.com> 0.2-1
|
|
|
|
- new package
|