3 build: Add new --enable-install-elfh option.
4 Do NOT use this for system installs (it overrides glibc elf.h).
6 backends: riscv improved core file and return value location support.
8 Fixes CVE-2019-7146, CVE-2019-7148, CVE-2019-7149, CVE-2019-7150,
9 CVE-2019-7664, CVE-2019-7665
13 readelf: Handle mutliple .debug_macro sections.
14 Recognize and parse GNU Property notes, NT_VERSION notes
15 and GNU Build Attribute ELF Notes.
17 strip: Handle SHT_GROUP correctly.
18 Add strip --reloc-debug-sections-only option.
19 Handle relocations against GNU compressed sections.
21 libdwelf: New function dwelf_elf_begin.
23 libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE.
25 backends: RISCV handles ADD/SUB relocations. Handle SHT_X86_64_UNWIND.
27 Fixes CVE-2018-18310, CVE-2018-18520 and CVE-2018-18521.
31 libelf, libdw and all tools now handle extended shnum and shstrndx correctly.
33 elfcompress: Don't rewrite input file if no section data needs updating.
34 Try harder to keep same file mode bits (suid) on rewrite.
36 strip: Handle mixed (out of order) allocated/non-allocated sections.
38 unstrip: Handle SHT_GROUP sections.
40 backends: RISCV and M68K now have backend implementations to generate CFI based
43 Fixes CVE-2018-16062, CVE-2018-16402 and CVE-2018-16403.
47 More fixes for crashes and hangs found by afl-fuzz. In particular various
48 functions now detect and break infinite loops caused by bad DIE tree cycles.
50 readelf: Will now lookup the size and signedness of constant value types
51 to display them correctly (and not just how they were encoded).
53 libdw: New function dwarf_next_lines to read CU-less .debug_line data.
54 dwarf_begin_elf now accepts ELF files containing just .debug_line
55 or .debug_frame sections (which can be read without needing a DIE
56 tree from the .debug_info section).
57 Removed dwarf_getscn_info, which was never implemented.
59 backends: Handle BPF simple relocations.
60 The RISCV backends now handles ABI specific CFI and knows about
61 RISCV register types and names.
65 No functional changes compared to 0.171.
67 Various bug fixes in libdw and eu-readelf dealing with bad DWARF5 data.
68 Thanks to running the afl fuzzer on eu-readelf and various testcases.
70 eu-readelf -N is ~15% faster.
74 DWARF5 and split dwarf, including GNU DebugFission, are supported now.
75 Data can be read from the new DWARF sections .debug_addr, .debug_line_str,
76 .debug_loclists, .debug_str_offsets and .debug_rnglists. Plus the new
77 DWARF5 and GNU DebugFission encodings of the existing .debug sections.
78 Also in split DWARF .dwo (DWARF object) files. This support is mostly
79 handled by existing functions (dwarf_getlocation*, dwarf_getsrclines,
80 dwarf_ranges, dwarf_form*, etc.) now returning the data from the new
81 sections and data formats. But some new functions have been added
82 to more easily get information about skeleton and split compile units
83 (dwarf_get_units and dwarf_cu_info), handle new attribute data
84 (dwarf_getabbrevattr_data) and to keep references to Dwarf_Dies
85 that might come from different sections or files (dwarf_die_addr_die).
87 Not yet supported are .dwp (Dwarf Package) and .sup (Dwarf Supplementary)
88 files, the .debug_names index, the .debug_cu_index and .debug_tu_index
89 sections. Only a single .debug_info (and .debug_types) section are
92 readelf: Handle all new DWARF5 sections.
93 --debug-dump=info+ will show split unit DIEs when found.
94 --dwarf-skeleton can be used when inspecting a .dwo file.
95 Recognizes GNU locviews with --debug-dump=loc.
97 libdw: New functions dwarf_die_addr_die, dwarf_get_units,
98 dwarf_getabbrevattr_data and dwarf_cu_info.
99 libdw will now try to resolve the alt file on first use of
100 an alt attribute FORM when not set yet with dwarf_set_alt.
101 dwarf_aggregate_size() now works with multi-dimensional arrays.
103 libdwfl: Use process_vm_readv when available instead of ptrace.
105 backends: Add a RISC-V backend.
107 There were various improvements to build on Windows.
108 The sha1 and md5 implementations have been removed, they weren't used.
112 libdw: Added new DWARF5 attribute, tag, character encoding, language code,
113 calling convention, defaulted member function and macro constants
115 New functions dwarf_default_lower_bound and dwarf_line_file.
116 dwarf_peel_type now handles DWARF5 immutable, packed and shared tags.
117 dwarf_getmacros now handles DWARF5 .debug_macro sections.
119 strip: Add -R, --remove-section=SECTION and --keep-section=SECTION.
121 backends: The bpf disassembler is now always build on all platforms.
125 backends: Add support for EM_PPC64 GNU_ATTRIBUTES.
126 Frame pointer unwinding fallback support for i386, x86_64, aarch64.
128 translations: Update Polish translation.
132 http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/
134 libelf: gelf_newehdr and gelf_newehdr now return void *.
136 libdw: dwarf.h corrected the DW_LANG_PLI constant name (was DW_LANG_PL1).
138 readelf: Add optional --symbols[=SECTION] argument to select section name.
142 libasm: Add eBPF disassembler for EM_BPF files.
144 backends: Add m68k and BPF backends.
148 dwelf: Add ELF/DWARF string table creation functions. dwelf_strtab_init,
149 dwelf_strtab_add, dwelf_strtab_add_len, dwelf_strtab_finalize,
150 dwelf_strent_off, dwelf_strent_str and dwelf_strtab_free.
154 config: The default program prefix for the installed tools is now eu-.
155 Use configure --program-prefix="" to not use a program prefix.
159 elfcompress: New utility to compress or decompress ELF sections.
161 readelf: Add -z,--decompress option.
163 libelf: Add elf_compress, elf_compress_gnu, elf32_getchdr, elf64_getchdr
166 libdwelf: New function dwelf_scn_gnu_compressed_size.
168 config: Add libelf and libdw pkg-config files.
170 backends: sparc support for core and live backtraces.
172 translations: Updated Polish translation.
176 strip, unstrip: Handle ELF files with merged strtab/shstrtab tables.
177 Handle missing SHF_INFO_LINK section flags.
179 libelf: Use int64_t for offsets in libelf.h instead of loff_t.
181 libdw: dwarf.h Add preliminary DWARF5 DW_LANG_Haskell.
183 libdwfl: dwfl_standard_find_debuginfo now searches any subdir of the binary
184 path under the debuginfo root when the separate debug file couldn't
185 be found by build-id.
186 dwfl_linux_proc_attach can now be called before any Dwfl_Modules
189 backends: Better sparc and sparc64 support.
191 translations: Updated Ukrainian translation.
193 Provide default-yama-scope subpackage.
197 Bug fixes only, no new features.
201 libdw: Install new header elfutils/known-dwarf.h.
202 dwarf.h Add preliminary DWARF5 constants DW_TAG_atomic_type,
203 DW_LANG_Fortran03, DW_LANG_Fortran08. dwarf_peel_type now also
204 handles DW_TAG_atomic_type.
206 addr2line: Input addresses are now always interpreted as hexadecimal
207 numbers, never as octal or decimal numbers.
208 New option -a, --addresses to print address before each entry.
209 New option -C, --demangle to show demangled symbols.
210 New option --pretty-print to print all information on one line.
212 ar: CVE-2014-9447 Directory traversal vulnerability in ar extraction.
214 backends: x32 support.
218 libdw: New function dwarf_peel_type. dwarf_aggregate_size now uses
219 dwarf_peel_type to also provide the sizes of qualified types.
220 dwarf_getmacros will now serve either of .debug_macro and
221 .debug_macinfo transparently. New interfaces
222 dwarf_getmacros_off, dwarf_macro_getsrcfiles,
223 dwarf_macro_getparamcnt, and dwarf_macro_param are available
224 for more generalized inspection of macros and their parameters.
225 dwarf.h: Add DW_AT_GNU_deleted, DW_AT_noreturn, DW_LANG_C11,
226 DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
230 libdw: New functions dwarf_cu_getdwarf, dwarf_cu_die.
231 dwarf.h remove non-existing DW_TAG_mutable_type.
233 libdwfl: Handle LZMA .ko.xz compressed kernel modules.
235 unstrip: New option -F, --force to combining files even if some ELF headers
238 backends: Handle ARM THUMB functions. Add support for ppc64le ELFv2 abi.
242 stack: New option -d, --debugname to lookup DWARF debuginfo name for frame.
243 New option -i, --inlines to show inlined frames using DWARF debuginfo.
245 libdwelf: New libdwelf.h header for libdw.so DWARF ELF Low-level Functions.
246 New function dwelf_elf_gnu_debuglink, dwelf_dwarf_gnu_debugaltlink,
247 and dwelf_elf_gnu_build_id.
249 libdw: Support for DWZ multifile forms DW_FORM_GNU_ref_alt and
250 DW_FORM_GNU_strp_alt is now enabled by default and no longer
251 experimental. Added new functions dwarf_getalt and dwarf_setalt
252 to get or set the alternative debug file used for the alt FORMs.
253 The dwfl_linux_proc_find_elf callback will now find ELF from
254 process memory for (deleted) files if the Dwfl has process state
257 libdwfl: The dwfl_build_id_find_debuginfo and dwfl_standard_find_debuginfo
258 functions will now try to resolve and set the alternative debug file.
260 backends: Add CFI unwinding for arm. Relies on .debug_frame.
261 Add arm process initial register state compatible mode to AARCH64.
262 Add aarch64 native and core unwind support.
264 other: All separate elfutils-robustify patches have been merged.
265 CVE-2014-0172 Check overflow before calling malloc to uncompress data.
269 libdwfl: dwfl_core_file_report has new parameter executable.
270 New functions dwfl_module_getsymtab_first_global,
271 dwfl_module_getsym_info and dwfl_module_addrinfo.
272 Added unwinder with type Dwfl_Thread_Callbacks, opaque types
273 Dwfl_Thread and Dwfl_Frame and functions dwfl_attach_state,
274 dwfl_pid, dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread,
275 dwfl_thread_state_registers, dwfl_thread_state_register_pc,
276 dwfl_getthread_frames, dwfl_getthreads, dwfl_thread_getframes
279 addr2line: New option -x to show the section an address was found in.
281 stack: New utility that uses the new unwinder for processes and cores.
283 backends: Unwinder support for i386, x86_64, s390, s390x, ppc and ppc64.
288 libdw: Add new functions dwarf_getlocations, dwarf_getlocation_attr
289 and dwarf_getlocation_die.
291 readelf: Show contents of NT_SIGINFO and NT_FILE core notes.
293 addr2line: Support -i, --inlines output option.
295 backends: abi_cfi hook for arm, ppc and s390.
299 lib: New macro COMPAT_VERSION_NEWPROTO.
301 libdw: Handle GNU extension opcodes in dwarf_getlocation.
303 libdwfl: Fix STB_GLOBAL over STB_WEAK preference in dwfl_module_addrsym.
304 Add minisymtab support.
305 Add parameter add_p_vaddr to dwfl_report_elf.
306 Use DT_DEBUG library search first.
308 libebl: Handle new core note types in EBL.
310 backends: Interpret NT_ARM_VFP.
311 Implement core file registers parsing for s390/s390x.
313 readelf: Add --elf-section input option to inspect an embedded ELF file.
314 Add -U, --unresolved-address-offsets output control.
315 Add --debug-dump=decodedline support.
316 Accept version 8 .gdb_index section format.
317 Adjust output formatting width.
318 When highpc is in constant form print it also as address.
319 Display raw .debug_aranges. Use libdw only for decodedaranges.
321 elflint: Add __bss_start__ to the list of allowed symbols.
323 tests: Add configure --enable-valgrind option to run all tests under valgrind.
324 Enable automake parallel-tests for make check.
326 translations: Updated Polish translation.
328 Updates for Automake 1.13.
332 libelf: elf*_xlatetomd now works for cross-endian ELF note data.
333 elf_getshdr now works consistently on non-mmaped ELF files after
334 calling elf_cntl(ELF_C_FDREAD).
335 Implement support for ar archives with 64-bit symbol table.
337 libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc).
338 Any existing sources using the old name will have to be updated.
339 Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF
340 and DW_OP_GNU_parameter_ref to dwarf.h.
341 Experimental support for DWZ multifile forms DW_FORM_GNU_ref_alt
342 and DW_FORM_GNU_strp_alt. Disabled by default. Use configure
343 --enable-dwz to test it.
345 readelf: Add .debug_macro parsing support.
346 Add .gdb_index version 7 parsing support.
347 Recognize DW_OP_GNU_parameter_ref.
349 backends: Add support for Tilera TILE-Gx processor.
351 translations: Updated Ukrainian translation.
355 libelf: [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET.
357 libdw: dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form.
358 Fix bug using dwarf_next_unit to iterate over .debug_types.
360 elflint: Now accepts gold linker produced executables.
362 The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
363 programs. There is now also a formal CONTRIBUTING document describing how to
368 libdw: Support reading .zdebug_* DWARF sections compressed via zlib.
370 libdwfl: Speed up dwfl_module_addrsym.
372 nm: Support C++ demangling.
374 ar: Support D modifier for "deterministic output" with no uid/gid/mtime info.
375 The U modifier is the inverse.
376 elfutils can be configured with the --enable-deterministic-archives
377 option to make the D behavior the default when U is not specified.
379 ranlib: Support -D and -U flags with same meaning.
381 readelf: Improve output of -wline. Add support for printing SDT elf notes.
382 Add printing of .gdb_index section.
383 Support for typed DWARF stack, call_site and entry_value.
385 strip: Add --reloc-debug-sections option.
386 Improved SHT_GROUP sections handling.
390 Various build and warning nits fixed for newest GCC and Autoconf.
392 libdwfl: Yet another prelink-related fix for another regression.
393 Look for Linux kernel images in files named with compression suffixes.
395 elfcmp: New flag --ignore-build-id to ignore differing build ID bits.
396 New flag -l/--verbose to print all differences.
400 libdwfl: Fix for more prelink cases with separate debug file.
402 strip: New flag --strip-sections to remove section headers entirely.
406 libdw: Fix for handling huge .debug_aranges section.
408 libdwfl: Fix for handling prelinked DSO with separate debug file.
410 findtextrel: Fix diagnostics to work with usual section ordering.
412 libebl: i386 backend fix for multi-register integer return value location.
416 libdw: Decode new DW_OP_GNU_implicit_pointer operation;
417 new function dwarf_getlocation_implicit_pointer.
419 libdwfl: New function dwfl_dwarf_line.
421 addr2line: New flag -F/--flags to print more DWARF line information details.
423 strip: -g recognizes .gdb_index as a debugging section.
427 libdw: Accept DWARF 4 format: new functions dwarf_next_unit, dwarf_offdie_types.
428 New functions dwarf_lineisa, dwarf_linediscriminator, dwarf_lineop_index.
430 libdwfl: Fixes in core-file handling, support cores from PIEs.
431 When working from build IDs, don't open a named file that mismatches.
433 readelf: Handle DWARF 4 formats.
437 libdw: Fixes in CFI handling, best possible handling of bogus CFA ops.
439 libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r bugs.
443 libdwfl: New function dwfl_core_file_report.
447 Fix build with --disable-dependency-tracking.
449 Fix build with most recent glibc headers.
451 libelf: More robust to bogus section headers.
453 libdw: Fix CFI decoding.
455 libdwfl: Fix address bias returned by CFI accessors.
456 Fix core file module layout identification.
458 readelf: Fix CFI decoding.
462 libelf: New function elf_getphdrnum.
463 Now support using more than 65536 program headers in a file.
465 libdw: New function dwarf_aggregate_size for computing (constant) type
466 sizes, including array_type cases with nontrivial calculation.
468 readelf: Don't give errors for missing info under -a.
469 Handle Linux "VMCOREINFO" notes under -n.
473 libdw: Various convenience functions for individual attributes now use
474 dwarf_attr_integrate to look up indirect inherited attributes.
475 Location expression handling now supports DW_OP_implicit_value.
477 libdwfl: Support automatic decompression of files in XZ format,
478 and of Linux kernel images made with bzip2 or LZMA (as well as gzip).
482 libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx alias
483 for elf_getshstrndx and deprecate original names. Sun screwed up
484 their implementation and asked for a solution.
486 libebl: Add support for STB_GNU_UNIQUE.
488 elflint: Add support for STB_GNU_UNIQUE.
490 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 4.
498 libebl: sparc backend fixes;
499 some more arm backend support
501 libdwfl: fix dwfl_module_build_id for prelinked DSO case;
502 fixes in core file support;
503 dwfl_module_getsym interface improved for non-address symbols
505 strip: fix infinite loop on strange inputs with -f
507 addr2line: take -j/--section=NAME option for binutils compatibility
508 (same effect as '(NAME)0x123' syntax already supported)
512 libelf: Fix regression in creation of section header
514 libdwfl: Less strict behavior if DWARF reader ist just used to display data
518 libcpu: Add Intel SSE4 disassembler support
520 readelf: Implement call frame information and exception handling dumping.
521 Add -e option. Enable it implicitly for -a.
523 elflint: Check PT_GNU_EH_FRAME program header entry.
525 libdwfl: Support automatic gzip/bzip2 decompression of ELF files.
529 Install <elfutils/version.h> header file for applications to use in source
530 version compatibility checks.
532 libebl: backend fixes for i386 TLS relocs; backend support for NT_386_IOPERM
534 libcpu: disassembler fixes
540 nm: bug fixes for handling corrupt input files
544 Minor fixes for unreleased 0.136 release.
548 libdwfl: bug fixes; new "segment" interfaces;
549 all the libdwfl-based tools now support --core=COREFILE option
555 strip: changed handling of ET_REL files wrt symbol tables and relocs
559 elflint: backend improvements for sparc, alpha
561 libdwfl, libelf: bug fixes
565 readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A)
567 readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV
569 libdwfl: bug fixes and optimization in relocation handling
571 elfcmp: bug fix for non-allocated section handling
573 ld: implement newer features of binutils linker.
577 libcpu: Implement x86 and x86-64 disassembler.
578 libasm: Add interface for disassembler.
580 all programs: add debugging of branch prediction.
582 libelf: new function elf_scnshndx.
586 libdw: DW_FORM_ref_addr support; dwarf_formref entry point now deprecated;
587 bug fixes for oddly-formatted DWARF
589 libdwfl: bug fixes in offline archive support, symbol table handling;
590 apply partial relocations for dwfl_module_address_section on ET_REL
592 libebl: powerpc backend support for Altivec registers
596 readelf: -p option can take an argument like -x for one section,
597 or no argument (as before) for all SHF_STRINGS sections;
598 new option --archive-index (or -c);
599 improved -n output for core files, on many machines
601 libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk;
602 new functions gelf_getnote, gelf_getauxv, gelf_update_auxv
604 readelf, elflint: handle SHT_NOTE sections without requiring phdrs
606 elflint: stricter checks on debug sections
608 libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debuginfo,
609 dwfl_module_build_id, dwfl_module_report_build_id;
610 support dynamic symbol tables found via phdrs;
611 dwfl_standard_find_debuginfo now uses build IDs when available
613 unstrip: new option --list (or -n)
615 libebl: backend improvements for sparc, alpha, powerpc
619 readelf: new options --hex-dump (or -x), --strings (or -p)
621 addr2line: new option --symbols (or -S)
627 elfcmp: new option --hash-inexact
631 libdw: new function dwarf_getsrcdirs
633 libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add,
634 dwfl_module_address_section
642 elflint: Compare DT_GNU_HASH tests.
644 move archives into -static RPMs
646 libelf, elflint: better support for core file handling
650 libebl: sparc backend support for return value location
652 libebl, libdwfl: backend register name support extended with more info
654 libelf, libdw: bug fixes for unaligned accesses on machines that care
656 readelf, elflint: trivial bugs fixed
660 libebl: Backend build fixes, thanks to Stepan Kasal.
662 libebl: ia64 backend support for register names, return value location
664 libdwfl: Handle truncated linux kernel module section names.
666 libdwfl: Look for linux kernel "vmlinux" files with ".debug" suffix.
668 elflint: Fix checks to permit --hash-style=gnu format.
672 libebl: add function to test for relative relocation
674 elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks
676 elflint, readelf: add support for DT_GNU_HASH
677 libelf: add elf_gnu_hash
679 elflint, readelf: add support for 64-bit SysV-style hash tables
681 libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym.
685 libelf: bug fixes for rewriting existing files when using mmap.
687 make all installed headers usable in C++ code.
689 readelf: better output format.
691 elflint: fix tests of dynamic section content.
693 ld: Implement --as-needed, --execstack, PT_GNU_STACK. Many small patches.
695 libdw, libdwfl: handle files without aranges info.
701 dwarf.h updated for DWARF 3.0 final specification.
703 libdwfl: New function dwfl_version.
705 The license is now GPL for most files. The libelf, libebl, libdw,
706 and libdwfl libraries have additional exceptions. Add reference to
717 libdwfl: New function dwfl_module_register_names.
719 libebl: New backend hook for register names.
723 libdwfl: New function dwfl_module_return_value_location.
725 libebl: Backend improvements for several CPUs.
729 libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu,
730 dwarf_entry_breakpoints. Removed Dwarf_Func type and functions
731 dwarf_func_name, dwarf_func_lowpc, dwarf_func_highpc,
732 dwarf_func_entrypc, dwarf_func_die; dwarf_getfuncs callback now uses
733 Dwarf_Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col
734 replaced by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column;
735 dwarf_func_inline, dwarf_func_inline_instances now take Dwarf_Die.
736 Type Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist,
737 dwarf_addrloclists renamed dwarf_getlocation, dwarf_getlocation_addr.
741 libelf: speed-ups of non-mmap reading.
743 strings: New program.
745 Implement --enable-gcov option for configure.
747 libdw: New function dwarf_getscopes_die.
751 libelf: new function elf_getaroff
753 libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_instances.
755 libdwfl: New functions dwfl_report_offline, dwfl_offline_section_address,
756 dwfl_linux_kernel_report_offline.
762 elflint: relax a bit. Allow version definitions for defined symbols against
763 DSO versions also for symbols in nobits sections. Allow .rodata section
764 to have STRINGS and MERGE flag set.
766 strip: add some more compatibility with binutils.
770 elfcmp: some more relaxation.
772 elflint: many more tests, especially regarding to symbol versioning.
774 libelf: Add elfXX_offscn and gelf_offscn.
776 libasm: asm_begin interface changes.
778 libebl: Add three new interfaces to directly access machine, class, and
779 data encoding information.
781 objdump: New program. Just the beginning.
785 libdw: now contains all of libdwfl. The latter is not installed anymore.
787 elfcmp: little usability tweak, name and index of differing section is printed.
791 libelf: fix a number of problems with elf_update
793 elfcmp: fix a few bugs. Compare gaps.
795 Fix a few PLT problems and mudflap build issues.
797 libebl: Don't expose Ebl structure definition in libebl.h. It's now private.
801 libebl: Check for matching modules.
803 elflint: Check that copy relocations only happen for OBJECT or NOTYPE symbols.
807 libdwfl: New library.
811 strip: fix bug introduced in last change
813 libdw: records returned by dwarf_getsrclines are now sorted by address
817 readelf: improve DWARF output format
819 strip: support Linux kernel modules
823 libdw: Updated dwarf.h from DWARF3 spec
824 libdw: add new funtions dwarf_func_entrypc, dwarf_func_file, dwarf_func_line,
825 dwarf_func_col, dwarf_getsrc_file
829 addr2line: New program
831 libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs,
834 findtextrel: use dwarf_addrdie
838 findtextrel: New program.
842 libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug.
846 More Makefile and spec file cleanups.
850 Remove most gettext autoconf handling.
854 Fix resulting problems. One actual bug found and fixed this way
858 libebl: Fix x86-64 relocations.
860 Add -Wunused -Wextra warnings.
862 Some cleanups resulting from those additional warnings.
864 Lots of Makefile cleanup.
868 libelf: add gelf_checksum prototype to <libelf.h>
870 libelf: fix elf*_checksum handling of NOBITS sections
872 Finish mudflap support.
874 Fix three bugs found by mudflap.
876 ld: add as_needed support
880 readelf: in section to segment mapping, indicate read-only sections.
882 elflint: more relaxation for GNU ld
886 Fix compiling with gcc 4.0.
887 Some tests called elflint without appropriate LD_LIBRARY_PATH.
891 Fix support for platforms with lib64.
895 libebl: add ppc and ppc64 support
897 readelf: fix minimal memory leak.
899 Add support to compile with mudflap.
901 Modernize configure.ac. Move scripts in config subdir.
903 Modernize *-po directory infrastructure.
905 libelf: Add gelf_getlib and gelf_update_lib
907 readelf: print liblist sections
911 Fix some minimal build problems.
915 ibdw: tons of new functionality and bug fixes. Several interface changes.
917 readelf: use libdw now.
919 libdwarf: removed completely.
923 configuration changes.
927 libdw: fix memory handling. Implement source line handling.
928 nm: use libdw instead of libdwarf.
929 libelf: change to GPL from OSL1 for now.
933 libebl: Recognize a few more section types and dynamic tags and return
938 strip: fix overwriting of symbol table in input file.
942 libebl: Add some ia64 bits.
946 Bug fixes for big endian and some 64-bit machines.
950 strip: fix handling of Alpha and s390x which use incorrect hash bucket sizes.
952 ld: tons of changes, moving towards usability.
956 strip: update section group symbol index if the associated symbol table changed
958 libelf: fix two problems with generating output not via mmap
960 elflint: add probably 10-15 more tests
961 libebl: add support for some of the new tests
963 ld: gazillion changes
967 elflint: deal with .rel.dyn section. Fix a problem with rela platforms.
968 Handle PT_GNU_STACK. Change to write messages to stdout.
970 readelf: fix a problem with version information in the symbol table output.
972 strip: update all version symbol table entries
978 strip: last changed caused problems when the symbol table is before the
979 relocation section. Fixed. This fix also improved the asymptotic
980 behavior if many symbol table sections are present.
984 Run strip tests with the correct libelf and libebl.
986 libelf: fix bug in verneed byte order changing code.
990 strip: Remove unused symbol table entries. This might require updating
991 various other sections.
995 Fix some libelf problems with ET_REL files.
999 More warning changes, mainly by jbj.
1001 libdw: yet more new code. dwarf_child and dwarf_sibling should now actually
1006 libdw: 10+ new functions. get-pubnames2 works now fully. Almost all the
1007 code needed for nm is in place.
1011 cleanups to compile cleanly with gcc 3.3 and -Werror.
1013 libdw: some new code.
1017 libebl: Fix last patch to recognize relocation sections. We must not
1022 libebl: .debug_ranges is a DWARF 3 debug section
1023 libebl: recognize relocation sections for debug section
1024 Patches by Jakub Jelinek.
1028 Cleanups and more SPARC support by Tom Callaway <tcallaway@redhat.com>.
1032 64-bit cleanups for the programs.
1036 libelf: and yet more fun with endian tranformation at output time.
1040 libelf: more fun with endian tranformation at output time. Add test for it.
1044 libelf: Two little bugs left from previous patch to handle section output
1047 libelf: add unlikely in some more places.
1051 libelf: fix output routines to handle case where section indeces and
1052 ordre in the output file don't match correctly. Patch by Jakub.
1054 elflint: fix test of note section content for 64-bit platforms and files
1055 with different byte order.
1059 libebl: Fix SH_ENTSIZE_HASH definition (patch by Jakub)
1063 libelf: correct mistake in error string handling.
1065 libelf: Implement ELF_F_PERMISSIVE.
1066 strip: Implement --permissive option.
1070 strip: Implement -g option.
1072 libelf: Handle broken hash table entry sizes.
1074 libebl: New function ebl_debugscn_p. Use it where appropriate.
1078 libelf: Use correct file size for NOBITS section with ELF_F_LAYOUT set
1082 libelf: Make error handling more robust.
1083 libelf: Use TLS in error handler if configured with --enable-tls
1085 tests: input files are now distributed, not uuencoded in the shell scripts
1087 libdw: implement error handling, dwarf_get_pubnames
1091 Build (incomplete) libdw.
1103 libebl: Handle .gnu.warning.* sections correctly.
1105 size: Implement -t option.
1107 libebl: Add IA-64 support.
1108 libebl: Update SH relocations.
1109 libebl: Add Alpha support.
1110 libebl: Add Arm support.
1111 libebl: Add support for all currently known architecture to the loader.
1115 nm: Implement -S option. Correct portable output format. Implement -s option.
1117 libelf: Take offset of archive into account in elf_rand.
1121 strip: fix handling of ET_REL files.
1122 Add tests for strip.
1126 strip: respect layout of input file
1130 strip: handle files with large number of sections.
1134 libelf: quite a few bug fixes by Alex Larsson.
1136 strip: implement -f option to place stripped sections into a separate
1137 file. By Alex Larsson.
1141 strip: don't let STT_SECTION symbols keeps sections from being removed
1143 elflint: local symbols are allowed in .dynsym
1144 elflint: special case .rel.dyn a bit
1148 elflint: check types and flags of special sections defined in gABI
1150 libebl: add x86-64 support
1154 Start improvement of debug info handling in nm.
1156 libasm: implement asm_adduleb128 and asm_addsleb128 and a test for them
1160 Fix build on 64-bit platforms.
1164 nm: print file/line number also for local symbols
1166 use versions scripts not libtool's useless -export-symbols option
1170 Update to autoconf 2.54 and automake 1.7.
1172 elflint: check note sections
1174 libdwarf: a number of bug fixes
1176 readelf: print .debug_info section content
1178 dwarf.h: Update from draft 7
1184 libelf: new function to read parts of the ELF file
1186 libebl: support for note section handling
1188 readelf: dump note sections
1192 libelf: fix little new section-handling related bugs in elf_getshstrndx
1195 elflint: tests for mandatory content of dynamic section
1197 libasm: better handling of absolute symbols
1201 libasm: rewrite to store Elf_Scn* instead of indices
1203 nm: finish many-section support
1205 nm: use debug in to print file/line info in sysv format
1207 libdwarf: fix a few bugs in DIE handling
1211 libelf: major rewrite to keep Elf_Scn references valid until elf_end
1215 libasm: Add support for bss, ABS, and COM sections.
1217 libebl: ebl_section_name takes now two index arguments to distinguish
1218 between special sections and extended sections
1222 General: fix a few problem gcc 3.1 had with the code.
1224 libelf: implement {gelf,elf32,elf64}_checksum
1226 libelf: optimze DSO: fewer relocations, fewer PLTs
1230 ld: use correct section header string table index; write correct index
1232 add dependencies for *.sym files
1236 libelf: add elf_getshnum and elf_getshstrndx
1238 libebl: update section type name function
1240 elflint: tons of fixes wrt large number of sections. New tests in this area.
1241 Same amount of other bug fixes.
1243 size, strip, nm: better support for large number of sections. Including
1244 using correct section header string table
1246 libasm: correctly create data structures for large number of sections
1248 new tests asm-tst4 and asm-tst5 to check large number of sections
1250 libasm: implement section group generation
1252 elflint: more tests on section groups. Improve performance on existing
1257 ld: add undefined symbols to dynamic symbol table if --export-dynamic is
1260 ld: fix value of e_entry
1264 elflint: print section names in error messages
1266 elflint: mustn't warn about multiple DT_NULL
1268 ld: don't emit all symbols if --export-dynamic is not given
1270 ld: correct compute symbol address in output file (section index was off by 1)
1272 ld: generate correct version info in dynsym without --export-dynamic and
1277 Fix check of various e_*size entries in elflint.
1279 Handle text output in asm_newsym.
1281 Finish checks in asm-tst3.
1285 Update to autoconf 2.53, automake 1.6, gettext 0.11+.
1287 Introduce *.sym files to restrict export from DSOs.
1289 Use attribute_hidden and internal_function to optimize DSO code.
1291 Add TLS definitions in elf.h and handle them in readelf.
1293 Fix bug in verdef section generation in ld.
1295 Add initial libasm code.
1299 Implement better hash size optimization heuristic in ld. It uses a formula
1300 taking number of tests into account.
1302 Lots of small bug fixes.
1304 Improve readelf output format. Respect various sh_link/sh_info values.
1305 Correctly print versioning information for symbol tables.
1309 Implement preprocessing of linker script. Recognize -z combreloc.
1313 Implement -z ignore|record for ld.
1315 Implement creating of .gnu.version_r and .gnu.version sections. The
1316 .gnu.version does not yet contain correct info for defined and versioned
1317 symbols (means .gnu.version_d is not yet implemented).
1319 Implement gelf_update_* functions to create versioning data.
1323 Add DT_RUNPATH/DT_RPATH entries to dynamic section. Create .plt and
1324 .rel.plt sections (completely). Add support for all four PLT related
1325 dynamic section entries. Add callback function for PLT creation.
1327 More tests in elflint. Add support for very strict checking which for
1328 now flags level 2 (deprecated features) usage.
1332 Create dynamic symbol table, dynamic string table, and hash table to ld.
1334 Add hash table histogram support to readelf.
1338 more work on elflint
1340 ld now creates the dynamic section and references it. Start adding entries
1345 Start implementing elflint.
1349 Fix handling of NOBITS sections in elf_getdata.
1351 Start implementing generation of executables and DSOs in ld.
1352 Generation of program header mostly done. Address computation done.
1353 Extension of linker script syntax.
1357 Implement section group handling in readelf.
1361 Implement section groups. This involved a lot of code moving. The
1362 new code is entirely untested since gas/gcc are currently not able to
1363 create section groups. ld works fine on files without section groups.
1367 Fix problem with adding more section in elf_newscn. The section pointers
1368 for the data buffers wasn't adjusted.
1370 Fix elf_getdata with nonzero second parameter. Correctly handle creation
1371 of internal data buffer for machines without unaligned access.
1375 Start adding support to selectively add sections. Includes support for
1377 Add --gc-sections/--no-gc-sections options.
1378 Add general section merging support.
1380 Fix a bug in section group support in strip.
1382 Fix some potential problems with hash value in dynamic hash implementation.
1386 section merging works in ld.
1390 Actually create data structures from version map file and use it to hide
1393 Implement -s -s for ld.
1397 Improve relocation table output in readelf. Avoid some crashes.
1398 Finish many section handling in readelf.
1400 Finish: finish implementation of ld -r. At least some simple tests pass.
1404 Fix a number of errors in ELF_C_WRITE handling.
1406 Almost finished implementation of ld -r. The data sections are all copied.
1407 Handling of symbol tables is missing.
1411 Handle DSO and archive input files correctly if -r option is given.
1413 Gracefully deal with no phdr in new file in libelf.
1414 Fix various small error handling problems.
1415 Don't mmap file for output unless the command says so.
1417 Add code to create ELF section header table to ld finalize routines.
1421 Fix some problems with recursive handling of archives in libelf.
1423 Improve messages printed by nm.
1425 Add symbol binding name handling to libebl. Fix section name handling in
1428 readelf and nm use more libebl functions.
1430 Handle XINDEX correctly in nm and string.
1432 Add first machine ld backend library (i386).
1433 Use it. Recognize -r and --shared. Avoid using -lxxx parameters for -r.
1434 Create ELF header in output file. Change mode of output file according to
1435 output file type. Reorganize callback initialization in ld.
1439 Fix some memory leaks in libelf.
1443 Implement reading version script. Both inside linker scripts and via the
1444 --version-script command line parameter. Uses the same code.
1445 What remains to be done is to implement a data structure which allows
1446 efficient matching against the version names to decide which pattern
1449 Beginning of output generation and output writing functions.
1453 Finish implementation for DSO input file handling. Implement rpath, runpath,
1454 and LD_LIBRARY_PATH handling.
1458 make handling of e_shnum overflow in libelf standard conforming
1460 ld now actually can handle DSOs in linker scripts. Handling of DT_RUNPATH,
1461 DT_RPATH, -rpath, -rpath-link still remains to be implemented.
1463 fix handling of -L parameters. Make actual use of the default_paths element.
1465 make re-definition of symbols in and from DSO compatible with existing linker
1469 more work on assigning input sections to output sections.
1471 Add gelf_xlatetof and gelf_xlatetom which were accidently left out.
1473 Fix memory handling of section headers.
1477 Add many-section support to ld. Add various new command line parameters.
1478 Allow pagesize to be specified in linker script or on the command line.
1479 Collect input sections in list for the output section according to the rules
1480 specified in the linker script.
1484 Fix some problems in the internal list handling which had the result
1485 that we didn't look for some of the unresolved symbols.
1487 Free some memory if we know we don't need it anymore.
1489 Optimize the list of unresolved symbols. Throw out symbols which are
1494 Got file reading correct now. The files are all read while parsing
1495 the parameters. No creating of data structures to describe the linker
1496 command line. The symbol table is built up while reading the files.
1497 DSOs are handled now. -( -) handling is optimized.
1501 Linker read linker scripts everywhere. Handles --whole-archive. Recognizes
1502 --dynamic and --static. Collects defined and undefined symbols. Recognizes
1505 libebl now defines functions to call the callbacks. Add generic name handling
1506 in these new functions. Remove the code from readelf and call the new
1511 Start of linker. Basic argument parsing, finding of input files,
1512 linker script reading.
1516 Implement dwarf_get_fde_n(), dwarf_get_abbrev(), dwarf_get_abbrev_tag(),
1517 dwarf_get_abbrev_code(), dwarf_get_abbrev_children_flag(),
1518 dwarf_get_abbrev_entry(), dwarf_get_fde_at_pc(), and tests for it.
1522 Implement dwarf_get_fde_list_eh(), dwarf_get_cie_of_fde(),
1523 dwarf_get_fde_range(), dwarf_get_cie_info(), dwarf_get_fde_instr_bytes(),
1528 Make handling of binaries in other byte order work and add tests for it.
1532 Implement dwarf_get_aranges(), dwarf_get_arange(), dwarf_get_cu_die_offset(),
1533 dwarf_get_arange_info(), and tests for them.
1537 Implement dwarf_get_global(), dwarf_globname(), dwarf_global_die_offset(),
1538 dwarf_global_cu_offset(), dwarf_global_name_offsets(), and tests for them
1542 Implemented dwarf_srclines(), dwarf_srcfiles(), dwarf_linebeginstatement(),
1543 dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineaddr(), dwarf_lineoff(),
1544 dwarf_linesrc(), dwarf_lineblock(), dwarf_lineprologueend(),
1545 dwarf_lineepiloguebegin(), and tests for them.
1549 Implemented dwarf_loclist().
1553 Implemented dwarf_dieoffset(), dwarf_die_CU_offset(), dwarf_diename() and
1556 Implemented dwarf_attrlist(), dwarf_hasattr(), dwarf_attr(), dwarf_lowpc(),
1557 dwarf_highpc(), dwarf_bytesize(), dwarf_bitsize(), dwarf_bitoffset(),
1558 dwarf_srclang(), dwarf_arrayorder(), dwarf_hasform(), dwarf_whatform(),
1559 dwarf_whatattr(), dwarf_formref(), dwarf_global_formref(), dwarf_formaddr(),
1560 dwarf_formflag(), dwarf_formudata(), dwarf_formsdata(), dwarf_formblock,
1561 dwarf_formstring() and tests for them.
1565 Implemented dwarf_offdie()), dwarf_tag(), dwarf_dieoffset(),
1566 dwarf_die_CU_offset(), dwarf_diename() and tests for them.
1570 First libdwarf functions work.
1574 libelf and parts of libebl are done.