3 elfcompress: New utility to compress or decompress ELF sections.
5 readelf: Add -z,--decompress option.
7 libelf: Add elf_compress, elf_compress_gnu, elf32_getchdr, elf64_getchdr
10 libdwelf: New function dwelf_scn_gnu_compressed_size.
12 config: Add libelf and libdw pkg-config files.
14 backends: sparc support for core and live backtraces.
16 translations: Updated Polish translation.
20 strip, unstrip: Handle ELF files with merged strtab/shstrtab tables.
21 Handle missing SHF_INFO_LINK section flags.
23 libelf: Use int64_t for offsets in libelf.h instead of loff_t.
25 libdw: dwarf.h Add preliminary DWARF5 DW_LANG_Haskell.
27 libdwfl: dwfl_standard_find_debuginfo now searches any subdir of the binary
28 path under the debuginfo root when the separate debug file couldn't
30 dwfl_linux_proc_attach can now be called before any Dwfl_Modules
33 backends: Better sparc and sparc64 support.
35 translations: Updated Ukrainian translation.
37 Provide default-yama-scope subpackage.
41 Bug fixes only, no new features.
45 libdw: Install new header elfutils/known-dwarf.h.
46 dwarf.h Add preliminary DWARF5 constants DW_TAG_atomic_type,
47 DW_LANG_Fortran03, DW_LANG_Fortran08. dwarf_peel_type now also
48 handles DW_TAG_atomic_type.
50 addr2line: Input addresses are now always interpreted as hexadecimal
51 numbers, never as octal or decimal numbers.
52 New option -a, --addresses to print address before each entry.
53 New option -C, --demangle to show demangled symbols.
54 New option --pretty-print to print all information on one line.
56 ar: CVE-2014-9447 Directory traversal vulnerability in ar extraction.
58 backends: x32 support.
62 libdw: New function dwarf_peel_type. dwarf_aggregate_size now uses
63 dwarf_peel_type to also provide the sizes of qualified types.
64 dwarf_getmacros will now serve either of .debug_macro and
65 .debug_macinfo transparently. New interfaces
66 dwarf_getmacros_off, dwarf_macro_getsrcfiles,
67 dwarf_macro_getparamcnt, and dwarf_macro_param are available
68 for more generalized inspection of macros and their parameters.
69 dwarf.h: Add DW_AT_GNU_deleted, DW_AT_noreturn, DW_LANG_C11,
70 DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14.
74 libdw: New functions dwarf_cu_getdwarf, dwarf_cu_die.
75 dwarf.h remove non-existing DW_TAG_mutable_type.
77 libdwfl: Handle LZMA .ko.xz compressed kernel modules.
79 unstrip: New option -F, --force to combining files even if some ELF headers
82 backends: Handle ARM THUMB functions. Add support for ppc64le ELFv2 abi.
86 stack: New option -d, --debugname to lookup DWARF debuginfo name for frame.
87 New option -i, --inlines to show inlined frames using DWARF debuginfo.
89 libdwelf: New libdwelf.h header for libdw.so DWARF ELF Low-level Functions.
90 New function dwelf_elf_gnu_debuglink, dwelf_dwarf_gnu_debugaltlink,
91 and dwelf_elf_gnu_build_id.
93 libdw: Support for DWZ multifile forms DW_FORM_GNU_ref_alt and
94 DW_FORM_GNU_strp_alt is now enabled by default and no longer
95 experimental. Added new functions dwarf_getalt and dwarf_setalt
96 to get or set the alternative debug file used for the alt FORMs.
97 The dwfl_linux_proc_find_elf callback will now find ELF from
98 process memory for (deleted) files if the Dwfl has process state
101 libdwfl: The dwfl_build_id_find_debuginfo and dwfl_standard_find_debuginfo
102 functions will now try to resolve and set the alternative debug file.
104 backends: Add CFI unwinding for arm. Relies on .debug_frame.
105 Add arm process initial register state compatible mode to AARCH64.
106 Add aarch64 native and core unwind support.
108 other: All separate elfutils-robustify patches have been merged.
109 CVE-2014-0172 Check overflow before calling malloc to uncompress data.
113 libdwfl: dwfl_core_file_report has new parameter executable.
114 New functions dwfl_module_getsymtab_first_global,
115 dwfl_module_getsym_info and dwfl_module_addrinfo.
116 Added unwinder with type Dwfl_Thread_Callbacks, opaque types
117 Dwfl_Thread and Dwfl_Frame and functions dwfl_attach_state,
118 dwfl_pid, dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread,
119 dwfl_thread_state_registers, dwfl_thread_state_register_pc,
120 dwfl_getthread_frames, dwfl_getthreads, dwfl_thread_getframes
123 addr2line: New option -x to show the section an address was found in.
125 stack: New utility that uses the new unwinder for processes and cores.
127 backends: Unwinder support for i386, x86_64, s390, s390x, ppc and ppc64.
132 libdw: Add new functions dwarf_getlocations, dwarf_getlocation_attr
133 and dwarf_getlocation_die.
135 readelf: Show contents of NT_SIGINFO and NT_FILE core notes.
137 addr2line: Support -i, --inlines output option.
139 backends: abi_cfi hook for arm, ppc and s390.
143 lib: New macro COMPAT_VERSION_NEWPROTO.
145 libdw: Handle GNU extension opcodes in dwarf_getlocation.
147 libdwfl: Fix STB_GLOBAL over STB_WEAK preference in dwfl_module_addrsym.
148 Add minisymtab support.
149 Add parameter add_p_vaddr to dwfl_report_elf.
150 Use DT_DEBUG library search first.
152 libebl: Handle new core note types in EBL.
154 backends: Interpret NT_ARM_VFP.
155 Implement core file registers parsing for s390/s390x.
157 readelf: Add --elf-section input option to inspect an embedded ELF file.
158 Add -U, --unresolved-address-offsets output control.
159 Add --debug-dump=decodedline support.
160 Accept version 8 .gdb_index section format.
161 Adjust output formatting width.
162 When highpc is in constant form print it also as address.
163 Display raw .debug_aranges. Use libdw only for decodedaranges.
165 elflint: Add __bss_start__ to the list of allowed symbols.
167 tests: Add configure --enable-valgrind option to run all tests under valgrind.
168 Enable automake parallel-tests for make check.
170 translations: Updated Polish translation.
172 Updates for Automake 1.13.
176 libelf: elf*_xlatetomd now works for cross-endian ELF note data.
177 elf_getshdr now works consistently on non-mmaped ELF files after
178 calling elf_cntl(ELF_C_FDREAD).
179 Implement support for ar archives with 64-bit symbol table.
181 libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc).
182 Any existing sources using the old name will have to be updated.
183 Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF
184 and DW_OP_GNU_parameter_ref to dwarf.h.
185 Experimental support for DWZ multifile forms DW_FORM_GNU_ref_alt
186 and DW_FORM_GNU_strp_alt. Disabled by default. Use configure
187 --enable-dwz to test it.
189 readelf: Add .debug_macro parsing support.
190 Add .gdb_index version 7 parsing support.
191 Recognize DW_OP_GNU_parameter_ref.
193 backends: Add support for Tilera TILE-Gx processor.
195 translations: Updated Ukrainian translation.
199 libelf: [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET.
201 libdw: dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form.
202 Fix bug using dwarf_next_unit to iterate over .debug_types.
204 elflint: Now accepts gold linker produced executables.
206 The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone
207 programs. There is now also a formal CONTRIBUTING document describing how to
212 libdw: Support reading .zdebug_* DWARF sections compressed via zlib.
214 libdwfl: Speed up dwfl_module_addrsym.
216 nm: Support C++ demangling.
218 ar: Support D modifier for "deterministic output" with no uid/gid/mtime info.
219 The U modifier is the inverse.
220 elfutils can be configured with the --enable-deterministic-archives
221 option to make the D behavior the default when U is not specified.
223 ranlib: Support -D and -U flags with same meaning.
225 readelf: Improve output of -wline. Add support for printing SDT elf notes.
226 Add printing of .gdb_index section.
227 Support for typed DWARF stack, call_site and entry_value.
229 strip: Add --reloc-debug-sections option.
230 Improved SHT_GROUP sections handling.
234 Various build and warning nits fixed for newest GCC and Autoconf.
236 libdwfl: Yet another prelink-related fix for another regression.
237 Look for Linux kernel images in files named with compression suffixes.
239 elfcmp: New flag --ignore-build-id to ignore differing build ID bits.
240 New flag -l/--verbose to print all differences.
244 libdwfl: Fix for more prelink cases with separate debug file.
246 strip: New flag --strip-sections to remove section headers entirely.
250 libdw: Fix for handling huge .debug_aranges section.
252 libdwfl: Fix for handling prelinked DSO with separate debug file.
254 findtextrel: Fix diagnostics to work with usual section ordering.
256 libebl: i386 backend fix for multi-register integer return value location.
260 libdw: Decode new DW_OP_GNU_implicit_pointer operation;
261 new function dwarf_getlocation_implicit_pointer.
263 libdwfl: New function dwfl_dwarf_line.
265 addr2line: New flag -F/--flags to print more DWARF line information details.
267 strip: -g recognizes .gdb_index as a debugging section.
271 libdw: Accept DWARF 4 format: new functions dwarf_next_unit, dwarf_offdie_types.
272 New functions dwarf_lineisa, dwarf_linediscriminator, dwarf_lineop_index.
274 libdwfl: Fixes in core-file handling, support cores from PIEs.
275 When working from build IDs, don't open a named file that mismatches.
277 readelf: Handle DWARF 4 formats.
281 libdw: Fixes in CFI handling, best possible handling of bogus CFA ops.
283 libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r bugs.
287 libdwfl: New function dwfl_core_file_report.
291 Fix build with --disable-dependency-tracking.
293 Fix build with most recent glibc headers.
295 libelf: More robust to bogus section headers.
297 libdw: Fix CFI decoding.
299 libdwfl: Fix address bias returned by CFI accessors.
300 Fix core file module layout identification.
302 readelf: Fix CFI decoding.
306 libelf: New function elf_getphdrnum.
307 Now support using more than 65536 program headers in a file.
309 libdw: New function dwarf_aggregate_size for computing (constant) type
310 sizes, including array_type cases with nontrivial calculation.
312 readelf: Don't give errors for missing info under -a.
313 Handle Linux "VMCOREINFO" notes under -n.
317 libdw: Various convenience functions for individual attributes now use
318 dwarf_attr_integrate to look up indirect inherited attributes.
319 Location expression handling now supports DW_OP_implicit_value.
321 libdwfl: Support automatic decompression of files in XZ format,
322 and of Linux kernel images made with bzip2 or LZMA (as well as gzip).
326 libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx alias
327 for elf_getshstrndx and deprecate original names. Sun screwed up
328 their implementation and asked for a solution.
330 libebl: Add support for STB_GNU_UNIQUE.
332 elflint: Add support for STB_GNU_UNIQUE.
334 readelf: Add -N option, speeds up DWARF printing without address->name lookups.
336 libdw: Add support for decoding DWARF CFI into location description form.
337 Handle some new DWARF 3 expression operations previously omitted.
338 Basic handling of some new encodings slated for DWARF 4.
342 libebl: sparc backend fixes;
343 some more arm backend support
345 libdwfl: fix dwfl_module_build_id for prelinked DSO case;
346 fixes in core file support;
347 dwfl_module_getsym interface improved for non-address symbols
349 strip: fix infinite loop on strange inputs with -f
351 addr2line: take -j/--section=NAME option for binutils compatibility
352 (same effect as '(NAME)0x123' syntax already supported)
356 libelf: Fix regression in creation of section header
358 libdwfl: Less strict behavior if DWARF reader ist just used to display data
362 libcpu: Add Intel SSE4 disassembler support
364 readelf: Implement call frame information and exception handling dumping.
365 Add -e option. Enable it implicitly for -a.
367 elflint: Check PT_GNU_EH_FRAME program header entry.
369 libdwfl: Support automatic gzip/bzip2 decompression of ELF files.
373 Install <elfutils/version.h> header file for applications to use in source
374 version compatibility checks.
376 libebl: backend fixes for i386 TLS relocs; backend support for NT_386_IOPERM
378 libcpu: disassembler fixes
384 nm: bug fixes for handling corrupt input files
388 Minor fixes for unreleased 0.136 release.
392 libdwfl: bug fixes; new "segment" interfaces;
393 all the libdwfl-based tools now support --core=COREFILE option
399 strip: changed handling of ET_REL files wrt symbol tables and relocs
403 elflint: backend improvements for sparc, alpha
405 libdwfl, libelf: bug fixes
409 readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A)
411 readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV
413 libdwfl: bug fixes and optimization in relocation handling
415 elfcmp: bug fix for non-allocated section handling
417 ld: implement newer features of binutils linker.
421 libcpu: Implement x86 and x86-64 disassembler.
422 libasm: Add interface for disassembler.
424 all programs: add debugging of branch prediction.
426 libelf: new function elf_scnshndx.
430 libdw: DW_FORM_ref_addr support; dwarf_formref entry point now deprecated;
431 bug fixes for oddly-formatted DWARF
433 libdwfl: bug fixes in offline archive support, symbol table handling;
434 apply partial relocations for dwfl_module_address_section on ET_REL
436 libebl: powerpc backend support for Altivec registers
440 readelf: -p option can take an argument like -x for one section,
441 or no argument (as before) for all SHF_STRINGS sections;
442 new option --archive-index (or -c);
443 improved -n output for core files, on many machines
445 libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk;
446 new functions gelf_getnote, gelf_getauxv, gelf_update_auxv
448 readelf, elflint: handle SHT_NOTE sections without requiring phdrs
450 elflint: stricter checks on debug sections
452 libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debuginfo,
453 dwfl_module_build_id, dwfl_module_report_build_id;
454 support dynamic symbol tables found via phdrs;
455 dwfl_standard_find_debuginfo now uses build IDs when available
457 unstrip: new option --list (or -n)
459 libebl: backend improvements for sparc, alpha, powerpc
463 readelf: new options --hex-dump (or -x), --strings (or -p)
465 addr2line: new option --symbols (or -S)
471 elfcmp: new option --hash-inexact
475 libdw: new function dwarf_getsrcdirs
477 libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add,
478 dwfl_module_address_section
486 elflint: Compare DT_GNU_HASH tests.
488 move archives into -static RPMs
490 libelf, elflint: better support for core file handling
494 libebl: sparc backend support for return value location
496 libebl, libdwfl: backend register name support extended with more info
498 libelf, libdw: bug fixes for unaligned accesses on machines that care
500 readelf, elflint: trivial bugs fixed
504 libebl: Backend build fixes, thanks to Stepan Kasal.
506 libebl: ia64 backend support for register names, return value location
508 libdwfl: Handle truncated linux kernel module section names.
510 libdwfl: Look for linux kernel "vmlinux" files with ".debug" suffix.
512 elflint: Fix checks to permit --hash-style=gnu format.
516 libebl: add function to test for relative relocation
518 elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks
520 elflint, readelf: add support for DT_GNU_HASH
521 libelf: add elf_gnu_hash
523 elflint, readelf: add support for 64-bit SysV-style hash tables
525 libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym.
529 libelf: bug fixes for rewriting existing files when using mmap.
531 make all installed headers usable in C++ code.
533 readelf: better output format.
535 elflint: fix tests of dynamic section content.
537 ld: Implement --as-needed, --execstack, PT_GNU_STACK. Many small patches.
539 libdw, libdwfl: handle files without aranges info.
545 dwarf.h updated for DWARF 3.0 final specification.
547 libdwfl: New function dwfl_version.
549 The license is now GPL for most files. The libelf, libebl, libdw,
550 and libdwfl libraries have additional exceptions. Add reference to
561 libdwfl: New function dwfl_module_register_names.
563 libebl: New backend hook for register names.
567 libdwfl: New function dwfl_module_return_value_location.
569 libebl: Backend improvements for several CPUs.
573 libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu,
574 dwarf_entry_breakpoints. Removed Dwarf_Func type and functions
575 dwarf_func_name, dwarf_func_lowpc, dwarf_func_highpc,
576 dwarf_func_entrypc, dwarf_func_die; dwarf_getfuncs callback now uses
577 Dwarf_Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col
578 replaced by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column;
579 dwarf_func_inline, dwarf_func_inline_instances now take Dwarf_Die.
580 Type Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist,
581 dwarf_addrloclists renamed dwarf_getlocation, dwarf_getlocation_addr.
585 libelf: speed-ups of non-mmap reading.
587 strings: New program.
589 Implement --enable-gcov option for configure.
591 libdw: New function dwarf_getscopes_die.
595 libelf: new function elf_getaroff
597 libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_instances.
599 libdwfl: New functions dwfl_report_offline, dwfl_offline_section_address,
600 dwfl_linux_kernel_report_offline.
606 elflint: relax a bit. Allow version definitions for defined symbols against
607 DSO versions also for symbols in nobits sections. Allow .rodata section
608 to have STRINGS and MERGE flag set.
610 strip: add some more compatibility with binutils.
614 elfcmp: some more relaxation.
616 elflint: many more tests, especially regarding to symbol versioning.
618 libelf: Add elfXX_offscn and gelf_offscn.
620 libasm: asm_begin interface changes.
622 libebl: Add three new interfaces to directly access machine, class, and
623 data encoding information.
625 objdump: New program. Just the beginning.
629 libdw: now contains all of libdwfl. The latter is not installed anymore.
631 elfcmp: little usability tweak, name and index of differing section is printed.
635 libelf: fix a number of problems with elf_update
637 elfcmp: fix a few bugs. Compare gaps.
639 Fix a few PLT problems and mudflap build issues.
641 libebl: Don't expose Ebl structure definition in libebl.h. It's now private.
645 libebl: Check for matching modules.
647 elflint: Check that copy relocations only happen for OBJECT or NOTYPE symbols.
651 libdwfl: New library.
655 strip: fix bug introduced in last change
657 libdw: records returned by dwarf_getsrclines are now sorted by address
661 readelf: improve DWARF output format
663 strip: support Linux kernel modules
667 libdw: Updated dwarf.h from DWARF3 spec
668 libdw: add new funtions dwarf_func_entrypc, dwarf_func_file, dwarf_func_line,
669 dwarf_func_col, dwarf_getsrc_file
673 addr2line: New program
675 libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs,
678 findtextrel: use dwarf_addrdie
682 findtextrel: New program.
686 libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug.
690 More Makefile and spec file cleanups.
694 Remove most gettext autoconf handling.
698 Fix resulting problems. One actual bug found and fixed this way
702 libebl: Fix x86-64 relocations.
704 Add -Wunused -Wextra warnings.
706 Some cleanups resulting from those additional warnings.
708 Lots of Makefile cleanup.
712 libelf: add gelf_checksum prototype to <libelf.h>
714 libelf: fix elf*_checksum handling of NOBITS sections
716 Finish mudflap support.
718 Fix three bugs found by mudflap.
720 ld: add as_needed support
724 readelf: in section to segment mapping, indicate read-only sections.
726 elflint: more relaxation for GNU ld
730 Fix compiling with gcc 4.0.
731 Some tests called elflint without appropriate LD_LIBRARY_PATH.
735 Fix support for platforms with lib64.
739 libebl: add ppc and ppc64 support
741 readelf: fix minimal memory leak.
743 Add support to compile with mudflap.
745 Modernize configure.ac. Move scripts in config subdir.
747 Modernize *-po directory infrastructure.
749 libelf: Add gelf_getlib and gelf_update_lib
751 readelf: print liblist sections
755 Fix some minimal build problems.
759 ibdw: tons of new functionality and bug fixes. Several interface changes.
761 readelf: use libdw now.
763 libdwarf: removed completely.
767 configuration changes.
771 libdw: fix memory handling. Implement source line handling.
772 nm: use libdw instead of libdwarf.
773 libelf: change to GPL from OSL1 for now.
777 libebl: Recognize a few more section types and dynamic tags and return
782 strip: fix overwriting of symbol table in input file.
786 libebl: Add some ia64 bits.
790 Bug fixes for big endian and some 64-bit machines.
794 strip: fix handling of Alpha and s390x which use incorrect hash bucket sizes.
796 ld: tons of changes, moving towards usability.
800 strip: update section group symbol index if the associated symbol table changed
802 libelf: fix two problems with generating output not via mmap
804 elflint: add probably 10-15 more tests
805 libebl: add support for some of the new tests
807 ld: gazillion changes
811 elflint: deal with .rel.dyn section. Fix a problem with rela platforms.
812 Handle PT_GNU_STACK. Change to write messages to stdout.
814 readelf: fix a problem with version information in the symbol table output.
816 strip: update all version symbol table entries
822 strip: last changed caused problems when the symbol table is before the
823 relocation section. Fixed. This fix also improved the asymptotic
824 behavior if many symbol table sections are present.
828 Run strip tests with the correct libelf and libebl.
830 libelf: fix bug in verneed byte order changing code.
834 strip: Remove unused symbol table entries. This might require updating
835 various other sections.
839 Fix some libelf problems with ET_REL files.
843 More warning changes, mainly by jbj.
845 libdw: yet more new code. dwarf_child and dwarf_sibling should now actually
850 libdw: 10+ new functions. get-pubnames2 works now fully. Almost all the
851 code needed for nm is in place.
855 cleanups to compile cleanly with gcc 3.3 and -Werror.
857 libdw: some new code.
861 libebl: Fix last patch to recognize relocation sections. We must not
866 libebl: .debug_ranges is a DWARF 3 debug section
867 libebl: recognize relocation sections for debug section
868 Patches by Jakub Jelinek.
872 Cleanups and more SPARC support by Tom Callaway <tcallaway@redhat.com>.
876 64-bit cleanups for the programs.
880 libelf: and yet more fun with endian tranformation at output time.
884 libelf: more fun with endian tranformation at output time. Add test for it.
888 libelf: Two little bugs left from previous patch to handle section output
891 libelf: add unlikely in some more places.
895 libelf: fix output routines to handle case where section indeces and
896 ordre in the output file don't match correctly. Patch by Jakub.
898 elflint: fix test of note section content for 64-bit platforms and files
899 with different byte order.
903 libebl: Fix SH_ENTSIZE_HASH definition (patch by Jakub)
907 libelf: correct mistake in error string handling.
909 libelf: Implement ELF_F_PERMISSIVE.
910 strip: Implement --permissive option.
914 strip: Implement -g option.
916 libelf: Handle broken hash table entry sizes.
918 libebl: New function ebl_debugscn_p. Use it where appropriate.
922 libelf: Use correct file size for NOBITS section with ELF_F_LAYOUT set
926 libelf: Make error handling more robust.
927 libelf: Use TLS in error handler if configured with --enable-tls
929 tests: input files are now distributed, not uuencoded in the shell scripts
931 libdw: implement error handling, dwarf_get_pubnames
935 Build (incomplete) libdw.
947 libebl: Handle .gnu.warning.* sections correctly.
949 size: Implement -t option.
951 libebl: Add IA-64 support.
952 libebl: Update SH relocations.
953 libebl: Add Alpha support.
954 libebl: Add Arm support.
955 libebl: Add support for all currently known architecture to the loader.
959 nm: Implement -S option. Correct portable output format. Implement -s option.
961 libelf: Take offset of archive into account in elf_rand.
965 strip: fix handling of ET_REL files.
970 strip: respect layout of input file
974 strip: handle files with large number of sections.
978 libelf: quite a few bug fixes by Alex Larsson.
980 strip: implement -f option to place stripped sections into a separate
981 file. By Alex Larsson.
985 strip: don't let STT_SECTION symbols keeps sections from being removed
987 elflint: local symbols are allowed in .dynsym
988 elflint: special case .rel.dyn a bit
992 elflint: check types and flags of special sections defined in gABI
994 libebl: add x86-64 support
998 Start improvement of debug info handling in nm.
1000 libasm: implement asm_adduleb128 and asm_addsleb128 and a test for them
1004 Fix build on 64-bit platforms.
1008 nm: print file/line number also for local symbols
1010 use versions scripts not libtool's useless -export-symbols option
1014 Update to autoconf 2.54 and automake 1.7.
1016 elflint: check note sections
1018 libdwarf: a number of bug fixes
1020 readelf: print .debug_info section content
1022 dwarf.h: Update from draft 7
1028 libelf: new function to read parts of the ELF file
1030 libebl: support for note section handling
1032 readelf: dump note sections
1036 libelf: fix little new section-handling related bugs in elf_getshstrndx
1039 elflint: tests for mandatory content of dynamic section
1041 libasm: better handling of absolute symbols
1045 libasm: rewrite to store Elf_Scn* instead of indices
1047 nm: finish many-section support
1049 nm: use debug in to print file/line info in sysv format
1051 libdwarf: fix a few bugs in DIE handling
1055 libelf: major rewrite to keep Elf_Scn references valid until elf_end
1059 libasm: Add support for bss, ABS, and COM sections.
1061 libebl: ebl_section_name takes now two index arguments to distinguish
1062 between special sections and extended sections
1066 General: fix a few problem gcc 3.1 had with the code.
1068 libelf: implement {gelf,elf32,elf64}_checksum
1070 libelf: optimze DSO: fewer relocations, fewer PLTs
1074 ld: use correct section header string table index; write correct index
1076 add dependencies for *.sym files
1080 libelf: add elf_getshnum and elf_getshstrndx
1082 libebl: update section type name function
1084 elflint: tons of fixes wrt large number of sections. New tests in this area.
1085 Same amount of other bug fixes.
1087 size, strip, nm: better support for large number of sections. Including
1088 using correct section header string table
1090 libasm: correctly create data structures for large number of sections
1092 new tests asm-tst4 and asm-tst5 to check large number of sections
1094 libasm: implement section group generation
1096 elflint: more tests on section groups. Improve performance on existing
1101 ld: add undefined symbols to dynamic symbol table if --export-dynamic is
1104 ld: fix value of e_entry
1108 elflint: print section names in error messages
1110 elflint: mustn't warn about multiple DT_NULL
1112 ld: don't emit all symbols if --export-dynamic is not given
1114 ld: correct compute symbol address in output file (section index was off by 1)
1116 ld: generate correct version info in dynsym without --export-dynamic and
1121 Fix check of various e_*size entries in elflint.
1123 Handle text output in asm_newsym.
1125 Finish checks in asm-tst3.
1129 Update to autoconf 2.53, automake 1.6, gettext 0.11+.
1131 Introduce *.sym files to restrict export from DSOs.
1133 Use attribute_hidden and internal_function to optimize DSO code.
1135 Add TLS definitions in elf.h and handle them in readelf.
1137 Fix bug in verdef section generation in ld.
1139 Add initial libasm code.
1143 Implement better hash size optimization heuristic in ld. It uses a formula
1144 taking number of tests into account.
1146 Lots of small bug fixes.
1148 Improve readelf output format. Respect various sh_link/sh_info values.
1149 Correctly print versioning information for symbol tables.
1153 Implement preprocessing of linker script. Recognize -z combreloc.
1157 Implement -z ignore|record for ld.
1159 Implement creating of .gnu.version_r and .gnu.version sections. The
1160 .gnu.version does not yet contain correct info for defined and versioned
1161 symbols (means .gnu.version_d is not yet implemented).
1163 Implement gelf_update_* functions to create versioning data.
1167 Add DT_RUNPATH/DT_RPATH entries to dynamic section. Create .plt and
1168 .rel.plt sections (completely). Add support for all four PLT related
1169 dynamic section entries. Add callback function for PLT creation.
1171 More tests in elflint. Add support for very strict checking which for
1172 now flags level 2 (deprecated features) usage.
1176 Create dynamic symbol table, dynamic string table, and hash table to ld.
1178 Add hash table histogram support to readelf.
1182 more work on elflint
1184 ld now creates the dynamic section and references it. Start adding entries
1189 Start implementing elflint.
1193 Fix handling of NOBITS sections in elf_getdata.
1195 Start implementing generation of executables and DSOs in ld.
1196 Generation of program header mostly done. Address computation done.
1197 Extension of linker script syntax.
1201 Implement section group handling in readelf.
1205 Implement section groups. This involved a lot of code moving. The
1206 new code is entirely untested since gas/gcc are currently not able to
1207 create section groups. ld works fine on files without section groups.
1211 Fix problem with adding more section in elf_newscn. The section pointers
1212 for the data buffers wasn't adjusted.
1214 Fix elf_getdata with nonzero second parameter. Correctly handle creation
1215 of internal data buffer for machines without unaligned access.
1219 Start adding support to selectively add sections. Includes support for
1221 Add --gc-sections/--no-gc-sections options.
1222 Add general section merging support.
1224 Fix a bug in section group support in strip.
1226 Fix some potential problems with hash value in dynamic hash implementation.
1230 section merging works in ld.
1234 Actually create data structures from version map file and use it to hide
1237 Implement -s -s for ld.
1241 Improve relocation table output in readelf. Avoid some crashes.
1242 Finish many section handling in readelf.
1244 Finish: finish implementation of ld -r. At least some simple tests pass.
1248 Fix a number of errors in ELF_C_WRITE handling.
1250 Almost finished implementation of ld -r. The data sections are all copied.
1251 Handling of symbol tables is missing.
1255 Handle DSO and archive input files correctly if -r option is given.
1257 Gracefully deal with no phdr in new file in libelf.
1258 Fix various small error handling problems.
1259 Don't mmap file for output unless the command says so.
1261 Add code to create ELF section header table to ld finalize routines.
1265 Fix some problems with recursive handling of archives in libelf.
1267 Improve messages printed by nm.
1269 Add symbol binding name handling to libebl. Fix section name handling in
1272 readelf and nm use more libebl functions.
1274 Handle XINDEX correctly in nm and string.
1276 Add first machine ld backend library (i386).
1277 Use it. Recognize -r and --shared. Avoid using -lxxx parameters for -r.
1278 Create ELF header in output file. Change mode of output file according to
1279 output file type. Reorganize callback initialization in ld.
1283 Fix some memory leaks in libelf.
1287 Implement reading version script. Both inside linker scripts and via the
1288 --version-script command line parameter. Uses the same code.
1289 What remains to be done is to implement a data structure which allows
1290 efficient matching against the version names to decide which pattern
1293 Beginning of output generation and output writing functions.
1297 Finish implementation for DSO input file handling. Implement rpath, runpath,
1298 and LD_LIBRARY_PATH handling.
1302 make handling of e_shnum overflow in libelf standard conforming
1304 ld now actually can handle DSOs in linker scripts. Handling of DT_RUNPATH,
1305 DT_RPATH, -rpath, -rpath-link still remains to be implemented.
1307 fix handling of -L parameters. Make actual use of the default_paths element.
1309 make re-definition of symbols in and from DSO compatible with existing linker
1313 more work on assigning input sections to output sections.
1315 Add gelf_xlatetof and gelf_xlatetom which were accidently left out.
1317 Fix memory handling of section headers.
1321 Add many-section support to ld. Add various new command line parameters.
1322 Allow pagesize to be specified in linker script or on the command line.
1323 Collect input sections in list for the output section according to the rules
1324 specified in the linker script.
1328 Fix some problems in the internal list handling which had the result
1329 that we didn't look for some of the unresolved symbols.
1331 Free some memory if we know we don't need it anymore.
1333 Optimize the list of unresolved symbols. Throw out symbols which are
1338 Got file reading correct now. The files are all read while parsing
1339 the parameters. No creating of data structures to describe the linker
1340 command line. The symbol table is built up while reading the files.
1341 DSOs are handled now. -( -) handling is optimized.
1345 Linker read linker scripts everywhere. Handles --whole-archive. Recognizes
1346 --dynamic and --static. Collects defined and undefined symbols. Recognizes
1349 libebl now defines functions to call the callbacks. Add generic name handling
1350 in these new functions. Remove the code from readelf and call the new
1355 Start of linker. Basic argument parsing, finding of input files,
1356 linker script reading.
1360 Implement dwarf_get_fde_n(), dwarf_get_abbrev(), dwarf_get_abbrev_tag(),
1361 dwarf_get_abbrev_code(), dwarf_get_abbrev_children_flag(),
1362 dwarf_get_abbrev_entry(), dwarf_get_fde_at_pc(), and tests for it.
1366 Implement dwarf_get_fde_list_eh(), dwarf_get_cie_of_fde(),
1367 dwarf_get_fde_range(), dwarf_get_cie_info(), dwarf_get_fde_instr_bytes(),
1372 Make handling of binaries in other byte order work and add tests for it.
1376 Implement dwarf_get_aranges(), dwarf_get_arange(), dwarf_get_cu_die_offset(),
1377 dwarf_get_arange_info(), and tests for them.
1381 Implement dwarf_get_global(), dwarf_globname(), dwarf_global_die_offset(),
1382 dwarf_global_cu_offset(), dwarf_global_name_offsets(), and tests for them
1386 Implemented dwarf_srclines(), dwarf_srcfiles(), dwarf_linebeginstatement(),
1387 dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineaddr(), dwarf_lineoff(),
1388 dwarf_linesrc(), dwarf_lineblock(), dwarf_lineprologueend(),
1389 dwarf_lineepiloguebegin(), and tests for them.
1393 Implemented dwarf_loclist().
1397 Implemented dwarf_dieoffset(), dwarf_die_CU_offset(), dwarf_diename() and
1400 Implemented dwarf_attrlist(), dwarf_hasattr(), dwarf_attr(), dwarf_lowpc(),
1401 dwarf_highpc(), dwarf_bytesize(), dwarf_bitsize(), dwarf_bitoffset(),
1402 dwarf_srclang(), dwarf_arrayorder(), dwarf_hasform(), dwarf_whatform(),
1403 dwarf_whatattr(), dwarf_formref(), dwarf_global_formref(), dwarf_formaddr(),
1404 dwarf_formflag(), dwarf_formudata(), dwarf_formsdata(), dwarf_formblock,
1405 dwarf_formstring() and tests for them.
1409 Implemented dwarf_offdie()), dwarf_tag(), dwarf_dieoffset(),
1410 dwarf_die_CU_offset(), dwarf_diename() and tests for them.
1414 First libdwarf functions work.
1418 libelf and parts of libebl are done.