diff --git a/.devtoolset-3-dwz.metadata b/.devtoolset-3-dwz.metadata new file mode 100644 index 0000000..ef10e40 --- /dev/null +++ b/.devtoolset-3-dwz.metadata @@ -0,0 +1 @@ +c1d66c1ee9ab8577d682b3850592c68fd60f261c SOURCES/dwz-0.11.tar.bz2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..77694c3 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/dwz-0.11.tar.bz2 diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/dwz.spec b/SPECS/dwz.spec new file mode 100644 index 0000000..a325557 --- /dev/null +++ b/SPECS/dwz.spec @@ -0,0 +1,86 @@ +%{?scl:%scl_package gcc} +Summary: DWARF optimization and duplicate removal tool +Name: %{?scl_prefix}dwz +Version: 0.11 +Release: 1.1%{?dist} +License: GPLv2+ and GPLv3+ +Group: Development/Tools +# git archive --format=tar --remote=git://sourceware.org/git/dwz.git \ +# --prefix=dwz-%{version}/ dwz-%{version} \ +# | bzip2 -9 > dwz-%{version}.tar.bz2 +Source: dwz-%{version}.tar.bz2 +BuildRoot: %(mktemp -ud %{_tmppath}/dwz-%{version}-%{release}-XXXXXX) +BuildRequires: elfutils-libelf-devel%{?_isa} +%{?scl:Requires:%scl_runtime} + +%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 +%setup -q -n dwz-%{version} + +%build +make %{?_smp_mflags} CFLAGS='%{optflags}' prefix=%{_prefix} \ + mandir=%{_mandir} bindir=%{_bindir} + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} prefix=%{_prefix} mandir=%{_mandir} bindir=%{_bindir} \ + install + +%clean +rm -rf %{buildroot} + +%files +%defattr(-,root,root) +%doc COPYING COPYING3 COPYING.RUNTIME +%{_bindir}/dwz +%{_mandir}/man1/dwz.1* + +%changelog +* Wed May 21 2014 Marek Polacek 0.11-1.1 +- add .1 to Release + +* Tue Jul 2 2013 Jakub Jelinek 0.11-1 +- handle .gdb_index version 8 (#969454) + +* Mon Mar 11 2013 Jakub Jelinek 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) + +* Mon Feb 4 2013 Jakub Jelinek 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 + +* Thu Nov 29 2012 Jakub Jelinek 0.8-1 +- fix recompute_abbrevs (#880634) +- optimize DW_FORM_data[48] DW_AT_high_pc that GCC 4.8 produces + +* Fri Aug 10 2012 Jakub Jelinek 0.7-1 +- fix iterative hasing on big-endian targets (#846685) + +* Wed Jul 18 2012 Fedora Release Engineering - 0.6-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Tue Jul 17 2012 Jakub Jelinek 0.6-1 +- add --version/-v option support (Matt Newsome) +- fix building on RHEL 5 + +* Wed Jul 4 2012 Jakub Jelinek 0.5-1 +- handle .gdb_index version 7 + +* Fri Jun 22 2012 Jakub Jelinek 0.4-1 +- fix up DIE counting in low-mem mode for testing the -L limit + +* Fri Jun 15 2012 Jakub Jelinek 0.3-1 +- update to dwz-0.3 (#830863) + +* Mon Jun 11 2012 Jakub Jelinek 0.2-1 +- new package