3 Summary: A collection of utilities and DSOs to handle compiled objects.
5 Version: @PACKAGE_VERSION@
12 Group: Development/Tools
13 #URL: file://home/devel/drepper/
14 Source: elfutils-%{version}.tar.gz
15 Obsoletes: libelf libelf-devel
16 Requires: elfutils-libelf = %{version}-%{release}
18 Requires: binutils >= 2.14.90.0.4-26.2
20 Requires: glibc >= 2.3.1-2
24 BuildRoot: %{_tmppath}/%{name}-root
25 BuildRequires: gcc >= 3.4
26 BuildRequires: bison >= 1.875
27 BuildRequires: flex >= 2.5.4a
31 %define _programprefix eu-
34 Elfutils is a collection of utilities, including ld (a linker),
35 nm (for listing symbols from object files), size (for listing the
36 section sizes of an object or archive file), strip (for discarding
37 symbols), readelf (to see the raw ELF file structures), and elflint
38 (to check for well-formed ELF files). Also included are numerous
39 helper libraries which implement DWARF, ELF, and machine-specific ELF
43 Summary: Development libraries to handle compiled objects.
44 Group: Development/Tools
50 Requires: elfutils = %{version}-%{release}
51 Requires: elfutils-libelf-devel = %{version}-%{release}
54 The elfutils-devel package contains the libraries to create
55 applications for handling compiled objects. libebl provides some
56 higher-level ELF access functionality. libdw provides access to
57 the DWARF debugging information. libasm provides a programmable
61 Summary: Library to read and write ELF files.
62 Group: Development/Tools
68 The elfutils-libelf package provides a DSO which allows reading and
69 writing ELF files on a high level. Third party programs depend on
70 this package to read internals of ELF files. The programs of the
71 elfutils package use it also to generate new ELF files.
74 Summary: Development support for libelf
75 Group: Development/Tools
76 Requires: elfutils-libelf = %{version}-%{release}
77 Conflicts: libelf-devel
82 %description libelf-devel
83 The elfutils-libelf-devel package contains the libraries to create
84 applications for handling compiled objects. libelf allows you to
85 access the internals of the ELF object file format, so you can see the
86 different sections of an ELF file.
92 %configure --program-prefix=%{_programprefix}
96 rm -rf ${RPM_BUILD_ROOT}
97 mkdir -p ${RPM_BUILD_ROOT}%{_prefix}
101 chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
103 chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so*
107 # XXX Nuke unpackaged files
108 { cd ${RPM_BUILD_ROOT}
109 rm -f .%{_bindir}/eu-ld
110 rm -f .%{_includedir}/elfutils/libasm.h
111 rm -f .%{_libdir}/libasm-%{version}.so
112 rm -f .%{_libdir}/libasm.so.*
113 rm -f .%{_libdir}/libasm.so
114 rm -f .%{_libdir}/libasm.a
122 rm -rf ${RPM_BUILD_ROOT}
124 %post -p /sbin/ldconfig
126 %postun -p /sbin/ldconfig
128 %post libelf -p /sbin/ldconfig
130 %postun libelf -p /sbin/ldconfig
133 %defattr(-,root,root)
138 %{_bindir}/eu-elflint
140 %{_bindir}/eu-readelf
143 %{_bindir}/eu-findtextrel
144 %{_bindir}/eu-addr2line
147 %{_bindir}/eu-strings
150 #%{_libdir}/libasm-%{version}.so
151 %{_libdir}/libdw-%{version}.so
152 #%{_libdir}/libasm.so.*
153 %{_libdir}/libdw.so.*
154 %dir %{_libdir}/elfutils
155 %{_libdir}/elfutils/lib*.so
159 %defattr(-,root,root)
160 %{_includedir}/dwarf.h
161 %dir %{_includedir}/elfutils
162 %{_includedir}/elfutils/elf-knowledge.h
164 %{_includedir}/elfutils/libebl.h
165 %{_includedir}/elfutils/libdw.h
166 %{_includedir}/elfutils/libdwfl.h
170 #%{_libdir}/libasm.so
175 %defattr(-,root,root)
176 %{_libdir}/libelf-%{version}.so
177 %{_libdir}/libelf.so.*
180 %defattr(-,root,root)
181 %{_includedir}/libelf.h
182 %{_includedir}/gelf.h
183 %{_includedir}/nlist.h
188 * Wed Aug 24 2005 Ulrich Drepper <drepper@redhat.com> 0.114-1
189 - libelf: new function elf_getaroff
190 - libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_inst
192 - libdwfl: New functions dwfl_report_offline, dwfl_offline_section_addre
193 ss, dwfl_linux_kernel_report_offline.
194 - ranlib: new program
196 * Mon Aug 15 2005 Ulrich Drepper <drepper@redhat.com> 0.114-1
197 - libelf: new function elf_getaroff
198 - ranlib: new program
200 * Wed Aug 10 2005 Ulrich Drepper <@redhat.com> 0.113-1
201 - elflint: relax a bit. Allow version definitions for defined symbols ag
202 ainstDSO versions also for symbols in nobits sections. Allow .rodata
203 sectionto have STRINGS and MERGE flag set.
204 - strip: add some more compatibility with binutils.
206 * Sat Aug 6 2005 Ulrich Drepper <@redhat.com> 0.113-1
207 - elflint: relax a bit. Allow version definitions for defined symbols ag
208 ainstDSO versions also for symbols in nobits sections. Allow .rodata
209 sectionto have STRINGS and MERGE flag set.
211 * Sat Aug 6 2005 Ulrich Drepper <@redhat.com> 0.113-1
212 - elflint: relax a bit. Allow version definitions for defined symbols ag
213 ainstDSO versions also for symbols in nobits sections.
215 * Fri Aug 5 2005 Ulrich Drepper <@redhat.com> 0.112-1
216 - elfcmp: some more relaxation.
217 - elflint: many more tests, especially regarding to symbol versioning.
218 - libelf: Add elfXX_offscn and gelf_offscn.
219 - libasm: asm_begin interface changes.
220 - libebl: Add three new interfaces to directly access machine, class, an
221 ddata encoding information.
222 - objdump: New program. Just the beginning.
224 * Thu Jul 28 2005 Ulrich Drepper <@redhat.com> 0.111-1
225 - libdw: now contains all of libdwfl. The latter is not installed anymore.
226 - elfcmp: little usability tweak, name and index of differing section is
229 * Sun Jul 24 2005 Ulrich Drepper <@redhat.com> 0.110-1
230 - libelf: fix a numbe rof problems with elf_update
231 - elfcmp: fix a few bugs. Compare gaps.
232 - Fix a few PLT problems and mudflap build issues.
233 - libebl: Don't expose Ebl structure definition in libebl.h. It's now p
236 * Thu Jul 21 2005 Ulrich Drepper <@redhat.com> 0.109-1
237 - libebl: Check for matching modules.
238 - elflint: Check that copy relocations only happen for OBJECT or NOTYPE
240 - elfcmp: New program.
241 - libdwfl: New library.
243 * Mon May 9 2005 Ulrich Drepper <@redhat.com> 0.108-1
244 - strip: fix bug introduced in last change
245 - libdw: records returned by dwarf_getsrclines are now sorted by address
247 * Sun May 8 2005 Ulrich Drepper <@redhat.com> 0.108-1
248 - strip: fix bug introduced in last change
250 * Sun May 8 2005 Ulrich Drepper <@redhat.com> 0.107-1
251 - readelf: improve DWARF output format
252 - strip: support Linux kernel modules
254 * Fri Apr 29 2005 Ulrich Drepper <drepper@redhat.com> 0.107-1
255 - readelf: improve DWARF output format
257 * Mon Apr 4 2005 Ulrich Drepper <drepper@redhat.com> 0.106-1
258 - libdw: Updated dwarf.h from DWARF3 speclibdw: add new funtions dwarf_f
259 unc_entrypc, dwarf_func_file, dwarf_func_line,dwarf_func_col, dwarf_ge
262 * Fri Apr 1 2005 Ulrich Drepper <drepper@redhat.com> 0.105-1
263 - addr2line: New program
264 - libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs
266 - findtextrel: use dwarf_addrdie
268 * Mon Mar 28 2005 Ulrich Drepper <drepper@redhat.com> 0.104-1
269 - findtextrel: New program.
271 * Mon Mar 21 2005 Ulrich Drepper <drepper@redhat.com> 0.103-1
272 - libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug.
274 * Tue Feb 22 2005 Ulrich Drepper <drepper@redhat.com> 0.102-1
275 - More Makefile and spec file cleanups.
277 * Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.94-1
280 * Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.93-1
283 * Thu Jan 8 2004 Jakub Jelinek <jakub@redhat.com> 0.92-1
285 - macroized spec file for GPL or OSL builds
286 - include only libelf under GPL plus wrapper scripts
288 * Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 0.91-2
289 - macroized spec file for GPL or OSL builds
291 * Wed Jan 7 2004 Ulrich Drepper <drepper@redhat.com>
292 - split elfutils-devel into two packages.
294 * Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 0.91-1
295 - include only libelf under GPL plus wrapper scripts
297 * Tue Dec 23 2003 Jeff Johnson <jbj@redhat.com> 0.89-3
298 - readelf, not readline, in %%description (#111214).
300 * Fri Sep 26 2003 Bill Nottingham <notting@redhat.com> 0.89-1
301 - update to 0.89 (fix eu-strip)
303 * Tue Sep 23 2003 Jakub Jelinek <jakub@redhat.com> 0.86-3
304 - update to 0.86 (fix eu-strip on s390x/alpha)
305 - libebl is an archive now; remove references to DSO
307 * Mon Jul 14 2003 Jeff Johnson <jbj@redhat.com> 0.84-3
308 - upgrade to 0.84 (readelf/elflint improvements, rawhide bugs fixed).
310 * Fri Jul 11 2003 Jeff Johnson <jbj@redhat.com> 0.83-3
311 - upgrade to 0.83 (fix invalid ELf handle on *.so strip, more).
313 * Wed Jul 9 2003 Jeff Johnson <jbj@redhat.com> 0.82-3
314 - upgrade to 0.82 (strip tests fixed on big-endian).
316 * Tue Jul 8 2003 Jeff Johnson <jbj@redhat.com> 0.81-3
317 - upgrade to 0.81 (strip excludes unused symtable entries, test borked).
319 * Thu Jun 26 2003 Jeff Johnson <jbj@redhat.com> 0.80-3
320 - upgrade to 0.80 (debugedit changes for kernel in progress).
322 * Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
325 * Wed May 21 2003 Jeff Johnson <jbj@redhat.com> 0.79-2
326 - upgrade to 0.79 (correct formats for size_t, more of libdw "works").
328 * Mon May 19 2003 Jeff Johnson <jbj@redhat.com> 0.78-2
329 - upgrade to 0.78 (libdwarf bugfix, libdw additions).
331 * Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
334 * Thu Feb 20 2003 Jeff Johnson <jbj@redhat.com> 0.76-2
335 - use the correct way of identifying the section via the sh_info link.
337 * Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 0.75-2
338 - update to 0.75 (eu-strip -g fix)
340 * Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 0.74-2
341 - update to 0.74 (fix for writing with some non-dirty sections)
343 * Thu Feb 6 2003 Jeff Johnson <jbj@redhat.com> 0.73-3
344 - another -0.73 update (with sparc fixes).
345 - do "make check" in %%check, not %%install, section.
347 * Mon Jan 27 2003 Jeff Johnson <jbj@redhat.com> 0.73-2
348 - update to 0.73 (with s390 fixes).
350 * Wed Jan 22 2003 Tim Powers <timp@redhat.com>
353 * Wed Jan 22 2003 Jakub Jelinek <jakub@redhat.com> 0.72-4
354 - fix arguments to gelf_getsymshndx and elf_getshstrndx
356 - reenable checks on s390x
358 * Sat Jan 11 2003 Karsten Hopp <karsten@redhat.de> 0.72-3
359 - temporarily disable checks on s390x, until someone has
362 * Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 0.72-2
365 * Wed Dec 11 2002 Jakub Jelinek <jakub@redhat.com> 0.71-2
368 * Wed Dec 11 2002 Jeff Johnson <jbj@redhat.com> 0.69-4
370 - add "make check" and segfault avoidance patch.
371 - elfutils-libelf needs to run ldconfig.
373 * Tue Dec 10 2002 Jeff Johnson <jbj@redhat.com> 0.68-2
376 * Fri Dec 6 2002 Jeff Johnson <jbj@redhat.com> 0.67-2
379 * Tue Dec 3 2002 Jeff Johnson <jbj@redhat.com> 0.65-2
382 * Mon Dec 2 2002 Jeff Johnson <jbj@redhat.com> 0.64-2
385 * Sun Dec 1 2002 Ulrich Drepper <drepper@redhat.com> 0.64
386 - split packages further into elfutils-libelf
388 * Sat Nov 30 2002 Jeff Johnson <jbj@redhat.com> 0.63-2
391 * Fri Nov 29 2002 Ulrich Drepper <drepper@redhat.com> 0.62
392 - Adjust for dropping libtool
394 * Sun Nov 24 2002 Jeff Johnson <jbj@redhat.com> 0.59-2
397 * Thu Nov 14 2002 Jeff Johnson <jbj@redhat.com> 0.56-2
400 * Thu Nov 7 2002 Jeff Johnson <jbj@redhat.com> 0.54-2
403 * Sun Oct 27 2002 Jeff Johnson <jbj@redhat.com> 0.53-2
405 - drop x86_64 hack, ICE fixed in gcc-3.2-11.
407 * Sat Oct 26 2002 Jeff Johnson <jbj@redhat.com> 0.52-3
408 - get beehive to punch a rhpkg generated package.
410 * Wed Oct 23 2002 Jeff Johnson <jbj@redhat.com> 0.52-2
412 - x86_64: avoid gcc-3.2 ICE on x86_64 for now.
414 * Tue Oct 22 2002 Ulrich Drepper <drepper@redhat.com> 0.52
415 - Add libelf-devel to conflicts for elfutils-devel
417 * Mon Oct 21 2002 Ulrich Drepper <drepper@redhat.com> 0.50
418 - Split into runtime and devel package
420 * Fri Oct 18 2002 Ulrich Drepper <drepper@redhat.com> 0.49
421 - integrate into official sources
423 * Wed Oct 16 2002 Jeff Johnson <jbj@redhat.com> 0.46-1