roland 5c16b0
%define eu_version 0.139
roland 5c16b0
%define eu_release 1
roland 418cfd
roland 418cfd
%if %{?_with_compat:1}%{!?_with_compat:0}
roland 418cfd
%define compat 1
roland 418cfd
%else
roland 418cfd
%define compat 0
roland 418cfd
%endif
roland 418cfd
Tom Callaway 480f4a
%if 0%{?fedora} >= 8
roland e3a54f
%define scanf_has_m 1
roland e3a54f
%endif
Tom Callaway 480f4a
%if 0%{?rhel} >= 6
roland e3a54f
%define scanf_has_m 1
roland e3a54f
%endif
roland e3a54f
Tom Callaway 480f4a
%if 0%{?fedora} >= 7
roland f7bf9a
%define separate_devel_static 1
roland f7bf9a
%endif
Tom Callaway 480f4a
%if 0%{?rhel} >= 6
roland f7bf9a
%define separate_devel_static 1
roland f7bf9a
%endif
roland f7bf9a
roland 6b412c
Summary: A collection of utilities and DSOs to handle compiled objects
cvsdist 2a2369
Name: elfutils
roland e76067
Version: %{eu_version}
roland 418cfd
%if !%{compat}
roland e76067
Release: %{eu_release}%{?dist}
roland 418cfd
%else
roland c66199
Release: 0.%{eu_release}
roland 418cfd
%endif
roland 52ee0c
License: GPLv2 with exceptions
cvsdist 2a2369
Group: Development/Tools
roland c66199
URL: https://fedorahosted.org/elfutils/
roland 28fe4d
Source: http://fedorahosted.org/releases/e/l/elfutils/%{name}-%{version}.tar.bz2
roland 5c16b0
Patch1: elfutils-robustify.patch
roland 5c16b0
Patch2: elfutils-portability.patch
roland 3cb5df
Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
roland 3cb5df
Requires: elfutils-libs-%{_arch} = %{version}-%{release}
roland 9a3c17
roland 6b412c
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
cvsdist 142584
BuildRequires: bison >= 1.875
cvsdist 142584
BuildRequires: flex >= 2.5.4a
jbj d0b84a
BuildRequires: bzip2
roland 418cfd
%if !%{compat}
roland 418cfd
BuildRequires: gcc >= 3.4
roland 418cfd
# Need <byteswap.h> that gives unsigned bswap_16 etc.
roland 418cfd
BuildRequires: glibc-headers >= 2.3.4-11
roland 418cfd
%else
roland 418cfd
BuildRequires: gcc >= 3.2
roland 418cfd
%endif
cvsdist 2a2369
roland 5c16b0
%define use_zlib 0
roland 5c16b0
%if 0%{?fedora} >= 5
roland 5c16b0
%define use_zlib 1
roland 5c16b0
%endif
roland 5c16b0
%if 0%{?rhel} >= 5
roland 5c16b0
%define use_zlib 1
roland 5c16b0
%endif
roland 5c16b0
roland 5c16b0
%if %{use_zlib}
roland 5c16b0
BuildRequires: zlib-devel >= 1.2.2.3
roland 5c16b0
BuildRequires: bzip2-devel
roland 5c16b0
%endif
roland 5c16b0
cvsdist 2a2369
%define _gnu %{nil}
roland 418cfd
%define _program_prefix eu-
cvsdist 2a2369
cvsdist 2a2369
%description
cvsdist 2a2369
Elfutils is a collection of utilities, including ld (a linker),
cvsdist 2a2369
nm (for listing symbols from object files), size (for listing the
cvsdist 2a2369
section sizes of an object or archive file), strip (for discarding
cvsdist bf0c57
symbols), readelf (to see the raw ELF file structures), and elflint
roland 418cfd
(to check for well-formed ELF files).
roland 418cfd
roland 418cfd
roland 418cfd
%package libs
roland c66199
Summary: Libraries to handle compiled objects
roland 418cfd
Group: Development/Tools
roland 3cb5df
Provides: elfutils-libs-%{_arch} = %{version}-%{release}
roland 3cb5df
Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
roland 418cfd
roland 418cfd
%description libs
roland 418cfd
The elfutils-libs package contains libraries which implement DWARF, ELF,
roland 418cfd
and machine-specific ELF handling.  These libraries are used by the programs
roland 418cfd
in the elfutils package.  The elfutils-devel package enables building
roland 418cfd
other programs using these libraries.
cvsdist 2a2369
cvsdist 2a2369
%package devel
roland c66199
Summary: Development libraries to handle compiled objects
cvsdist 2a2369
Group: Development/Tools
roland 3cb5df
Provides: elfutils-devel-%{_arch} = %{version}-%{release}
roland 3cb5df
Requires: elfutils-libs-%{_arch} = %{version}-%{release}
roland 3cb5df
Requires: elfutils-libelf-devel-%{_arch} = %{version}-%{release}
roland f7bf9a
%if !0%{?separate_devel_static}
roland 3cb5df
Requires: elfutils-devel-static-%{_arch} = %{version}-%{release}
roland f7bf9a
%endif
cvsdist 2a2369
cvsdist 2a2369
%description devel
cvsdist 2a2369
The elfutils-devel package contains the libraries to create
cvsdist d56180
applications for handling compiled objects.  libebl provides some
cvsdist d56180
higher-level ELF access functionality.  libdw provides access to
cvsdist d56180
the DWARF debugging information.  libasm provides a programmable
cvsdist d56180
assembler interface.
cvsdist 2a2369
roland f7bf9a
%package devel-static
roland c66199
Summary: Static archives to handle compiled objects
roland f7bf9a
Group: Development/Tools
roland 3cb5df
Provides: elfutils-devel-static-%{_arch} = %{version}-%{release}
roland 3cb5df
Requires: elfutils-devel-%{_arch} = %{version}-%{release}
roland 3cb5df
Requires: elfutils-libelf-devel-static-%{_arch} = %{version}-%{release}
roland f7bf9a
roland f7bf9a
%description devel-static
roland f7bf9a
The elfutils-devel-static package contains the static archives
roland f7bf9a
with the code to handle compiled objects.
roland f7bf9a
cvsdist 2a2369
%package libelf
roland c66199
Summary: Library to read and write ELF files
cvsdist 2a2369
Group: Development/Tools
roland 3cb5df
Provides: elfutils-libelf-%{_arch} = %{version}-%{release}
roland 9fb6ec
Obsoletes: libelf <= 0.8.2-2
cvsdist 2a2369
cvsdist 2a2369
%description libelf
cvsdist 2a2369
The elfutils-libelf package provides a DSO which allows reading and
cvsdist 2a2369
writing ELF files on a high level.  Third party programs depend on
cvsdist 2a2369
this package to read internals of ELF files.  The programs of the
cvsdist 2a2369
elfutils package use it also to generate new ELF files.
cvsdist 2a2369
cvsdist d56180
%package libelf-devel
cvsdist d56180
Summary: Development support for libelf
cvsdist d56180
Group: Development/Tools
roland 3cb5df
Provides: elfutils-libelf-devel-%{_arch} = %{version}-%{release}
roland 3cb5df
Requires: elfutils-libelf-%{_arch} = %{version}-%{release}
roland f7bf9a
%if !0%{?separate_devel_static}
roland 3cb5df
Requires: elfutils-libelf-devel-static-%{_arch} = %{version}-%{release}
roland f7bf9a
%endif
roland 9fb6ec
Obsoletes: libelf-devel <= 0.8.2-2
cvsdist d56180
cvsdist d56180
%description libelf-devel
cvsdist d56180
The elfutils-libelf-devel package contains the libraries to create
cvsdist d56180
applications for handling compiled objects.  libelf allows you to
cvsdist d56180
access the internals of the ELF object file format, so you can see the
cvsdist d56180
different sections of an ELF file.
cvsdist d56180
roland f7bf9a
%package libelf-devel-static
roland f7bf9a
Summary: Static archive of libelf
roland f7bf9a
Group: Development/Tools
roland 3cb5df
Provides: elfutils-libelf-devel-static-%{_arch} = %{version}-%{release}
roland 3cb5df
Requires: elfutils-libelf-devel-%{_arch} = %{version}-%{release}
roland f7bf9a
roland f7bf9a
%description libelf-devel-static
roland 6b412c
The elfutils-libelf-static package contains the static archive
roland 6b412c
for libelf.
roland f7bf9a
cvsdist 2a2369
%prep
cvsdist 2a2369
%setup -q
roland b73b6e
roland 5c16b0
%patch1 -p1 -b .robustify
roland e3a54f
roland 418cfd
%if %{compat}
roland 5c16b0
%patch2 -p1 -b .portability
roland 418cfd
sleep 1
roland 418cfd
find . \( -name Makefile.in -o -name aclocal.m4 \) -print | xargs touch
roland 418cfd
sleep 1
roland 418cfd
find . \( -name configure -o -name config.h.in \) -print | xargs touch
roland 5c16b0
%else
roland 5c16b0
%if !0%{?scanf_has_m}
roland 5c16b0
sed -i.scanf-m -e 's/%m/%a/g' src/addr2line.c tests/line2addr.c
roland 5c16b0
%endif
roland 418cfd
%endif
roland 169e65
roland fa1a8e
find . -name \*.sh ! -perm -0100 -print | xargs chmod +x
roland fa1a8e
cvsdist 2a2369
%build
roland 418cfd
# Remove -Wall from default flags.  The makefiles enable enough warnings
roland 418cfd
# themselves, and they use -Werror.  Appending -Wall defeats the cases where
roland 418cfd
# the makefiles disable some specific warnings for specific code.
roland 418cfd
RPM_OPT_FLAGS=${RPM_OPT_FLAGS/-Wall/}
roland 418cfd
roland 9a3c17
%if %{compat}
roland 9a3c17
# Some older glibc headers can run afoul of -Werror all by themselves.
roland 9a3c17
# Disabling the fancy inlines avoids those problems.
roland 9a3c17
RPM_OPT_FLAGS="$RPM_OPT_FLAGS -D__NO_INLINE__"
roland 9a3c17
%endif
roland 9a3c17
roland 3025be
%configure CFLAGS="$RPM_OPT_FLAGS -fexceptions"
roland 2a32e1
make -s %{?_smp_mflags}
cvsdist 2a2369
cvsdist 2a2369
%install
cvsdist 2a2369
rm -rf ${RPM_BUILD_ROOT}
roland 6b412c
make -s install DESTDIR=${RPM_BUILD_ROOT}
cvsdist 2a2369
cvsdist 2a2369
chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
cvsdist 2a2369
chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so*
cvsdist 2a2369
cvsdist 2a2369
# XXX Nuke unpackaged files
cvsdist 2a2369
{ cd ${RPM_BUILD_ROOT}
cvsdist 2a2369
  rm -f .%{_bindir}/eu-ld
cvsdist 2a2369
}
cvsdist 2a2369
cvsdist b2ba69
%check
roland 6b412c
make -s check
cvsdist b2ba69
cvsdist 2a2369
%clean
cvsdist 2a2369
rm -rf ${RPM_BUILD_ROOT}
cvsdist 2a2369
roland 418cfd
%post libs -p /sbin/ldconfig
cvsdist 2a2369
roland 418cfd
%postun libs -p /sbin/ldconfig
cvsdist 2a2369
cvsdist b2ba69
%post libelf -p /sbin/ldconfig
cvsdist b2ba69
cvsdist b2ba69
%postun libelf -p /sbin/ldconfig
cvsdist b2ba69
cvsdist 2a2369
%files
cvsdist 2a2369
%defattr(-,root,root)
cvsdist d56180
%doc README TODO
roland 418cfd
%{_bindir}/eu-addr2line
roland 2a32e1
%{_bindir}/eu-ar
roland 418cfd
%{_bindir}/eu-elfcmp
cvsdist 2a2369
%{_bindir}/eu-elflint
roland 418cfd
%{_bindir}/eu-findtextrel
cvsdist 2a2369
%{_bindir}/eu-nm
roland fb2677
%{_bindir}/eu-objdump
roland 418cfd
%{_bindir}/eu-ranlib
cvsdist 2a2369
%{_bindir}/eu-readelf
cvsdist 2a2369
%{_bindir}/eu-size
roland 7a7abf
%{_bindir}/eu-strings
roland 418cfd
%{_bindir}/eu-strip
cvsdist d56180
#%{_bindir}/eu-ld
roland 3cb5df
%{_bindir}/eu-unstrip
roland 2dfc22
%{_bindir}/eu-make-debug-archive
roland 418cfd
roland 418cfd
%files libs
roland 418cfd
%defattr(-,root,root)
roland afea4a
%{_libdir}/libasm-%{version}.so
roland afea4a
%{_libdir}/libasm.so.*
cvsdist d56180
%{_libdir}/libdw-%{version}.so
roland f995fa
%{_libdir}/libdw.so.*
cvsdist 2a2369
%dir %{_libdir}/elfutils
cvsdist 2a2369
%{_libdir}/elfutils/lib*.so
cvsdist 2a2369
cvsdist 2a2369
%files devel
cvsdist 2a2369
%defattr(-,root,root)
cvsdist 2a2369
%{_includedir}/dwarf.h
cvsdist 2a2369
%dir %{_includedir}/elfutils
cvsdist 2a2369
%{_includedir}/elfutils/elf-knowledge.h
roland afea4a
%{_includedir}/elfutils/libasm.h
cvsdist 2a2369
%{_includedir}/elfutils/libebl.h
Jakub Jelinek a769ac
%{_includedir}/elfutils/libdw.h
roland f995fa
%{_includedir}/elfutils/libdwfl.h
roland 28fe4d
%{_includedir}/elfutils/version.h
cvsdist 2a2369
%{_libdir}/libebl.a
roland afea4a
%{_libdir}/libasm.so
Jakub Jelinek a769ac
%{_libdir}/libdw.so
cvsdist 2a2369
roland f7bf9a
%files devel-static
roland f7bf9a
%defattr(-,root,root)
roland afea4a
%{_libdir}/libasm.a
roland f7bf9a
%{_libdir}/libdw.a
roland f7bf9a
cvsdist 2a2369
%files libelf
cvsdist 2a2369
%defattr(-,root,root)
cvsdist 2a2369
%{_libdir}/libelf-%{version}.so
roland f995fa
%{_libdir}/libelf.so.*
cvsdist 2a2369
cvsdist d56180
%files libelf-devel
cvsdist d56180
%defattr(-,root,root)
cvsdist d56180
%{_includedir}/libelf.h
cvsdist d56180
%{_includedir}/gelf.h
cvsdist d56180
%{_includedir}/nlist.h
cvsdist d56180
%{_libdir}/libelf.so
cvsdist d56180
roland f7bf9a
%files libelf-devel-static
roland f7bf9a
%defattr(-,root,root)
roland f7bf9a
%{_libdir}/libelf.a
roland f7bf9a
cvsdist 2a2369
%changelog
roland 5c16b0
* Fri Jan 23 2009 Roland McGrath <roland@redhat.com> - 0.139-1
roland 5c16b0
- Update to 0.139
roland 5c16b0
  - libcpu: Add Intel SSE4 disassembler support
roland 5c16b0
  - readelf: Implement call frame information and exception handling dumping.
roland 5c16b0
    	     Add -e option.  Enable it implicitly for -a.
roland 5c16b0
  - elflint: Check PT_GNU_EH_FRAME program header entry.
roland 5c16b0
  - libdwfl: Support automatic gzip/bzip2 decompression of ELF files. (#472136)
roland 5c16b0
roland 169e65
* Thu Jan  1 2009 Roland McGrath <roland@redhat.com> - 0.138-2
roland 169e65
- Fix libelf regression.
roland 169e65
roland 28fe4d
* Wed Dec 31 2008 Roland McGrath <roland@redhat.com> - 0.138-1
roland 28fe4d
- Update to 0.138
roland 28fe4d
  - Install <elfutils/version.h> header file for applications to use in
roland 28fe4d
    source version compatibility checks.
roland 28fe4d
  - libebl: backend fixes for i386 TLS relocs; backend support for NT_386_IOPERM
roland 28fe4d
  - libcpu: disassembler fixes (#469739)
roland 28fe4d
  - libdwfl: bug fixes (#465878)
roland 28fe4d
  - libelf: bug fixes
roland 28fe4d
  - eu-nm: bug fixes for handling corrupt input files (#476136)
roland 28fe4d
roland 9d47a0
* Wed Oct  1 2008 Roland McGrath <roland@redhat.com> - 0.137-3
roland 9d47a0
- fix libdwfl regression (#462689)
roland 9d47a0
roland b6004c
* Thu Aug 28 2008 Roland McGrath <roland@redhat.com> - 0.137-2
roland 44874c
- Update to 0.137
roland 44874c
  - libdwfl: bug fixes; new segment interfaces;
roland 44874c
             all the libdwfl-based tools now support --core=COREFILE option
roland b6004c
- Resolves: RHBZ #325021, RHBZ #447416
roland 44874c
Tom Callaway 480f4a
* Mon Jul  7 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.135-2
Tom Callaway 480f4a
- fix conditional comparison
Tom Callaway 480f4a
roland 54edc1
* Mon May 12 2008 Roland McGrath <roland@redhat.com> - 0.135-1
roland 54edc1
- Update to 0.135
roland 54edc1
  - libdwfl: bug fixes
roland 54edc1
  - eu-strip: changed handling of ET_REL files wrt symbol tables and relocs
roland 54edc1
roland fa1a8e
* Wed Apr  9 2008 Roland McGrath <roland@redhat.com> - 0.134-1
roland fa1a8e
- Update to 0.134
roland fa1a8e
  - elflint: backend improvements for sparc, alpha (#204170)
roland fa1a8e
  - libdwfl, libelf: bug fixes (#439344, #438867, #438263, #438190)
roland fa1a8e
- Remove Conflicts: libelf-devel from elfutils-libelf-devel. (#435742)
Tom Callaway ec90f1
roland afea4a
* Sun Mar  2 2008 Roland McGrath <roland@redhat.com> - 0.133-2
roland fb2677
- Update to 0.133
roland afea4a
  - readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A)
roland afea4a
  - readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV
roland afea4a
  - libdwfl: bug fixes and optimization in relocation handling
roland afea4a
  - elfcmp: bug fix for non-allocated section handling
roland afea4a
  - ld: implement newer features of binutils linker.
roland afea4a
- Install eu-objdump and libasm, now has limited disassembler support.
Jesse Keating 1f1e72
roland e3a54f
* Mon Jan 21 2008 Roland McGrath <roland@redhat.com> - 0.132-3
roland 840723
- Update to 0.132
roland 840723
  - libelf: Use loff_t instead of off64_t in libelf.h header. (#377241)
roland 840723
  - eu-readelf: Fix handling of ET_REL files in archives.
roland 840723
  - libcpu: Implement x86 and x86-64 disassembler.
roland 840723
  - libasm: Add interface for disassembler.
roland 840723
  - all programs: add debugging of branch prediction.
roland 840723
  - libelf: new function elf_scnshndx.
roland 840723
roland a7b828
* Sun Nov 11 2007 Roland McGrath <roland@redhat.com> - 0.131-1
roland a7b828
- Update to 0.131
roland a7b828
  - libdw: DW_FORM_ref_addr support; dwarf_formref entry point now deprecated;
roland 9fb6ec
           bug fixes for oddly-formatted DWARF
roland a7b828
  - libdwfl: bug fixes in offline archive support, symbol table handling;
roland 9fb6ec
             apply partial relocations for dwfl_module_address_section on ET_REL
roland a7b828
  - libebl: powerpc backend support for Altivec registers
roland a7b828
roland dcd08d
* Wed Oct 17 2007 Roland McGrath <roland@redhat.com> - 0.130-3
roland 316b9c
- Fix ET_REL support.
roland 316b9c
- Fix odd indentation in eu-readelf -x output.
roland 316b9c
roland 2dfc22
* Tue Oct 16 2007 Roland McGrath <roland@redhat.com> - 0.130-1
roland 2dfc22
- Update to 0.130
roland 2dfc22
  - eu-readelf -p option can take an argument like -x for one section
roland 2dfc22
  - eu-readelf --archive-index (or -c)
roland 2dfc22
  - eu-readelf -n improved output for core dumps
roland 2dfc22
  - eu-readelf: handle SHT_NOTE sections without requiring phdrs (#249467)
roland 2dfc22
  - eu-elflint: ditto
roland 2dfc22
  - eu-elflint: stricter checks on debug sections
roland 2dfc22
  - eu-unstrip: new options, --list (or -n), --relocate (or -R)
roland 2dfc22
  - libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk;
roland 9fb6ec
            new functions gelf_getnote, gelf_getauxv, gelf_update_auxv
roland 2dfc22
  - libebl: backend improvements (#324031)
roland 2dfc22
  - libdwfl: build_id support, new functions for it
roland 2dfc22
  - libdwfl: dwfl_module_addrsym fixes (#268761, #268981)
roland 2dfc22
  - libdwfl offline archive support, new script eu-make-debug-archive
roland 2dfc22
roland 5b63d3
* Mon Aug 20 2007 Roland McGrath <roland@redhat.com> - 0.129-2
roland 5b63d3
- Fix false-positive eu-elflint failure on ppc -mbss-plt binaries.
roland 5b63d3
roland 52ee0c
* Tue Aug 14 2007 Roland McGrath <roland@redhat.com> - 0.129-1
roland 52ee0c
- Update to 0.129
roland 52ee0c
  - readelf: new options --hex-dump (or -x), --strings (or -p) (#250973)
roland 52ee0c
  - addr2line: new option --symbols (or -S)
roland 52ee0c
  - libdw: dwarf_getscopes fixes (#230235)
roland 52ee0c
  - libdwfl: dwfl_module_addrsym fixes (#249490)
roland 52ee0c
roland 08a959
* Fri Jun  8 2007 Roland McGrath <roland@redhat.com> - 0.128-2
roland 3cb5df
- Update to 0.128
roland 3cb5df
  - new program: unstrip
roland 3cb5df
  - elfcmp: new option --hash-inexact
roland 3cb5df
- Replace Conflicts: with Provides/Requires using -arch
roland 3cb5df
roland 6b412c
* Wed Apr 18 2007 Roland McGrath <roland@redhat.com> - 0.127-1
roland 6b412c
- Update to 0.127
roland 6b412c
  - libdw: new function dwarf_getsrcdirs
roland 6b412c
  - libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add,
roland 9fb6ec
             dwfl_module_address_section
roland 6b412c
roland 2a32e1
* Mon Feb  5 2007 Roland McGrath <roland@redhat.com> - 0.126-1
roland 2a32e1
- Update to 0.126
roland 2a32e1
  - New program eu-ar.
roland 2a32e1
  - libdw: fix missing dwarf_getelf (#227206)
roland 2a32e1
  - libdwfl: dwfl_module_addrname for st_size=0 symbols (#227167, #227231)
roland 2a32e1
roland d3a3be
* Wed Jan 10 2007 Roland McGrath <roland@redhat.com> - 0.125-3
roland 0a3350
- Fix overeager warn_unused_result build failures.
roland 0a3350
roland f7bf9a
* Wed Jan 10 2007 Roland McGrath <roland@redhat.com> - 0.125-1
roland f7bf9a
- Update to 0.125
roland f7bf9a
  - elflint: Compare DT_GNU_HASH tests.
roland f7bf9a
  - move archives into -static RPMs
roland f7bf9a
  - libelf, elflint: better support for core file handling
roland f7bf9a
  - Really fix libdwfl sorting of modules with 64-bit addresses (#220817).
roland f7bf9a
- Resolves: RHBZ #220817, RHBZ #213792
roland f7bf9a
roland 9a3c17
* Tue Oct 10 2006 Roland McGrath <roland@redhat.com> - 0.124-1
roland 9a3c17
- eu-strip -f: copy symtab into debuginfo file when relocs use it (#203000)
roland 9a3c17
- Update to 0.124
roland 9a3c17
  - libebl: fix ia64 reloc support (#206981)
roland 9a3c17
  - libebl: sparc backend support for return value location
roland 9a3c17
  - libebl, libdwfl: backend register name support extended with more info
roland 9a3c17
  - libelf, libdw: bug fixes for unaligned accesses on machines that care
roland 9a3c17
  - readelf, elflint: trivial bugs fixed
aoliva 380133
roland a01d88
* Mon Aug 14 2006 Roland McGrath <roland@redhat.com> 0.123-1
roland a01d88
- Update to 0.123
roland a01d88
  - libebl: Backend build fixes, thanks to Stepan Kasal.
roland a01d88
  - libebl: ia64 backend support for register names, return value location
roland a01d88
  - libdwfl: Handle truncated linux kernel module section names.
roland a01d88
  - libdwfl: Look for linux kernel vmlinux files with .debug suffix.
roland a01d88
  - elflint: Fix checks to permit --hash-style=gnu format.
roland a01d88
roland 51b5a5
* Mon Jul 17 2006 Roland McGrath <roland@redhat.com> - 0.122-4
roland 51b5a5
- Fix warnings in elflint compilation.
roland 51b5a5
roland 90384a
* Wed Jul 12 2006 Roland McGrath <roland@redhat.com> - 0.122-3
roland a99770
- Update to 0.122
roland a99770
  - Fix libdwfl sorting of modules with 64-bit addresses (#198225).
roland a99770
  - libebl: add function to test for relative relocation
roland a99770
  - elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks
roland a99770
  - elflint, readelf: add support for DT_GNU_HASH
roland a99770
  - libelf: add elf_gnu_hash
roland a99770
  - elflint, readelf: add support for 64-bit SysV-style hash tables
roland a99770
  - libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym.
Jesse Keating cc6926
roland 3c3d38
* Thu Jun 15 2006 Roland McGrath <roland@redhat.com> - 0.121-1
roland 3c3d38
- Update to 0.121
roland 3c3d38
  - libelf: bug fixes for rewriting existing files when using mmap (#187618).
roland 3c3d38
  - make all installed headers usable in C++ code (#193153).
roland 3c3d38
  - eu-readelf: better output format.
roland 3c3d38
  - eu-elflint: fix tests of dynamic section content.
roland 3c3d38
  - libdw, libdwfl: handle files without aranges info.
roland 3c3d38
Jeremy Katz bcf94f
* Thu May 25 2006 Jeremy Katz <katzj@redhat.com> - 0.120-3
Jeremy Katz bcf94f
- rebuild to pick up -devel deps
Jeremy Katz bcf94f
roland ff3fa1
* Tue Apr  4 2006 Roland McGrath <roland@redhat.com> - 0.120-2
roland a78f3e
- Update to 0.120
roland a78f3e
  - License changed to GPL, with some exceptions for using
roland a78f3e
    the libelf, libebl, libdw, and libdwfl library interfaces.
roland a78f3e
    Red Hat elfutils is an included package of the Open Invention Network.
roland a78f3e
  - dwarf.h updated for DWARF 3.0 final specification.
roland a78f3e
  - libelf: Fix corruption in ELF_C_RDWR uses (#187618).
roland a78f3e
  - libdwfl: New function dwfl_version; fixes for offline.
roland a78f3e
Jesse Keating 6e2968
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.119-1.2.1
Jesse Keating 6e2968
- bump again for double-long bug on ppc(64)
Jesse Keating 6e2968
Jesse Keating b6719a
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.119-1.2
Jesse Keating ac232e
- rebuilt for new gcc4.1 snapshot and glibc changes
Jesse Keating ac232e
roland 83011c
* Fri Jan 13 2006 Roland McGrath <roland@redhat.com> - 0.119-1
roland 83011c
- update to 0.119
roland 83011c
Jesse Keating 960dce
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
Jesse Keating 960dce
- rebuilt
Jesse Keating 960dce
roland 3025be
* Sun Nov 27 2005 Roland McGrath <roland@redhat.com> - 0.118-1
roland 3025be
- update to 0.118
roland 3025be
  - elflint: more tests.
roland 3025be
  - libdwfl: New function dwfl_module_register_names.
roland 3025be
  - libebl: New backend hook for register names.
roland 3025be
- Make sure -fexceptions is always in CFLAGS.
roland 3025be
roland 9b930d
* Tue Nov 22 2005 Roland McGrath <roland@redhat.com> - 0.117-2
roland 418cfd
- update to 0.117
roland 418cfd
  - libdwfl: New function dwfl_module_return_value_location (#166118)
roland 418cfd
  - libebl: Backend improvements for several CPUs
roland 418cfd
roland 418cfd
* Mon Oct 31 2005 Roland McGrath <roland@redhat.com> - 0.116-1
roland 418cfd
- update to 0.116
roland 418cfd
  - libdw fixes, API changes and additions
roland 418cfd
  - libdwfl fixes (#169672)
roland 418cfd
  - eu-strip/libelf fix to preserve setuid/setgid permission bits (#167745)
roland 418cfd
roland 418cfd
* Fri Sep  9 2005 Roland McGrath <roland@redhat.com> - 0.115-3
roland 418cfd
- Update requires/conflicts for better biarch update behavior.
roland 418cfd
roland 418cfd
* Mon Sep  5 2005 Roland McGrath <roland@redhat.com> - 0.115-2
roland 418cfd
- update to 0.115
roland 418cfd
  - New program eu-strings.
roland 418cfd
  - libdw: New function dwarf_getscopes_die.
roland 418cfd
  - libelf: speed-ups of non-mmap reading.
roland 418cfd
  - Implement --enable-gcov option for configure.
roland 418cfd
roland 418cfd
* Wed Aug 24 2005 Roland McGrath <roland@redhat.com> - 0.114-1
roland 418cfd
- update to 0.114
roland 418cfd
  - new program eu-ranlib
roland 418cfd
  - libdw: new calls for inlines
roland 418cfd
  - libdwfl: new calls for offline modules
roland 418cfd
roland 418cfd
* Sat Aug 13 2005 Roland McGrath <roland@redhat.com> - 0.113-2
roland 418cfd
- update to 0.113
roland 418cfd
  - elflint: relax a bit.  Allow version definitions for defined symbols
roland 418cfd
    against DSO versions also for symbols in nobits sections.
roland 418cfd
    Allow .rodata section to have STRINGS and MERGE flag set.
roland 418cfd
  - strip: add some more compatibility with binutils.
roland 418cfd
  - libdwfl: bug fixes.
roland 418cfd
- Separate libdw et al into elfutils-libs subpackage.
roland 418cfd
roland 418cfd
* Sat Aug  6 2005 Roland McGrath <roland@redhat.com> - 0.112-1
roland 418cfd
- update to 0.112
roland 418cfd
  - elfcmp: some more relaxation.
roland 418cfd
  - elflint: many more tests, especially regarding to symbol versioning.
roland 418cfd
  - libelf: Add elfXX_offscn and gelf_offscn.
roland 418cfd
  - libasm: asm_begin interface changes.
roland 418cfd
  - libebl: Add three new interfaces to directly access machine, class,
roland 418cfd
    and data encoding information.
roland 418cfd
roland 418cfd
* Fri Jul 29 2005 Roland McGrath <roland@redhat.com> - 0.111-2
roland 418cfd
- update portability patch
roland 418cfd
roland 418cfd
* Thu Jul 28 2005 Roland McGrath <roland@redhat.com> - 0.111-1
roland 418cfd
- update to 0.111
roland 418cfd
  - libdwfl library now merged into libdw
roland 418cfd
roland 418cfd
* Sun Jul 24 2005 Roland McGrath <roland@redhat.com> - 0.110-1
roland 418cfd
- update to 0.110
roland 418cfd
roland 418cfd
* Fri Jul 22 2005 Roland McGrath <roland@redhat.com> - 0.109-2
roland 418cfd
- update to 0.109
roland 418cfd
  - verify that libebl modules are from the same build
roland 418cfd
  - new eu-elflint checks on copy relocations
roland 418cfd
  - new program eu-elfcmp
roland 418cfd
  - new experimental libdwfl library
roland 418cfd
roland 418cfd
* Thu Jun  9 2005 Roland McGrath <roland@redhat.com> - 0.108-5
roland 418cfd
- robustification of eu-strip and eu-readelf
roland 418cfd
roland 418cfd
* Wed May 25 2005 Roland McGrath <roland@redhat.com> - 0.108-3
roland 418cfd
- more robustification
roland 418cfd
roland 418cfd
* Mon May 16 2005 Roland McGrath <roland@redhat.com> - 0.108-2
roland 418cfd
- robustification
roland 418cfd
roland 418cfd
* Mon May  9 2005 Roland McGrath <roland@redhat.com> - 0.108-1
roland 418cfd
- update to 0.108
roland 418cfd
  - merge strip fixes
roland 418cfd
  - sort records in dwarf_getsrclines, fix dwarf_getsrc_die searching
roland 418cfd
  - update elf.h from glibc
roland 418cfd
roland 418cfd
* Sun May  8 2005 Roland McGrath <roland@redhat.com> - 0.107-2
roland 418cfd
- fix strip -f byte-swapping bug
roland 418cfd
roland 418cfd
* Sun May  8 2005 Roland McGrath <roland@redhat.com> - 0.107-1
roland 418cfd
- update to 0.107
roland 418cfd
  - readelf: improve DWARF output format
roland 418cfd
  - elflint: -d option to support checking separate debuginfo files
roland 418cfd
  - strip: fix ET_REL debuginfo files (#156341)
roland 418cfd
roland 418cfd
* Mon Apr  4 2005 Roland McGrath <roland@redhat.com> - 0.106-3
roland 418cfd
- fix some bugs in new code, reenable make check
roland 418cfd
roland 418cfd
* Mon Apr  4 2005 Roland McGrath <roland@redhat.com> - 0.106-2
roland 418cfd
- disable make check for most arches, for now
roland 418cfd
roland 418cfd
* Mon Apr  4 2005 Roland McGrath <roland@redhat.com> - 0.106-1
roland 418cfd
- update to 0.106
roland 418cfd
roland 418cfd
* Mon Mar 28 2005 Roland McGrath <roland@redhat.com> - 0.104-2
roland 418cfd
- update to 0.104
roland 418cfd
roland 418cfd
* Wed Mar 23 2005 Jakub Jelinek <jakub@redhat.com> 0.103-2
roland 418cfd
- update to 0.103
roland 418cfd
roland 418cfd
* Wed Feb 16 2005 Jakub Jelinek <jakub@redhat.com> 0.101-2
roland 418cfd
- update to 0.101.
roland 418cfd
- use %%configure macro to get CFLAGS etc. right
roland 418cfd
roland 418cfd
* Sat Feb  5 2005 Jeff Johnson <jbj@redhat.com> 0.99-2
roland 418cfd
- upgrade to 0.99.
roland 418cfd
roland 418cfd
* Sun Sep 26 2004 Jeff Johnson <jbj@redhat.com> 0.97-3
roland 418cfd
- upgrade to 0.97.
roland 418cfd
roland 418cfd
* Tue Aug 17 2004 Jakub Jelinek <jakub@redhat.com> 0.95-5
roland 418cfd
- upgrade to 0.96.
roland 418cfd
roland 418cfd
* Mon Jul  5 2004 Jakub Jelinek <jakub@redhat.com> 0.95-4
roland 418cfd
- rebuilt with GCC 3.4.x, workaround VLA + alloca mixing
roland 418cfd
  warning
roland 418cfd
roland 418cfd
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
roland 418cfd
- rebuilt
roland 418cfd
roland 418cfd
* Fri Apr  2 2004 Jeff Johnson <jbj@redhat.com> 0.95-2
roland 418cfd
- upgrade to 0.95.
roland 418cfd
roland 418cfd
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
roland 418cfd
- rebuilt
roland 418cfd
roland 418cfd
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
roland 418cfd
- rebuilt
cvsdist d56180
cvsdist d56180
* Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.94-1
cvsdist d56180
- upgrade to 0.94
cvsdist d56180
cvsdist d56180
* Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.93-1
cvsdist d56180
- upgrade to 0.93
cvsdist d56180
cvsdist d56180
* Thu Jan  8 2004 Jakub Jelinek <jakub@redhat.com> 0.92-1
cvsdist d56180
- full version
cvsdist d56180
- macroized spec file for GPL or OSL builds
cvsdist d56180
- include only libelf under GPL plus wrapper scripts
cvsdist d56180
cvsdist d56180
* Wed Jan  7 2004 Jakub Jelinek <jakub@redhat.com> 0.91-2
cvsdist d56180
- macroized spec file for GPL or OSL builds
cvsdist d56180
cvsdist d56180
* Wed Jan  7 2004 Ulrich Drepper <drepper@redhat.com>
cvsdist d56180
- split elfutils-devel into two packages.
cvsdist d56180
cvsdist d56180
* Wed Jan  7 2004 Jakub Jelinek <jakub@redhat.com> 0.91-1
cvsdist d56180
- include only libelf under GPL plus wrapper scripts
cvsdist d56180
cvsdist bf0c57
* Tue Dec 23 2003 Jeff Johnson <jbj@redhat.com> 0.89-3
cvsdist bf0c57
- readelf, not readline, in %%description (#111214).
cvsdist bf0c57
cvsdist 147b5a
* Fri Sep 26 2003 Bill Nottingham <notting@redhat.com> 0.89-1
cvsdist 147b5a
- update to 0.89 (fix eu-strip)
cvsdist 147b5a
cvsdist 147b5a
* Tue Sep 23 2003 Jakub Jelinek <jakub@redhat.com> 0.86-3
cvsdist 147b5a
- update to 0.86 (fix eu-strip on s390x/alpha)
cvsdist 147b5a
- libebl is an archive now; remove references to DSO
cvsdist 147b5a
cvsdist 147b5a
* Mon Jul 14 2003 Jeff Johnson <jbj@redhat.com> 0.84-3
cvsdist 147b5a
- upgrade to 0.84 (readelf/elflint improvements, rawhide bugs fixed).
cvsdist 147b5a
cvsdist 147b5a
* Fri Jul 11 2003 Jeff Johnson <jbj@redhat.com> 0.83-3
cvsdist 147b5a
- upgrade to 0.83 (fix invalid ELf handle on *.so strip, more).
cvsdist 147b5a
cvsdist 147b5a
* Wed Jul  9 2003 Jeff Johnson <jbj@redhat.com> 0.82-3
cvsdist 147b5a
- upgrade to 0.82 (strip tests fixed on big-endian).
cvsdist 147b5a
cvsdist 147b5a
* Tue Jul  8 2003 Jeff Johnson <jbj@redhat.com> 0.81-3
cvsdist 147b5a
- upgrade to 0.81 (strip excludes unused symtable entries, test borked).
cvsdist 147b5a
cvsdist 147b5a
* Thu Jun 26 2003 Jeff Johnson <jbj@redhat.com> 0.80-3
cvsdist 147b5a
- upgrade to 0.80 (debugedit changes for kernel in progress).
cvsdist 147b5a
cvsdist 147b5a
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist 147b5a
- rebuilt
cvsdist 147b5a
cvsdist 147b5a
* Wed May 21 2003 Jeff Johnson <jbj@redhat.com> 0.79-2
cvsdist 147b5a
- upgrade to 0.79 (correct formats for size_t, more of libdw "works").
cvsdist 147b5a
cvsdist 147b5a
* Mon May 19 2003 Jeff Johnson <jbj@redhat.com> 0.78-2
cvsdist 147b5a
- upgrade to 0.78 (libdwarf bugfix, libdw additions).
cvsdist 147b5a
cvsdist b2ba69
* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
cvsdist b2ba69
- debuginfo rebuild
cvsdist b2ba69
cvsdist b2ba69
* Thu Feb 20 2003 Jeff Johnson <jbj@redhat.com> 0.76-2
cvsdist b2ba69
- use the correct way of identifying the section via the sh_info link.
cvsdist b2ba69
cvsdist b2ba69
* Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 0.75-2
cvsdist b2ba69
- update to 0.75 (eu-strip -g fix)
cvsdist b2ba69
cvsdist b2ba69
* Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 0.74-2
cvsdist b2ba69
- update to 0.74 (fix for writing with some non-dirty sections)
cvsdist b2ba69
cvsdist b2ba69
* Thu Feb  6 2003 Jeff Johnson <jbj@redhat.com> 0.73-3
cvsdist b2ba69
- another -0.73 update (with sparc fixes).
cvsdist b2ba69
- do "make check" in %%check, not %%install, section.
cvsdist b2ba69
cvsdist b2ba69
* Mon Jan 27 2003 Jeff Johnson <jbj@redhat.com> 0.73-2
cvsdist b2ba69
- update to 0.73 (with s390 fixes).
cvsdist b2ba69
cvsdist b2ba69
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
cvsdist b2ba69
- rebuilt
cvsdist b2ba69
cvsdist b2ba69
* Wed Jan 22 2003 Jakub Jelinek <jakub@redhat.com> 0.72-4
cvsdist b2ba69
- fix arguments to gelf_getsymshndx and elf_getshstrndx
cvsdist b2ba69
- fix other warnings
cvsdist b2ba69
- reenable checks on s390x
cvsdist b2ba69
cvsdist b2ba69
* Sat Jan 11 2003 Karsten Hopp <karsten@redhat.de> 0.72-3
cvsdist b2ba69
- temporarily disable checks on s390x, until someone has
cvsdist b2ba69
  time to look at it
cvsdist b2ba69
cvsdist b2ba69
* Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 0.72-2
cvsdist b2ba69
- update to 0.72
cvsdist b2ba69
cvsdist b2ba69
* Wed Dec 11 2002 Jakub Jelinek <jakub@redhat.com> 0.71-2
cvsdist b2ba69
- update to 0.71
cvsdist b2ba69
cvsdist b2ba69
* Wed Dec 11 2002 Jeff Johnson <jbj@redhat.com> 0.69-4
cvsdist b2ba69
- update to 0.69.
cvsdist b2ba69
- add "make check" and segfault avoidance patch.
cvsdist b2ba69
- elfutils-libelf needs to run ldconfig.
cvsdist b2ba69
cvsdist b2ba69
* Tue Dec 10 2002 Jeff Johnson <jbj@redhat.com> 0.68-2
cvsdist b2ba69
- update to 0.68.
cvsdist 2a2369
cvsdist 2a2369
* Fri Dec  6 2002 Jeff Johnson <jbj@redhat.com> 0.67-2
cvsdist 2a2369
- update to 0.67.
cvsdist 2a2369
cvsdist 2a2369
* Tue Dec  3 2002 Jeff Johnson <jbj@redhat.com> 0.65-2
cvsdist 2a2369
- update to 0.65.
cvsdist 2a2369
cvsdist 2a2369
* Mon Dec  2 2002 Jeff Johnson <jbj@redhat.com> 0.64-2
cvsdist 2a2369
- update to 0.64.
cvsdist 2a2369
cvsdist 2a2369
* Sun Dec 1 2002 Ulrich Drepper <drepper@redhat.com> 0.64
cvsdist 2a2369
- split packages further into elfutils-libelf
cvsdist 2a2369
cvsdist 2a2369
* Sat Nov 30 2002 Jeff Johnson <jbj@redhat.com> 0.63-2
cvsdist 2a2369
- update to 0.63.
cvsdist 2a2369
cvsdist 2a2369
* Fri Nov 29 2002 Ulrich Drepper <drepper@redhat.com> 0.62
cvsdist 2a2369
- Adjust for dropping libtool
cvsdist 2a2369
cvsdist 2a2369
* Sun Nov 24 2002 Jeff Johnson <jbj@redhat.com> 0.59-2
cvsdist 2a2369
- update to 0.59
cvsdist 2a2369
cvsdist 2a2369
* Thu Nov 14 2002 Jeff Johnson <jbj@redhat.com> 0.56-2
cvsdist 2a2369
- update to 0.56
cvsdist 2a2369
cvsdist 2a2369
* Thu Nov  7 2002 Jeff Johnson <jbj@redhat.com> 0.54-2
cvsdist 2a2369
- update to 0.54
cvsdist 2a2369
cvsdist 2a2369
* Sun Oct 27 2002 Jeff Johnson <jbj@redhat.com> 0.53-2
cvsdist 2a2369
- update to 0.53
cvsdist 2a2369
- drop x86_64 hack, ICE fixed in gcc-3.2-11.
cvsdist 2a2369
cvsdist 2a2369
* Sat Oct 26 2002 Jeff Johnson <jbj@redhat.com> 0.52-3
cvsdist 2a2369
- get beehive to punch a rhpkg generated package.
cvsdist 2a2369
cvsdist 2a2369
* Wed Oct 23 2002 Jeff Johnson <jbj@redhat.com> 0.52-2
cvsdist 2a2369
- build in 8.0.1.
cvsdist 2a2369
- x86_64: avoid gcc-3.2 ICE on x86_64 for now.
cvsdist 2a2369
cvsdist 2a2369
* Tue Oct 22 2002 Ulrich Drepper <drepper@redhat.com> 0.52
cvsdist 2a2369
- Add libelf-devel to conflicts for elfutils-devel
cvsdist 2a2369
cvsdist 2a2369
* Mon Oct 21 2002 Ulrich Drepper <drepper@redhat.com> 0.50
cvsdist 2a2369
- Split into runtime and devel package
cvsdist 2a2369
cvsdist 2a2369
* Fri Oct 18 2002 Ulrich Drepper <drepper@redhat.com> 0.49
cvsdist 2a2369
- integrate into official sources
cvsdist 2a2369
cvsdist 2a2369
* Wed Oct 16 2002 Jeff Johnson <jbj@redhat.com> 0.46-1
cvsdist 2a2369
- Swaddle.