blob: 1d0a4f8e2422e78bceff7c928544f125349d151a [file] [log] [blame]
Brian Silverman86497922018-02-10 19:28:39 -05001# -*- rpm-spec-*-
2Summary: A collection of utilities and DSOs to handle ELF files and DWARF data
3Name: elfutils
4Version: @PACKAGE_VERSION@
5Release: 1
6URL: http://elfutils.org/
7License: GPLv3+ and (GPLv2+ or LGPLv3+)
8Group: Development/Tools
9Source: ftp://sourceware.org/pub/elfutils/%{version}/elfutils-%{version}.tar.bz2
10Obsoletes: libelf libelf-devel
11Requires: elfutils-libelf = %{version}-%{release}
12Requires: glibc >= 2.7
13Requires: libstdc++
14Requires: default-yama-scope
15
16# ExcludeArch: xxx
17
18BuildRoot: %{_tmppath}/%{name}-root
19BuildRequires: gcc >= 4.1.2-33
20BuildRequires: glibc >= 2.7
21BuildRequires: bison >= 1.875
22BuildRequires: flex >= 2.5.4a
23BuildRequires: bzip2
24BuildRequires: m4
25BuildRequires: gettext
26BuildRequires: zlib-devel
27BuildRequires: bzip2-devel
28BuildRequires: xz-devel
29BuildRequires: gcc-c++
30
31%define _gnu %{nil}
32%define _programprefix eu-
33
34%description
35
36Elfutils is a collection of utilities, including stack (to show
37backtraces), nm (for listing symbols from object files), size
38(for listing the section sizes of an object or archive file),
39strip (for discarding symbols), readelf (to see the raw ELF file
40structures), elflint (to check for well-formed ELF files) and
41elfcompress (to compress or decompress ELF sections).
42Also included are helper libraries which implement DWARF, ELF,
43and machine-specific ELF handling and process introspection.
44
45%package devel
46Summary: Development libraries to handle compiled objects.
47Group: Development/Tools
48License: GPLv2+ or LGPLv3+
49Requires: elfutils = %{version}-%{release}
50Requires: elfutils-libelf-devel = %{version}-%{release}
51
52%description devel
53The elfutils-devel package contains the libraries to create
54applications for handling compiled objects. libebl provides some
55higher-level ELF access functionality. libdw provides access to
56the DWARF debugging information. libasm provides a programmable
57assembler interface.
58
59%package devel-static
60Summary: Static archives to handle compiled objects.
61Group: Development/Tools
62License: GPLv2+ or LGPLv3+
63Requires: elfutils-devel = %{version}-%{release}
64
65%description devel-static
66The elfutils-devel-static archive contains the static archives
67with the code the handle compiled objects.
68
69%package libelf
70Summary: Library to read and write ELF files.
71Group: Development/Tools
72License: GPLv2+ or LGPLv3+
73
74%description libelf
75The elfutils-libelf package provides a DSO which allows reading and
76writing ELF files on a high level. Third party programs depend on
77this package to read internals of ELF files. The programs of the
78elfutils package use it also to generate new ELF files.
79
80%package libelf-devel
81Summary: Development support for libelf
82Group: Development/Tools
83License: GPLv2+ or LGPLv3+
84Requires: elfutils-libelf = %{version}-%{release}
85Conflicts: libelf-devel
86
87%description libelf-devel
88The elfutils-libelf-devel package contains the libraries to create
89applications for handling compiled objects. libelf allows you to
90access the internals of the ELF object file format, so you can see the
91different sections of an ELF file.
92
93%package libelf-devel-static
94Summary: Static archive of libelf
95Group: Development/Tools
96License: GPLv2+ or LGPLv3+
97Requires: elfutils-libelf-devel = %{version}-%{release}
98Conflicts: libelf-devel
99
100%description libelf-devel-static
101The elfutils-libelf-static package contains the static archive
102for libelf.
103
104%package default-yama-scope
105Summary: Default yama attach scope sysctl setting
106Group: Development/Tools
107License: GPLv2+ or LGPLv3+
108Provides: default-yama-scope
109BuildArch: noarch
110
111%description default-yama-scope
112Yama sysctl setting to enable default attach scope settings
113enabling programs to use ptrace attach, access to
114/proc/PID/{mem,personality,stack,syscall}, and the syscalls
115process_vm_readv and process_vm_writev which are used for
116interprocess services, communication and introspection
117(like synchronisation, signaling, debugging, tracing and
118profiling) of processes.
119
120%prep
121%setup -q
122
123%build
124%configure --program-prefix=%{_programprefix}
125make
126
127%install
128rm -rf ${RPM_BUILD_ROOT}
129mkdir -p ${RPM_BUILD_ROOT}%{_prefix}
130
131%makeinstall
132
133chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/lib*.so*
134chmod +x ${RPM_BUILD_ROOT}%{_prefix}/%{_lib}/elfutils/lib*.so*
135
136# XXX Nuke unpackaged files
137{ cd ${RPM_BUILD_ROOT}
138 rm -f .%{_includedir}/elfutils/libasm.h
139 rm -f .%{_libdir}/libasm.so
140 rm -f .%{_libdir}/libasm.a
141}
142
143install -Dm0644 config/10-default-yama-scope.conf ${RPM_BUILD_ROOT}%{_sysctldir}/10-default-yama-scope.conf
144
145%check
146make check
147
148%clean
149rm -rf ${RPM_BUILD_ROOT}
150
151%post -p /sbin/ldconfig
152
153%postun -p /sbin/ldconfig
154
155%post libelf -p /sbin/ldconfig
156
157%postun libelf -p /sbin/ldconfig
158
159%post default-yama-scope
160%sysctl_apply 10-default-yama-scope.conf
161
162%files
163%defattr(-,root,root)
164%doc COPYING COPYING-GPLV2 COPYING-LGPLV3 README TODO CONTRIBUTING
165%{_bindir}/eu-elflint
166%{_bindir}/eu-nm
167%{_bindir}/eu-readelf
168%{_bindir}/eu-size
169%{_bindir}/eu-strip
170%{_bindir}/eu-findtextrel
171%{_bindir}/eu-addr2line
172%{_bindir}/eu-elfcmp
173%{_bindir}/eu-ranlib
174%{_bindir}/eu-strings
175%{_bindir}/eu-objdump
176%{_bindir}/eu-ar
177%{_bindir}/eu-unstrip
178%{_bindir}/eu-make-debug-archive
179%{_bindir}/eu-elfcompress
180%{_libdir}/libasm-%{version}.so
181%{_libdir}/libdw-%{version}.so
182%{_libdir}/libasm.so.*
183%{_libdir}/libdw.so.*
184%dir %{_libdir}/elfutils
185%{_libdir}/elfutils/lib*.so
186
187%files devel
188%defattr(-,root,root)
189%{_includedir}/dwarf.h
190%dir %{_includedir}/elfutils
191%{_includedir}/elfutils/elf-knowledge.h
192%{_includedir}/elfutils/known-dwarf.h
193#%{_includedir}/elfutils/libasm.h
194%{_includedir}/elfutils/libebl.h
195%{_includedir}/elfutils/libdw.h
196%{_includedir}/elfutils/libdwfl.h
197%{_includedir}/elfutils/libdwelf.h
198%{_includedir}/elfutils/version.h
199%{_libdir}/libebl.a
200#%{_libdir}/libasm.so
201%{_libdir}/libdw.so
202%{_libdir}/pkgconfig/libdw.pc
203
204%files devel-static
205%{_libdir}/libdw.a
206#%{_libdir}/libasm.a
207
208%files libelf
209%defattr(-,root,root)
210%{_libdir}/libelf-%{version}.so
211%{_libdir}/libelf.so.*
212%{_datadir}/locale/*/LC_MESSAGES/elfutils.mo
213
214%files libelf-devel
215%defattr(-,root,root)
216%{_includedir}/libelf.h
217%{_includedir}/gelf.h
218%{_includedir}/nlist.h
219%{_includedir}/elfutils/version.h
220%{_libdir}/libelf.so
221%{_libdir}/pkgconfig/libelf.pc
222
223%files libelf-devel-static
224%{_libdir}/libelf.a
225
226%files default-yama-scope
227%{_sysctldir}/10-default-yama-scope.conf
228
229%changelog
230* Wed Aug 2 2017 Mark Wielaard <mark@klomp.org> 0.170-1
231- libdw: Added new DWARF5 attribute, tag, character encoding,
232 language code, calling convention, defaulted member function
233 and macro constants to dwarf.h.
234 New functions dwarf_default_lower_bound and dwarf_line_file.
235 dwarf_peel_type now handles DWARF5 immutable, packed and shared tags.
236 dwarf_getmacros now handles DWARF5 .debug_macro sections.
237- strip: Add -R, --remove-section=SECTION and --keep-section=SECTION.
238- backends: The bpf disassembler is now always build on all platforms.
239
240* Fri May 5 2017 Mark Wielaard <mark@klomp.org> 0.169-1
241- backends: Add support for EM_PPC64 GNU_ATTRIBUTES.
242 Frame pointer unwinding fallback support for i386, x86_64, aarch64.
243- translations: Update Polish translation.
244
245* Tue Dec 27 2016 Mark Wielaard <mark@klomp.org> 0.168-1
246- http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/
247- libelf: gelf_newehdr and gelf_newehdr now return void *.
248- libdw: dwarf.h corrected the DW_LANG_PLI constant name (was DW_LANG_PL1).
249- readelf: Add optional --symbols[=SECTION] argument to select section name.
250
251* Thu Aug 4 2016 Mark Wielaard <mjw@redhat.com> 0.167-1
252- libasm: Add eBPF disassembler for EM_BPF files.
253- backends: Add m68k and BPF backends.
254- ld: Removed.
255- dwelf: Add ELF/DWARF string table creation functions.
256 dwelf_strtab_init, dwelf_strtab_add, dwelf_strtab_add_len,
257 dwelf_strtab_finalize, dwelf_strent_off, dwelf_strent_str and
258 dwelf_strtab_free.
259
260* Thu Mar 31 2016 Mark Wielaard <mjw@redhat.com> 0.166-1
261- config: The default program prefix for the installed tools is now
262 eu-. Use configure --program-prefix="" to not use a program prefix.
263
264* Fri Jan 8 2016 Mark Wielaard <mjw@redhat.com> 0.165-1
265- elfcompress: New utility to compress or decompress ELF sections.
266- readelf: Add -z,--decompress option.
267- libelf: Add elf_compress, elf_compress_gnu, elf32_getchdr,
268 elf64_getchdr and gelf_getchdr.
269- libdwelf: New function dwelf_scn_gnu_compressed_size.
270- config: Add libelf and libdw pkg-config files.
271- backends: sparc support for core and live backtraces.
272- translations: Updated Polish translation.
273
274* Thu Oct 15 2015 Mark Wielaard <mjw@redhat.com> 0.164-1
275- strip, unstrip: Handle ELF files with merged strtab/shstrtab
276 tables. Handle missing SHF_INFO_LINK section flags.
277- libelf: Use int64_t for offsets in libelf.h instead of loff_t.
278- libdw: dwarf.h Add preliminary DWARF5 DW_LANG_Haskell.
279- libdwfl: dwfl_standard_find_debuginfo now searches any subdir of
280 the binary path under the debuginfo root when the separate
281 debug file couldn't be found by build-id.
282 dwfl_linux_proc_attach can now be called before any Dwfl_Modules
283 have been reported.
284- backends: Better sparc and sparc64 support.
285- translations: Updated Ukrainian translation.
286- Provide default-yama-scope subpackage.
287
288* Fri Jun 19 2015 Mark Wielaard <mjw@redhat.com> 0.163-1
289- Bug fixes only, no new features.
290
291* Wed Jun 10 2015 Mark Wielaard <mjw@redhat.com> 0.162-1
292- libdw: Install new header elfutils/known-dwarf.h.
293 dwarf.h Add preliminary DWARF5 constants DW_TAG_atomic_type,
294 DW_LANG_Fortran03, DW_LANG_Fortran08. dwarf_peel_type now also
295 handles DW_TAG_atomic_type.
296- addr2line: Input addresses are now always interpreted as
297 hexadecimal numbers, never as octal or decimal numbers.
298 New option -a, --addresses to print address before each entry.
299 New option -C, --demangle to show demangled symbols.
300 New option --pretty-print to print all information on one line.
301- ar: CVE-2014-9447 Directory traversal vulnerability in ar
302 extraction.
303- backends: x32 support.
304
305* Thu Dec 18 2014 Mark Wielaard <mjw@redhat.com> 0.161-1
306- libdw: New function dwarf_peel_type. dwarf_aggregate_size now uses
307 dwarf_peel_type to also provide the sizes of qualified types.
308 dwarf_getmacros will now serve either of .debug_macro and
309 .debug_macinfo transparently. New interfaces dwarf_getmacros_off,
310 dwarf_macro_getsrcfiles, dwarf_macro_getparamcnt, and
311 dwarf_macro_param are available for more generalized inspection of
312 macros and their parameters.
313 dwarf.h: Add DW_AT_GNU_deleted, DW_AT_noreturn, DW_LANG_C11,
314 DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
315
316* Mon Aug 25 2014 Mark Wielaard <mjw@redhat.com> 0.160-1
317- libdw: New functions dwarf_cu_getdwarf, dwarf_cu_die.
318 dwarf.h remove non-existing DW_TAG_mutable_type.
319- libdwfl: Handle LZMA .ko.xz compressed kernel modules.
320- unstrip: New option -F, --force to combining files even if some ELF
321 headers don't seem to match.
322- backends: Handle ARM THUMB functions. Add support for ppc64le ELFv2 abi.
323
324* Sat May 17 2014 Mark Wielaard <mjw@redhat.com> 0.159-1
325- stack: New option -d, --debugname to lookup DWARF debuginfo name
326 for frame. New option -i, --inlines to show inlined frames
327 using DWARF debuginfo.
328- libdwelf: New libdwelf.h header for libdw.so DWARF ELF Low-level
329 Functions. New function dwelf_elf_gnu_debuglink,
330 dwelf_dwarf_gnu_debugaltlink, and dwelf_elf_gnu_build_id.
331- libdw: Support for DWZ multifile forms DW_FORM_GNU_ref_alt and
332 DW_FORM_GNU_strp_alt is now enabled by default and no longer
333 experimental. Added new functions dwarf_getalt and dwarf_setalt
334 to get or set the alternative debug file used for the alt FORMs.
335 The dwfl_linux_proc_find_elf callback will now find ELF from
336 process memory for (deleted) files if the Dwfl has process state
337 attached.
338- libdwfl: The dwfl_build_id_find_debuginfo and
339 dwfl_standard_find_debuginfo functions will now try to
340 resolve and set the alternative debug file.
341- backends: Add CFI unwinding for arm. Relies on .debug_frame.
342 Add arm process initial register state compatible mode to AARCH64.
343 Add aarch64 native and core unwind support.
344- other: All separate elfutils-robustify patches have been merged.
345 CVE-2014-0172 Check overflow before calling malloc to uncompress
346 data.
347
348* Fri Jan 3 2014 Mark Wielaard <mjw@redhat.com> 0.158-1
349- libdwfl: dwfl_core_file_report has new parameter executable.
350 New functions dwfl_module_getsymtab_first_global,
351 dwfl_module_getsym_info and dwfl_module_addrinfo.
352 Added unwinder with type Dwfl_Thread_Callbacks, opaque types
353 Dwfl_Thread and Dwfl_Frame and functions dwfl_attach_state,
354 dwfl_pid, dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread,
355 dwfl_thread_state_registers, dwfl_thread_state_register_pc,
356 dwfl_getthread_frames, dwfl_getthreads, dwfl_thread_getframes
357 and dwfl_frame_pc.
358- addr2line: New option -x to show the section an address was found in.
359- stack: New utility that uses the new unwinder for processes and cores.
360- backends: Unwinder support for i386, x86_64, s390, s390x, ppc and ppc64.
361 aarch64 support.
362
363* Mon Sep 30 2013 Mark Wielaard <mjw@redhat.com> 0.157-1
364- libdw: Add new functions dwarf_getlocations, dwarf_getlocation_attr
365 and dwarf_getlocation_die.
366- readelf: Show contents of NT_SIGINFO and NT_FILE core notes.
367- addr2line: Support -i, --inlines output option.
368- backends: abi_cfi hook for arm, ppc and s390.
369
370* Thu Jul 25 2013 Jan Kratochvil <jan.kratochvil@redhat.com> 0.156-1
371- lib: New macro COMPAT_VERSION_NEWPROTO.
372- libdw: Handle GNU extension opcodes in dwarf_getlocation.
373- libdwfl: Fix STB_GLOBAL over STB_WEAK preference in
374 dwfl_module_addrsym. Add minisymtab support. Add
375 parameter add_p_vaddr to dwfl_report_elf. Use DT_DEBUG
376 library search first.
377- libebl: Handle new core note types in EBL.
378- backends: Interpret NT_ARM_VFP. Implement core file
379 registers parsing for s390/s390x.
380- readelf: Add --elf-section input option to inspect an embedded ELF
381 file. Add -U, --unresolved-address-offsets output control.
382 Add --debug-dump=decodedline support. Accept version
383 8 .gdb_index section format. Adjust output formatting width.
384 When highpc is in constant form print it also as address.
385 Display raw .debug_aranges. Use libdw only for decodedaranges.
386- elflint: Add __bss_start__ to the list of allowed symbols.
387- tests: Add configure --enable-valgrind option to run all tests
388 under valgrind. Enable automake parallel-tests for make check.
389- translations: Updated Polish translation.
390- Updates for Automake 1.13.
391
392* Fri Aug 24 2012 Mark Wielaard <mjw@redhat.com> 0.155-1
393- libelf: elf*_xlatetomd now works for cross-endian ELF note data.
394 elf_getshdr now works consistently on non-mmaped ELF files after
395 calling elf_cntl(ELF_C_FDREAD). Implement support for
396 ar archives with 64-bit symbol table.
397- libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was
398 DW_LANG_Objc). Any existing sources using the old name will
399 have to be updated. Add DW_MACRO_GNU .debug_macro type
400 encodings constants, DW_ATE_UTF and DW_OP_GNU_parameter_ref to
401 dwarf.h. Experimental support for DWZ multifile forms
402 DW_FORM_GNU_ref_alt and DW_FORM_GNU_strp_alt. Disabled by
403 default. Use configure --enable-dwz to test it.
404- readelf: Add .debug_macro parsing support. Add .gdb_index
405 version 7 parsing support. Recognize DW_OP_GNU_parameter_ref.
406- backends: Add support for Tilera TILE-Gx processor.
407- translations: Updated Ukrainian translation.
408
409* Fri Jun 22 2012 Mark Wielaard <mjw@redhat.com> 0.154-1
410- libelf: [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at
411 OFFSET.
412- libdw: dwarf_highpc function now handles DWARF 4 DW_AT_high_pc
413 constant form. Fix bug using dwarf_next_unit to iterate over
414 .debug_types.
415- elflint: Now accepts gold linker produced executables.
416- The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for
417 stand-alone programs. There is now also a formal CONTRIBUTING
418 document describing how to submit patches.
419
420* Thu Feb 23 2012 Mark Wielaard <mjw@redhat.com> 0.153-1
421- libdw: Support reading .zdebug_* DWARF sections compressed via zlib.
422- libdwfl: Speed up dwfl_module_addrsym.
423- nm: Support C++ demangling.
424- ar: Support D modifier for "deterministic output" with no
425 uid/gid/mtime info. The U modifier is the inverse. elfutils
426 can be configured with the --enable-deterministic-archives option
427 to make the D behavior the default when U is not specified.
428- ranlib: Support -D and -U flags with same meaning.
429- readelf: Improve output of -wline. Add support for printing SDT elf
430 notes. Add printing of .gdb_index section. Support for
431 typed DWARF stack, call_site and entry_value.
432- strip: Add --reloc-debug-sections option. Improved SHT_GROUP
433 sections handling.
434
435* Tue Feb 15 2011 <drepper@gmail.com> 0.152-1
436- Various build and warning nits fixed for newest GCC and Autoconf.
437- libdwfl: Yet another prelink-related fix for another regression.
438 Look for Linux kernel images in files named with compression
439 suffixes.
440- elfcmp: New flag --ignore-build-id to ignore differing build ID
441 bits. New flag -l/--verbose to print all differences.
442
443* Wed Jan 12 2011 <drepper@gmail.com> 0.151-1
444- libdwfl: Fix for more prelink cases with separate debug file.
445- strip: New flag --strip-sections to remove section headers entirely.
446
447* Mon Nov 22 2010 <drepper@gmail.com> 0.150-1
448- libdw: Fix for handling huge .debug_aranges section.
449- libdwfl: Fix for handling prelinked DSO with separate debug file.
450- findtextrel: Fix diagnostics to work with usual section ordering.
451- libebl: i386 backend fix for multi-register integer return value
452 location.
453
454* Mon Sep 13 2010 <drepper@redhat.com> 0.149-1
455- libdw: Decode new DW_OP_GNU_implicit_pointer operation; new
456 function dwarf_getlocation_implicit_pointer.
457- libdwfl: New function dwfl_dwarf_line.
458- addr2line: New flag -F/--flags to print more DWARF line information
459 details.
460- strip: -g recognizes .gdb_index as a debugging section.
461
462* Mon Jun 28 2010 <drepper@redhat.com> 0.148-1
463- libdw: Accept DWARF 4 format: new functions dwarf_next_unit,
464 dwarf_offdie_types. New functions dwarf_lineisa,
465 dwarf_linediscriminator, dwarf_lineop_index.
466- libdwfl: Fixes in core-file handling, support cores from PIEs.
467 When working from build IDs, don't open a named file that
468 mismatches.
469- readelf: Handle DWARF 4 formats.
470
471* Mon May 3 2010 Ulrich Drepper <drepper@redhat.com> 0.147-1
472- libdw: Fixes in CFI handling, best possible handling of bogus CFA
473 ops.
474- libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r
475 bugs.
476
477* Wed Apr 21 2010 <drepper@redhat.com> 0.146-1
478- libdwfl: New function dwfl_core_file_report.
479
480* Tue Feb 23 2010 Ulrich Drepper <drepper@redhat.com> 0.145-1
481- Fix build with --disable-dependency-tracking.
482- Fix build with most recent glibc headers.
483- libelf: More robust to bogus section headers.
484- libdw: Fix CFI decoding.
485- libdwfl: Fix address bias returned by CFI accessors. Fix core
486 file module layout identification.
487- readelf: Fix CFI decoding.
488
489* Thu Jan 14 2010 <drepper@redhat.com> 0.144-1
490- libelf: New function elf_getphdrnum. Now support using more than
491 65536 program headers in a file.
492- libdw: New function dwarf_aggregate_size for computing (constant)
493 type sizes, including array_type cases with nontrivial
494 calculation.
495- readelf: Don't give errors for missing info under -a.
496 Handle Linux "VMCOREINFO" notes under -n.
497
498* Mon Sep 21 2009 <drepper@redhat.com> 0.143-1
499- libdw: Various convenience functions for individual attributes now
500 use dwarf_attr_integrate to look up indirect inherited
501 attributes. Location expression handling now supports
502 DW_OP_implicit_value.
503- libdwfl: Support automatic decompression of files in XZ format,
504 and of Linux kernel images made with bzip2 or LZMA (as well
505 as gzip).
506
507* Mon Jun 29 2009 <drepper@redhat.com> 0.142-1
508- libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx alias
509 for elf_getshstrndx and deprecate original names. Sun screwed up
510 their implementation and asked for a solution.
511- libebl: Add support for STB_GNU_UNIQUE.
512- elflint: Add support for STB_GNU_UNIQUE.
513- readelf: Add -N option, speeds up DWARF printing without address->name lookups.
514- libdw: Add support for decoding DWARF CFI into location description form.
515 Handle some new DWARF 3 expression operations previously omitted.
516 Basic handling of some new encodings slated for DWARF
517
518* Thu Apr 23 2009 Ulrich Drepper <drepper@redhat.com> 0.141-1
519- libebl: sparc backend fixes; some more arm backend support
520- libdwfl: fix dwfl_module_build_id for prelinked DSO case;
521 fixes in core file support; dwfl_module_getsym interface
522 improved for non-address symbols
523- strip: fix infinite loop on strange inputs with -f
524- addr2line: take -j/--section=NAME option for binutils compatibility
525 (same effect as '(NAME)0x123' syntax already supported)
526
527* Mon Feb 16 2009 Ulrich Drepper <drepper@redhat.com> 0.140-1
528- libelf: Fix regression in creation of section header
529- libdwfl: Less strict behavior if DWARF reader ist just used to
530 display data
531
532* Thu Jan 22 2009 Ulrich Drepper <drepper@redhat.com> 0.139-1
533- libcpu: Add Intel SSE4 disassembler support
534- readelf: Implement call frame information and exception handling
535 dumping. Add -e option. Enable it implicitly for -a.
536- elflint: Check PT_GNU_EH_FRAME program header entry.
537- libdwfl: Support automatic gzip/bzip2 decompression of ELF files.
538
539* Wed Dec 31 2008 Roland McGrath <roland@redhat.com> 0.138-1
540- Install <elfutils/version.h> header file for applications to use in
541 source version compatibility checks.
542- libebl: backend fixes for i386 TLS relocs; backend support for
543 NT_386_IOPERM
544- libcpu: disassembler fixes
545- libdwfl: bug fixes
546- libelf: bug fixes
547- nm: bug fixes for handling corrupt input files
548
549* Tue Aug 26 2008 Ulrich Drepper <drepper@redhat.com> 0.137-1
550- Minor fixes for unreleased 0.136 release.
551
552* Mon Aug 25 2008 Ulrich Drepper <drepper@redhat.com> 0.136-1
553- libdwfl: bug fixes; new segment interfaces; all the libdwfl-based
554 tools now support --core=COREFILE option
555
556* Mon May 12 2008 Ulrich Drepper <drepper@redhat.com> 0.135-1
557- libdwfl: bug fixes
558- strip: changed handling of ET_REL files wrt symbol tables and relocs
559
560* Tue Apr 8 2008 Ulrich Drepper <drepper@redhat.com> 0.134-1
561- elflint: backend improvements for sparc, alpha
562- libdwfl, libelf: bug fixes
563
564* Sat Mar 1 2008 Ulrich Drepper <drepper@redhat.com> 0.133-1
565- readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A)
566- readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV
567- libdwfl: bug fixes and optimization in relocation handling
568- elfcmp: bug fix for non-allocated section handling
569- ld: implement newer features of binutils linker.
570
571* Mon Jan 21 2008 Ulrich Drepper <drepper@redhat.com> 0.132-1
572- libcpu: Implement x86 and x86-64 disassembler.
573- libasm: Add interface for disassembler.
574- all programs: add debugging of branch prediction.
575- libelf: new function elf_scnshndx.
576
577* Sun Nov 11 2007 Ulrich Drepper <drepper@redhat.com> 0.131-1
578- libdw: DW_FORM_ref_addr support; dwarf_formref entry point now depreca
579ted; bug fixes for oddly-formatted DWARF
580- libdwfl: bug fixes in offline archive support, symbol table handling;
581 apply partial relocations for dwfl_module_address_section on
582ET_REL
583- libebl: powerpc backend support for Altivec registers
584
585* Mon Oct 15 2007 Ulrich Drepper <drepper@redhat.com> 0.130-1
586- readelf: -p option can take an argument like -x for one section,
587 or no argument (as before) for all SHF_STRINGS sections;
588 new option --archive-index (or -c); improved -n output fo
589r core files, on many machines
590- libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk;
591 new functions gelf_getnote, gelf_getauxv, gelf_update_auxv
592- readelf, elflint: handle SHT_NOTE sections without requiring phdrs
593- elflint: stricter checks on debug sections
594- libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debu
595ginfo, dwfl_module_build_id, dwfl_module_report_build_id; suppo
596rt dynamic symbol tables found via phdrs; dwfl_standard_find_de
597buginfo now uses build IDs when available
598- unstrip: new option --list (or -n)
599- libebl: backend improvements for sparc, alpha, powerpc
600
601* Tue Aug 14 2007 Ulrich Drepper <drepper@redhat.com> 0.129-1
602- readelf: new options --hex-dump (or -x), --strings (or -p)
603- addr2line: new option --symbols (or -S)
604
605* Wed Apr 18 2007 Ulrich Drepper <drepper@redhat.com> 0.127-1
606- libdw: new function dwarf_getsrcdirs
607- libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add,
608 dwfl_module_address_section
609
610* Mon Feb 5 2007 Ulrich Drepper <drepper@redhat.com> 0.126-1
611- new program: ar
612
613* Mon Dec 18 2006 Ulrich Drepper <drepper@redhat.com> 0.125-1
614- elflint: Compare DT_GNU_HASH tests.
615- move archives into -static RPMs
616- libelf, elflint: better support for core file handling
617
618* Tue Oct 10 2006 Ulrich Drepper <drepper@redhat.com> 0.124-1
619- libebl: sparc backend support for return value location
620- libebl, libdwfl: backend register name support extended with more info
621- libelf, libdw: bug fixes for unaligned accesses on machines that care
622- readelf, elflint: trivial bugs fixed
623
624* Mon Aug 14 2006 Roland McGrath <roland@redhat.com> 0.123-1
625- libebl: Backend build fixes, thanks to Stepan Kasal.
626- libebl: ia64 backend support for register names, return value location
627- libdwfl: Handle truncated linux kernel module section names.
628- libdwfl: Look for linux kernel vmlinux files with .debug suffix.
629- elflint: Fix checks to permit --hash-style=gnu format.
630
631* Wed Jul 12 2006 Ulrich Drepper <drepper@redhat.com> 0.122-1
632- libebl: add function to test for relative relocation
633- elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks
634- elflint, readelf: add support for DT_GNU_HASHlibelf: add elf_gnu_hash
635- elflint, readelf: add support for 64-bit SysV-style hash tables
636- libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym.
637
638* Wed Jun 14 2006 <drepper@redhat.com> 0.121-1
639- libelf: bug fixes for rewriting existing files when using mmap.
640- make all installed headers usable in C++ code.
641- readelf: better output format.
642- elflint: fix tests of dynamic section content.
643- ld: Implement --as-needed, --execstack, PT_GNU_STACK. Many small patc
644hes.
645- libdw, libdwfl: handle files without aranges info.
646
647* Tue Apr 4 2006 Ulrich Drepper <drepper@redhat.com> 0.120-1
648- Bug fixes.
649- dwarf.h updated for DWARF 3.0 final specification.
650- libdwfl: New function dwfl_version.
651- The license is now GPL for most files. The libelf, libebl, libdw,and
652libdwfl libraries have additional exceptions. Add reference toOIN.
653
654* Thu Jan 12 2006 Roland McGrath <roland@redhat.com> 0.119-1
655- elflint: more tests.
656- libdwfl: New function dwfl_module_register_names.
657- libebl: New backend hook for register names.
658
659* Tue Dec 6 2005 Ulrich Drepper <drepper@redhat.com> 0.118-1
660- elflint: more tests.
661- libdwfl: New function dwfl_module_register_names.
662- libebl: New backend hook for register names.
663
664* Thu Nov 17 2005 Ulrich Drepper <drepper@redhat.com> 0.117-1
665- libdwfl: New function dwfl_module_return_value_location.
666- libebl: Backend improvements for several CPUs.
667
668* Mon Oct 31 2005 Ulrich Drepper <drepper@redhat.com> 0.116-1
669- libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu, d
670warf_entry_breakpoints. Removed Dwarf_Func type and functions d
671warf_func_name, dwarf_func_lowpc, dwarf_func_highpc, dwarf_func_
672entrypc, dwarf_func_die; dwarf_getfuncs callback now uses Dwarf_
673Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col replac
674ed by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column; dwarf
675_func_inline, dwarf_func_inline_instances now take Dwarf_Die. Ty
676pe Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist, dwarf_addrlo
677clists renamed dwarf_getlocation, dwarf_getlocation_addr.
678
679* Fri Sep 2 2005 Ulrich Drepper <drepper@redhat.com> 0.115-1
680- libelf: speed-ups of non-mmap reading.
681- strings: New program.
682- Implement --enable-gcov option for configure.
683- libdw: New function dwarf_getscopes_die.
684
685* Wed Aug 24 2005 Ulrich Drepper <drepper@redhat.com> 0.114-1
686- libelf: new function elf_getaroff
687- libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_inst
688ances.
689- libdwfl: New functions dwfl_report_offline, dwfl_offline_section_addre
690ss, dwfl_linux_kernel_report_offline.
691- ranlib: new program
692
693* Mon Aug 15 2005 Ulrich Drepper <drepper@redhat.com> 0.114-1
694- libelf: new function elf_getaroff
695- ranlib: new program
696
697* Wed Aug 10 2005 Ulrich Drepper <@redhat.com> 0.113-1
698- elflint: relax a bit. Allow version definitions for defined symbols ag
699ainstDSO versions also for symbols in nobits sections. Allow .rodata
700sectionto have STRINGS and MERGE flag set.
701- strip: add some more compatibility with binutils.
702
703* Sat Aug 6 2005 Ulrich Drepper <@redhat.com> 0.113-1
704- elflint: relax a bit. Allow version definitions for defined symbols ag
705ainstDSO versions also for symbols in nobits sections. Allow .rodata
706sectionto have STRINGS and MERGE flag set.
707
708* Sat Aug 6 2005 Ulrich Drepper <@redhat.com> 0.113-1
709- elflint: relax a bit. Allow version definitions for defined symbols ag
710ainstDSO versions also for symbols in nobits sections.
711
712* Fri Aug 5 2005 Ulrich Drepper <@redhat.com> 0.112-1
713- elfcmp: some more relaxation.
714- elflint: many more tests, especially regarding to symbol versioning.
715- libelf: Add elfXX_offscn and gelf_offscn.
716- libasm: asm_begin interface changes.
717- libebl: Add three new interfaces to directly access machine, class, an
718ddata encoding information.
719- objdump: New program. Just the beginning.
720
721* Thu Jul 28 2005 Ulrich Drepper <@redhat.com> 0.111-1
722- libdw: now contains all of libdwfl. The latter is not installed anymore.
723- elfcmp: little usability tweak, name and index of differing section is
724 printed.
725
726* Sun Jul 24 2005 Ulrich Drepper <@redhat.com> 0.110-1
727- libelf: fix a numbe rof problems with elf_update
728- elfcmp: fix a few bugs. Compare gaps.
729- Fix a few PLT problems and mudflap build issues.
730- libebl: Don't expose Ebl structure definition in libebl.h. It's now p
731rivate.
732
733* Thu Jul 21 2005 Ulrich Drepper <@redhat.com> 0.109-1
734- libebl: Check for matching modules.
735- elflint: Check that copy relocations only happen for OBJECT or NOTYPE
736symbols.
737- elfcmp: New program.
738- libdwfl: New library.
739
740* Mon May 9 2005 Ulrich Drepper <@redhat.com> 0.108-1
741- strip: fix bug introduced in last change
742- libdw: records returned by dwarf_getsrclines are now sorted by address
743
744* Sun May 8 2005 Ulrich Drepper <@redhat.com> 0.108-1
745- strip: fix bug introduced in last change
746
747* Sun May 8 2005 Ulrich Drepper <@redhat.com> 0.107-1
748- readelf: improve DWARF output format
749- strip: support Linux kernel modules
750
751* Fri Apr 29 2005 Ulrich Drepper <drepper@redhat.com> 0.107-1
752- readelf: improve DWARF output format
753
754* Mon Apr 4 2005 Ulrich Drepper <drepper@redhat.com> 0.106-1
755- libdw: Updated dwarf.h from DWARF3 speclibdw: add new funtions dwarf_f
756unc_entrypc, dwarf_func_file, dwarf_func_line,dwarf_func_col, dwarf_ge
757tsrc_file
758
759* Fri Apr 1 2005 Ulrich Drepper <drepper@redhat.com> 0.105-1
760- addr2line: New program
761- libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs
762,dwarf_func_*.
763- findtextrel: use dwarf_addrdie
764
765* Mon Mar 28 2005 Ulrich Drepper <drepper@redhat.com> 0.104-1
766- findtextrel: New program.
767
768* Mon Mar 21 2005 Ulrich Drepper <drepper@redhat.com> 0.103-1
769- libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug.
770
771* Tue Feb 22 2005 Ulrich Drepper <drepper@redhat.com> 0.102-1
772- More Makefile and spec file cleanups.
773
774* Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.94-1
775- upgrade to 0.94
776
777* Fri Jan 16 2004 Jakub Jelinek <jakub@redhat.com> 0.93-1
778- upgrade to 0.93
779
780* Thu Jan 8 2004 Jakub Jelinek <jakub@redhat.com> 0.92-1
781- full version
782- macroized spec file for GPL or OSL builds
783- include only libelf under GPL plus wrapper scripts
784
785* Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 0.91-2
786- macroized spec file for GPL or OSL builds
787
788* Wed Jan 7 2004 Ulrich Drepper <drepper@redhat.com>
789- split elfutils-devel into two packages.
790
791* Wed Jan 7 2004 Jakub Jelinek <jakub@redhat.com> 0.91-1
792- include only libelf under GPL plus wrapper scripts
793
794* Tue Dec 23 2003 Jeff Johnson <jbj@redhat.com> 0.89-3
795- readelf, not readline, in %%description (#111214).
796
797* Fri Sep 26 2003 Bill Nottingham <notting@redhat.com> 0.89-1
798- update to 0.89 (fix eu-strip)
799
800* Tue Sep 23 2003 Jakub Jelinek <jakub@redhat.com> 0.86-3
801- update to 0.86 (fix eu-strip on s390x/alpha)
802- libebl is an archive now; remove references to DSO
803
804* Mon Jul 14 2003 Jeff Johnson <jbj@redhat.com> 0.84-3
805- upgrade to 0.84 (readelf/elflint improvements, rawhide bugs fixed).
806
807* Fri Jul 11 2003 Jeff Johnson <jbj@redhat.com> 0.83-3
808- upgrade to 0.83 (fix invalid ELf handle on *.so strip, more).
809
810* Wed Jul 9 2003 Jeff Johnson <jbj@redhat.com> 0.82-3
811- upgrade to 0.82 (strip tests fixed on big-endian).
812
813* Tue Jul 8 2003 Jeff Johnson <jbj@redhat.com> 0.81-3
814- upgrade to 0.81 (strip excludes unused symtable entries, test borked).
815
816* Thu Jun 26 2003 Jeff Johnson <jbj@redhat.com> 0.80-3
817- upgrade to 0.80 (debugedit changes for kernel in progress).
818
819* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
820- rebuilt
821
822* Wed May 21 2003 Jeff Johnson <jbj@redhat.com> 0.79-2
823- upgrade to 0.79 (correct formats for size_t, more of libdw "works").
824
825* Mon May 19 2003 Jeff Johnson <jbj@redhat.com> 0.78-2
826- upgrade to 0.78 (libdwarf bugfix, libdw additions).
827
828* Mon Feb 24 2003 Elliot Lee <sopwith@redhat.com>
829- debuginfo rebuild
830
831* Thu Feb 20 2003 Jeff Johnson <jbj@redhat.com> 0.76-2
832- use the correct way of identifying the section via the sh_info link.
833
834* Sat Feb 15 2003 Jakub Jelinek <jakub@redhat.com> 0.75-2
835- update to 0.75 (eu-strip -g fix)
836
837* Tue Feb 11 2003 Jakub Jelinek <jakub@redhat.com> 0.74-2
838- update to 0.74 (fix for writing with some non-dirty sections)
839
840* Thu Feb 6 2003 Jeff Johnson <jbj@redhat.com> 0.73-3
841- another -0.73 update (with sparc fixes).
842- do "make check" in %%check, not %%install, section.
843
844* Mon Jan 27 2003 Jeff Johnson <jbj@redhat.com> 0.73-2
845- update to 0.73 (with s390 fixes).
846
847* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
848- rebuilt
849
850* Wed Jan 22 2003 Jakub Jelinek <jakub@redhat.com> 0.72-4
851- fix arguments to gelf_getsymshndx and elf_getshstrndx
852- fix other warnings
853- reenable checks on s390x
854
855* Sat Jan 11 2003 Karsten Hopp <karsten@redhat.de> 0.72-3
856- temporarily disable checks on s390x, until someone has
857 time to look at it
858
859* Thu Dec 12 2002 Jakub Jelinek <jakub@redhat.com> 0.72-2
860- update to 0.72
861
862* Wed Dec 11 2002 Jakub Jelinek <jakub@redhat.com> 0.71-2
863- update to 0.71
864
865* Wed Dec 11 2002 Jeff Johnson <jbj@redhat.com> 0.69-4
866- update to 0.69.
867- add "make check" and segfault avoidance patch.
868- elfutils-libelf needs to run ldconfig.
869
870* Tue Dec 10 2002 Jeff Johnson <jbj@redhat.com> 0.68-2
871- update to 0.68.
872
873* Fri Dec 6 2002 Jeff Johnson <jbj@redhat.com> 0.67-2
874- update to 0.67.
875
876* Tue Dec 3 2002 Jeff Johnson <jbj@redhat.com> 0.65-2
877- update to 0.65.
878
879* Mon Dec 2 2002 Jeff Johnson <jbj@redhat.com> 0.64-2
880- update to 0.64.
881
882* Sun Dec 1 2002 Ulrich Drepper <drepper@redhat.com> 0.64
883- split packages further into elfutils-libelf
884
885* Sat Nov 30 2002 Jeff Johnson <jbj@redhat.com> 0.63-2
886- update to 0.63.
887
888* Fri Nov 29 2002 Ulrich Drepper <drepper@redhat.com> 0.62
889- Adjust for dropping libtool
890
891* Sun Nov 24 2002 Jeff Johnson <jbj@redhat.com> 0.59-2
892- update to 0.59
893
894* Thu Nov 14 2002 Jeff Johnson <jbj@redhat.com> 0.56-2
895- update to 0.56
896
897* Thu Nov 7 2002 Jeff Johnson <jbj@redhat.com> 0.54-2
898- update to 0.54
899
900* Sun Oct 27 2002 Jeff Johnson <jbj@redhat.com> 0.53-2
901- update to 0.53
902- drop x86_64 hack, ICE fixed in gcc-3.2-11.
903
904* Sat Oct 26 2002 Jeff Johnson <jbj@redhat.com> 0.52-3
905- get beehive to punch a rhpkg generated package.
906
907* Wed Oct 23 2002 Jeff Johnson <jbj@redhat.com> 0.52-2
908- build in 8.0.1.
909- x86_64: avoid gcc-3.2 ICE on x86_64 for now.
910
911* Tue Oct 22 2002 Ulrich Drepper <drepper@redhat.com> 0.52
912- Add libelf-devel to conflicts for elfutils-devel
913
914* Mon Oct 21 2002 Ulrich Drepper <drepper@redhat.com> 0.50
915- Split into runtime and devel package
916
917* Fri Oct 18 2002 Ulrich Drepper <drepper@redhat.com> 0.49
918- integrate into official sources
919
920* Wed Oct 16 2002 Jeff Johnson <jbj@redhat.com> 0.46-1
921- Swaddle.