new tarball

This commit is contained in:
roland 2005-11-22 18:18:47 +00:00
parent a916c75265
commit 7a7abf842b
3 changed files with 126 additions and 203 deletions

View File

@ -1 +1 @@
elfutils-0.116.tar.gz elfutils-0.117.tar.gz

View File

@ -1,89 +1,53 @@
%define version 0.116 # -*- rpm-spec-*-
%define release 1 %define fake 0
%define gpl 0
%if %{?_with_compat:1}%{!?_with_compat:0}
%define compat 1
%else
%define compat 0
%endif
Summary: A collection of utilities and DSOs to handle compiled objects. Summary: A collection of utilities and DSOs to handle compiled objects.
Name: elfutils Name: elfutils
Version: %{version} Version: 0.117
%if !%{compat} Release: 1
Release: %{release} %if %{fake}
%else
Release: 0.%{release}
%endif
%if %{gpl}
License: GPL License: GPL
%else %else
License: OSL License: OSL
%endif %endif
Group: Development/Tools Group: Development/Tools
#URL: file://home/devel/drepper/
Source: elfutils-%{version}.tar.gz Source: elfutils-%{version}.tar.gz
Patch1: elfutils-portability.patch
Patch2: elfutils-robustify.patch
Obsoletes: libelf libelf-devel Obsoletes: libelf libelf-devel
Requires: elfutils-libelf = %{version}-%{release} Requires: elfutils-libelf = %{version}-%{release}
Requires: elfutils-libs = %{version}-%{release} %if %{fake}
%if %{gpl}
Requires: binutils >= 2.14.90.0.4-26.2 Requires: binutils >= 2.14.90.0.4-26.2
%endif %endif
Requires: glibc >= 2.3.1-2
# ExcludeArch: xxx # ExcludeArch: xxx
BuildRoot: %{_tmppath}/%{name}-root BuildRoot: %{_tmppath}/%{name}-root
BuildRequires: gcc >= 3.4
BuildRequires: bison >= 1.875 BuildRequires: bison >= 1.875
BuildRequires: flex >= 2.5.4a BuildRequires: flex >= 2.5.4a
BuildRequires: bzip2 BuildRequires: bzip2
%if !%{compat}
BuildRequires: gcc >= 3.4
# Need <byteswap.h> that gives unsigned bswap_16 etc.
BuildRequires: glibc-headers >= 2.3.4-11
%else
BuildRequires: gcc >= 3.2
%endif
%define _gnu %{nil} %define _gnu %{nil}
%define _program_prefix eu- %define _programprefix eu-
%description %description
Elfutils is a collection of utilities, including ld (a linker), Elfutils is a collection of utilities, including ld (a linker),
nm (for listing symbols from object files), size (for listing the nm (for listing symbols from object files), size (for listing the
section sizes of an object or archive file), strip (for discarding section sizes of an object or archive file), strip (for discarding
symbols), readelf (to see the raw ELF file structures), and elflint symbols), readelf (to see the raw ELF file structures), and elflint
(to check for well-formed ELF files). (to check for well-formed ELF files). Also included are numerous
helper libraries which implement DWARF, ELF, and machine-specific ELF
handling.
%if !%{gpl}
%package libs
Summary: Libraries to handle compiled objects.
Group: Development/Tools
License: OSL
Requires: elfutils-libelf = %{version}-%{release}
Conflicts: elfutils < %{version}-%{release}
Conflicts: elfutils > %{version}-%{release}
Conflicts: elfutils-devel < %{version}-%{release}
Conflicts: elfutils-devel > %{version}-%{release}
%description libs
The elfutils-libs package contains libraries which implement DWARF, ELF,
and machine-specific ELF handling. These libraries are used by the programs
in the elfutils package. The elfutils-devel package enables building
other programs using these libraries.
%endif
%package devel %package devel
Summary: Development libraries to handle compiled objects. Summary: Development libraries to handle compiled objects.
Group: Development/Tools Group: Development/Tools
%if %{gpl} %if %{fake}
License: GPL License: GPL
%else %else
License: OSL License: OSL
%endif %endif
Requires: elfutils-libs = %{version}-%{release} Requires: elfutils = %{version}-%{release}
Requires: elfutils-libelf-devel = %{version}-%{release} Requires: elfutils-libelf-devel = %{version}-%{release}
%description devel %description devel
@ -96,15 +60,9 @@ assembler interface.
%package libelf %package libelf
Summary: Library to read and write ELF files. Summary: Library to read and write ELF files.
Group: Development/Tools Group: Development/Tools
%if %{gpl} %if %{fake}
License: GPL License: GPL
%endif %endif
Conflicts: elfutils < %{version}-%{release}
Conflicts: elfutils > %{version}-%{release}
Conflicts: elfutils-libs < %{version}-%{release}
Conflicts: elfutils-libs > %{version}-%{release}
Conflicts: elfutils-libelf-devel < %{version}-%{release}
Conflicts: elfutils-libelf-devel > %{version}-%{release}
%description libelf %description libelf
The elfutils-libelf package provides a DSO which allows reading and The elfutils-libelf package provides a DSO which allows reading and
@ -117,7 +75,7 @@ Summary: Development support for libelf
Group: Development/Tools Group: Development/Tools
Requires: elfutils-libelf = %{version}-%{release} Requires: elfutils-libelf = %{version}-%{release}
Conflicts: libelf-devel Conflicts: libelf-devel
%if %{gpl} %if %{fake}
License: GPL License: GPL
%endif %endif
@ -130,24 +88,9 @@ different sections of an ELF file.
%prep %prep
%setup -q %setup -q
%if %{compat}
%patch1 -p1
sleep 1
find . \( -name Makefile.in -o -name aclocal.m4 \) -print | xargs touch
sleep 1
find . \( -name configure -o -name config.h.in \) -print | xargs touch
%endif
%patch2 -p1
%build %build
# Remove -Wall from default flags. The makefiles enable enough warnings %configure --program-prefix=%{_programprefix}
# themselves, and they use -Werror. Appending -Wall defeats the cases where make
# the makefiles disable some specific warnings for specific code.
RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wall/}
%configure CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags}
%install %install
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
@ -156,32 +99,31 @@ mkdir -p ${RPM_BUILD_ROOT}%{_prefix}
%makeinstall %makeinstall
chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so* chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
%if !%{gpl} %if !%{fake}
chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so* chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so*
%endif %endif
%if !%{gpl} %if !%{fake}
# XXX Nuke unpackaged files # XXX Nuke unpackaged files
{ cd ${RPM_BUILD_ROOT} { cd ${RPM_BUILD_ROOT}
rm -f .%{_bindir}/eu-ld rm -f .%{_bindir}/eu-ld
rm -f .%{_bindir}/eu-objdump
rm -f .%{_includedir}/elfutils/libasm.h rm -f .%{_includedir}/elfutils/libasm.h
rm -f .%{_libdir}/libasm-%{version}.so rm -f .%{_libdir}/libasm-%{version}.so
rm -f .%{_libdir}/libasm.so* rm -f .%{_libdir}/libasm.so.*
rm -f .%{_libdir}/libasm.so
rm -f .%{_libdir}/libasm.a rm -f .%{_libdir}/libasm.a
} }
%endif %endif
%check %check
# XXX elflint not happy on ia64 make check
make check || :
%clean %clean
rm -rf ${RPM_BUILD_ROOT} rm -rf ${RPM_BUILD_ROOT}
%post libs -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig %postun -p /sbin/ldconfig
%post libelf -p /sbin/ldconfig %post libelf -p /sbin/ldconfig
@ -190,26 +132,22 @@ rm -rf ${RPM_BUILD_ROOT}
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%doc README TODO %doc README TODO
%if %{gpl} %if %{fake}
%doc fake-src/FULL %doc fake-src/FULL
%endif %endif
%{_bindir}/eu-addr2line
%{_bindir}/eu-elfcmp
%{_bindir}/eu-elflint %{_bindir}/eu-elflint
%{_bindir}/eu-findtextrel
%{_bindir}/eu-nm %{_bindir}/eu-nm
%{_bindir}/eu-ranlib
%{_bindir}/eu-readelf %{_bindir}/eu-readelf
%{_bindir}/eu-size %{_bindir}/eu-size
%{_bindir}/eu-strings
%{_bindir}/eu-strip %{_bindir}/eu-strip
%if !%{gpl} %{_bindir}/eu-findtextrel
%{_bindir}/eu-addr2line
%{_bindir}/eu-elfcmp
%{_bindir}/eu-ranlib
%{_bindir}/eu-strings
%if !%{fake}
#%{_bindir}/eu-ld #%{_bindir}/eu-ld
%endif #%{_libdir}/libasm-%{version}.so
%if !%{gpl}
%files libs
%defattr(-,root,root)
%{_libdir}/libdw-%{version}.so %{_libdir}/libdw-%{version}.so
#%{_libdir}/libasm.so.* #%{_libdir}/libasm.so.*
%{_libdir}/libdw.so.* %{_libdir}/libdw.so.*
@ -222,7 +160,7 @@ rm -rf ${RPM_BUILD_ROOT}
%{_includedir}/dwarf.h %{_includedir}/dwarf.h
%dir %{_includedir}/elfutils %dir %{_includedir}/elfutils
%{_includedir}/elfutils/elf-knowledge.h %{_includedir}/elfutils/elf-knowledge.h
%if !%{gpl} %if !%{fake}
%{_includedir}/elfutils/libebl.h %{_includedir}/elfutils/libebl.h
%{_includedir}/elfutils/libdw.h %{_includedir}/elfutils/libdw.h
%{_includedir}/elfutils/libdwfl.h %{_includedir}/elfutils/libdwfl.h
@ -247,130 +185,115 @@ rm -rf ${RPM_BUILD_ROOT}
%{_libdir}/libelf.so %{_libdir}/libelf.so
%changelog %changelog
* Mon Oct 31 2005 Roland McGrath <roland@redhat.com> - 0.116-1 * Thu Nov 17 2005 Ulrich Drepper <drepper@redhat.com> 0.117-1
- update to 0.116 - libdwfl: New function dwfl_module_return_value_location.
- libdw fixes, API changes and additions - libebl: Backend improvements for several CPUs.
- libdwfl fixes (#169672)
- eu-strip/libelf fix to preserve setuid/setgid permission bits (#167745)
* Fri Sep 9 2005 Roland McGrath <roland@redhat.com> - 0.115-3 * Mon Oct 31 2005 Ulrich Drepper <drepper@redhat.com> 0.116-1
- Update requires/conflicts for better biarch update behavior. - libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu, d
warf_entry_breakpoints. Removed Dwarf_Func type and functions d
warf_func_name, dwarf_func_lowpc, dwarf_func_highpc, dwarf_func_
entrypc, dwarf_func_die; dwarf_getfuncs callback now uses Dwarf_
Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col replac
ed by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column; dwarf
_func_inline, dwarf_func_inline_instances now take Dwarf_Die. Ty
pe Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist, dwarf_addrlo
clists renamed dwarf_getlocation, dwarf_getlocation_addr.
* Mon Sep 5 2005 Roland McGrath <roland@redhat.com> - 0.115-2 * Fri Sep 2 2005 Ulrich Drepper <drepper@redhat.com> 0.115-1
- update to 0.115 - libelf: speed-ups of non-mmap reading.
- New program eu-strings. - strings: New program.
- libdw: New function dwarf_getscopes_die. - Implement --enable-gcov option for configure.
- libelf: speed-ups of non-mmap reading. - libdw: New function dwarf_getscopes_die.
- Implement --enable-gcov option for configure.
* Wed Aug 24 2005 Roland McGrath <roland@redhat.com> - 0.114-1 * Wed Aug 24 2005 Ulrich Drepper <drepper@redhat.com> 0.114-1
- update to 0.114 - libelf: new function elf_getaroff
- new program eu-ranlib - libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_inst
- libdw: new calls for inlines ances.
- libdwfl: new calls for offline modules - libdwfl: New functions dwfl_report_offline, dwfl_offline_section_addre
ss, dwfl_linux_kernel_report_offline.
- ranlib: new program
* Sat Aug 13 2005 Roland McGrath <roland@redhat.com> - 0.113-2 * Mon Aug 15 2005 Ulrich Drepper <drepper@redhat.com> 0.114-1
- update to 0.113 - libelf: new function elf_getaroff
- elflint: relax a bit. Allow version definitions for defined symbols - ranlib: new program
against DSO versions also for symbols in nobits sections.
Allow .rodata section to have STRINGS and MERGE flag set.
- strip: add some more compatibility with binutils.
- libdwfl: bug fixes.
- Separate libdw et al into elfutils-libs subpackage.
* Sat Aug 6 2005 Roland McGrath <roland@redhat.com> - 0.112-1 * Wed Aug 10 2005 Ulrich Drepper <@redhat.com> 0.113-1
- update to 0.112 - elflint: relax a bit. Allow version definitions for defined symbols ag
- elfcmp: some more relaxation. ainstDSO versions also for symbols in nobits sections. Allow .rodata
- elflint: many more tests, especially regarding to symbol versioning. sectionto have STRINGS and MERGE flag set.
- libelf: Add elfXX_offscn and gelf_offscn. - strip: add some more compatibility with binutils.
- libasm: asm_begin interface changes.
- libebl: Add three new interfaces to directly access machine, class,
and data encoding information.
* Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.111-2 * Sat Aug 6 2005 Ulrich Drepper <@redhat.com> 0.113-1
- update portability patch - elflint: relax a bit. Allow version definitions for defined symbols ag
ainstDSO versions also for symbols in nobits sections. Allow .rodata
sectionto have STRINGS and MERGE flag set.
* Thu Jul 28 2005 Roland McGrath <roland@redhat.com> - 0.111-1 * Sat Aug 6 2005 Ulrich Drepper <@redhat.com> 0.113-1
- update to 0.111 - elflint: relax a bit. Allow version definitions for defined symbols ag
- libdwfl library now merged into libdw ainstDSO versions also for symbols in nobits sections.
* Sun Jul 24 2005 Roland McGrath <roland@redhat.com> - 0.110-1 * Fri Aug 5 2005 Ulrich Drepper <@redhat.com> 0.112-1
- update to 0.110 - elfcmp: some more relaxation.
- elflint: many more tests, especially regarding to symbol versioning.
- libelf: Add elfXX_offscn and gelf_offscn.
- libasm: asm_begin interface changes.
- libebl: Add three new interfaces to directly access machine, class, an
ddata encoding information.
- objdump: New program. Just the beginning.
* Fri Jul 22 2005 Roland McGrath <roland@redhat.com> - 0.109-2 * Thu Jul 28 2005 Ulrich Drepper <@redhat.com> 0.111-1
- update to 0.109 - libdw: now contains all of libdwfl. The latter is not installed anymore.
- verify that libebl modules are from the same build - elfcmp: little usability tweak, name and index of differing section is
- new eu-elflint checks on copy relocations printed.
- new program eu-elfcmp
- new experimental libdwfl library
* Thu Jun 9 2005 Roland McGrath <roland@redhat.com> - 0.108-5 * Sun Jul 24 2005 Ulrich Drepper <@redhat.com> 0.110-1
- robustification of eu-strip and eu-readelf - libelf: fix a numbe rof problems with elf_update
- elfcmp: fix a few bugs. Compare gaps.
- Fix a few PLT problems and mudflap build issues.
- libebl: Don't expose Ebl structure definition in libebl.h. It's now p
rivate.
* Wed May 25 2005 Roland McGrath <roland@redhat.com> - 0.108-3 * Thu Jul 21 2005 Ulrich Drepper <@redhat.com> 0.109-1
- more robustification - libebl: Check for matching modules.
- elflint: Check that copy relocations only happen for OBJECT or NOTYPE
symbols.
- elfcmp: New program.
- libdwfl: New library.
* Mon May 16 2005 Roland McGrath <roland@redhat.com> - 0.108-2 * Mon May 9 2005 Ulrich Drepper <@redhat.com> 0.108-1
- robustification - strip: fix bug introduced in last change
- libdw: records returned by dwarf_getsrclines are now sorted by address
* Mon May 9 2005 Roland McGrath <roland@redhat.com> - 0.108-1 * Sun May 8 2005 Ulrich Drepper <@redhat.com> 0.108-1
- update to 0.108 - strip: fix bug introduced in last change
- merge strip fixes
- sort records in dwarf_getsrclines, fix dwarf_getsrc_die searching
- update elf.h from glibc
* Sun May 8 2005 Roland McGrath <roland@redhat.com> - 0.107-2 * Sun May 8 2005 Ulrich Drepper <@redhat.com> 0.107-1
- fix strip -f byte-swapping bug - readelf: improve DWARF output format
- strip: support Linux kernel modules
* Sun May 8 2005 Roland McGrath <roland@redhat.com> - 0.107-1 * Fri Apr 29 2005 Ulrich Drepper <drepper@redhat.com> 0.107-1
- update to 0.107 - readelf: improve DWARF output format
- readelf: improve DWARF output format
- elflint: -d option to support checking separate debuginfo files
- strip: fix ET_REL debuginfo files (#156341)
* Mon Apr 4 2005 Roland McGrath <roland@redhat.com> - 0.106-3 * Mon Apr 4 2005 Ulrich Drepper <drepper@redhat.com> 0.106-1
- fix some bugs in new code, reenable make check - libdw: Updated dwarf.h from DWARF3 speclibdw: add new funtions dwarf_f
unc_entrypc, dwarf_func_file, dwarf_func_line,dwarf_func_col, dwarf_ge
tsrc_file
* Mon Apr 4 2005 Roland McGrath <roland@redhat.com> - 0.106-2 * Fri Apr 1 2005 Ulrich Drepper <drepper@redhat.com> 0.105-1
- disable make check for most arches, for now - addr2line: New program
- libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs
,dwarf_func_*.
- findtextrel: use dwarf_addrdie
* Mon Apr 4 2005 Roland McGrath <roland@redhat.com> - 0.106-1 * Mon Mar 28 2005 Ulrich Drepper <drepper@redhat.com> 0.104-1
- update to 0.106 - findtextrel: New program.
* Mon Mar 28 2005 Roland McGrath <roland@redhat.com> - 0.104-2 * Mon Mar 21 2005 Ulrich Drepper <drepper@redhat.com> 0.103-1
- update to 0.104 - libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug.
* Wed Mar 23 2005 Jakub Jelinek <jakub@redhat.com> 0.103-2 * Tue Feb 22 2005 Ulrich Drepper <drepper@redhat.com> 0.102-1
- update to 0.103 - More Makefile and spec file cleanups.
* Wed Feb 16 2005 Jakub Jelinek <jakub@redhat.com> 0.101-2
- update to 0.101.
- use %%configure macro to get CFLAGS etc. right
* Sat Feb 5 2005 Jeff Johnson <jbj@redhat.com> 0.99-2
- upgrade to 0.99.
* Sun Sep 26 2004 Jeff Johnson <jbj@redhat.com> 0.97-3
- upgrade to 0.97.
* Tue Aug 17 2004 Jakub Jelinek <jakub@redhat.com> 0.95-5
- upgrade to 0.96.
* Mon Jul 5 2004 Jakub Jelinek <jakub@redhat.com> 0.95-4
- rebuilt with GCC 3.4.x, workaround VLA + alloca mixing
warning
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Apr 2 2004 Jeff Johnson <jbj@redhat.com> 0.95-2
- upgrade to 0.95.
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.94-1 * Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.94-1
- upgrade to 0.94 - upgrade to 0.94

View File

@ -1 +1 @@
bfc77b2f448d8d7e0881bbb3196f3f5d elfutils-0.116.tar.gz 55e342e604a62fb557fc2d193fac9b13 elfutils-0.117.tar.gz