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