1Version 0.183 2 3debuginfod: New thread-busy metric and more detailed error metrics. 4 New --fdcache-mintmp and tracking of filesystem freespace. 5 New increased webapi concurrency while grooming. 6 7debuginfod-client: DEBUGINFOD_SONAME macro added to debuginfod.h which 8 can be used to dlopen the libdebuginfod.so library. 9 New function debuginfod_set_verbose_fd and 10 DEBUGINFOD_VERBOSE environment variable. 11 12config: profile.sh and profile.csh won't export DEBUGINFOD_URLS unless 13 configured --enable-debuginfod-urls[=URLS] 14 15elflint, readelf: Recognize SHF_GNU_RETAIN. 16 Handle SHT_X86_64_UNWIND as valid relocation target. 17 18Version 0.182 19 20backends: Support for tilegx has been removed. 21 22config: New /etc/profile.d files to provide default $DEBUGINFOD_URLS. 23 24debuginfod: More efficient package traversal, tolerate various errors 25 during scanning, grooming progress is more visible and 26 interruptible, more prometheus metrics. 27 28debuginfod-client: Now supports compressed (kernel) ELF images. 29 30libdwfl: Add ZSTD compression support. 31 32Version 0.181 33 34libelf: elf_update now compensates (fixes up) a bad sh_addralign for 35 SHF_COMPRESSED sections. 36 37libdebuginfod: configure now takes --enable-libdebuginfod=dummy or 38 --disable-libdebuginfod for bootstrapping. 39 DEBUGINFOD_URLS now accepts "scheme-free" urls 40 (guessing at what the user meant, either http:// or file://) 41 42readelf, elflint: Handle aarch64 bti, pac bits in dynamic table and gnu 43 property notes. 44 45libdw, readelf: Recognize DW_CFA_AARCH64_negate_ra_state. Allows unwinding 46 on arm64 for code that is compiled for PAC (Pointer 47 Authentication Code) as long as it isn't enabled. 48 49Version 0.180 50 51elflint: Allow SHF_EXCLUDE as generic section flag when --gnu is given. 52 53libdw, readelf: Handle GCC LTO .gnu.debuglto_ prefix. 54 55libdw: Use correct CU to resolve file names in dwarf_decl_file. 56 57libdwfl: Handle debugaltlink in dwfl_standard_find_debuginfo. 58 59size: Also obey radix printing for bsd format. 60 61nm: Explicitly print weak 'V' or 'T' and common 'C' symbols. 62 63Version 0.179 64 65debuginfod-client: When DEBUGINFOD_PROGRESS is set and the program doesn't 66 install its own debuginfod_progressfn_t show download 67 progress on stderr. 68 DEBUGINFOD_TIMEOUT is now defined as seconds to get at 69 least 100K, defaults to 90 seconds. 70 Default to $XDG_CACHE_HOME/debuginfod_client. 71 New functions debuginfod_set_user_data, 72 debuginfod_get_user_data, debuginfod_get_url and 73 debuginfod_add_http_header. 74 Support for file:// URLs. 75 76debuginfod: Uses libarchive directly for reading rpm archives. 77 Support for indexing .deb/.ddeb archives through dpkg-deb 78 or bsdtar. 79 Generic archive support through -Z EXT[=CMD]. Which can be 80 used for example for arch-linux pacman files by using 81 -Z '.tar.zst=zstdcat'. 82 Better logging using User-Agent and X-Forwarded-For headers. 83 More prometheus metrics. 84 Support for eliding dots or extraneous slashes in path names. 85 86debuginfod-find: Accept /path/names in place of buildid hex. 87 88libelf: Handle PN_XNUM in elf_getphdrnum before shdr 0 is cached 89 Ensure zlib resource cleanup on failure. 90 91libdwfl: dwfl_linux_kernel_find_elf and dwfl_linux_kernel_report_offline 92 now find and handle a compressed vmlinuz image. 93 94readelf, elflint: Handle PT_GNU_PROPERTY. 95 96translations: Updated Ukrainian translation. 97 98Version 0.178 99 100debuginfod: New server, client tool and library to index and fetch 101 ELF/DWARF files addressed by build-id through HTTP. 102 103doc: There are now some manual pages for functions and tools. 104 105backends: The libebl libraries are no longer dynamically loaded through 106 dlopen, but are now compiled into libdw.so directly. 107 108readelf: -n, --notes now takes an optional "SECTION" argument. 109 -p and -x now also handle section numbers. 110 New option --dyn-sym to show just the dynamic symbol table. 111 112libcpu: Add RISC-V disassembler. 113 114libdw: Abbrevs and DIEs can now be read concurrently by multiple 115 threads through the same Dwarf handle. 116 117libdwfl: Will try to use debuginfod when installed as fallback to 118 retrieve ELF and DWARF debug data files by build-id. 119 120Version 0.177 121 122elfclassify: New tool to analyze ELF objects. 123 124readelf: Print DW_AT_data_member_location as decimal offset. 125 Decode DW_AT_discr_list block attributes. 126 127libdw: Add DW_AT_GNU_numerator, DW_AT_GNU_denominator and DW_AT_GNU_bias. 128 129libdwelf: Add dwelf_elf_e_machine_string. 130 dwelf_elf_begin now only returns NULL when there is an error 131 reading or decompressing a file. If the file is not an ELF file 132 an ELF handle of type ELF_K_NONE is returned. 133 134backends: Add support for C-SKY. 135 136Version 0.176 137 138build: Add new --enable-install-elfh option. 139 Do NOT use this for system installs (it overrides glibc elf.h). 140 141backends: riscv improved core file and return value location support. 142 143Fixes CVE-2019-7146, CVE-2019-7148, CVE-2019-7149, CVE-2019-7150, 144 CVE-2019-7664, CVE-2019-7665 145 146Version 0.175 147 148readelf: Handle multiple .debug_macro sections. 149 Recognize and parse GNU Property notes, NT_VERSION notes 150 and GNU Build Attribute ELF Notes. 151 152strip: Handle SHT_GROUP correctly. 153 Add strip --reloc-debug-sections-only option. 154 Handle relocations against GNU compressed sections. 155 156libdwelf: New function dwelf_elf_begin. 157 158libcpu: Recognize bpf jump variants BPF_JLT, BPF_JLE, BPF_JSLT and BPF_JSLE. 159 160backends: RISCV handles ADD/SUB relocations. Handle SHT_X86_64_UNWIND. 161 162Fixes CVE-2018-18310, CVE-2018-18520 and CVE-2018-18521. 163 164Version 0.174 165 166libelf, libdw and all tools now handle extended shnum and shstrndx correctly. 167 168elfcompress: Don't rewrite input file if no section data needs updating. 169 Try harder to keep same file mode bits (suid) on rewrite. 170 171strip: Handle mixed (out of order) allocated/non-allocated sections. 172 173unstrip: Handle SHT_GROUP sections. 174 175backends: RISCV and M68K now have backend implementations to generate CFI based 176 backtraces. 177 178Fixes CVE-2018-16062, CVE-2018-16402 and CVE-2018-16403. 179 180Version 0.173 181 182More fixes for crashes and hangs found by afl-fuzz. In particular various 183functions now detect and break infinite loops caused by bad DIE tree cycles. 184 185readelf: Will now lookup the size and signedness of constant value types 186 to display them correctly (and not just how they were encoded). 187 188libdw: New function dwarf_next_lines to read CU-less .debug_line data. 189 dwarf_begin_elf now accepts ELF files containing just .debug_line 190 or .debug_frame sections (which can be read without needing a DIE 191 tree from the .debug_info section). 192 Removed dwarf_getscn_info, which was never implemented. 193 194backends: Handle BPF simple relocations. 195 The RISCV backends now handles ABI specific CFI and knows about 196 RISCV register types and names. 197 198Version 0.172 199 200No functional changes compared to 0.171. 201 202Various bug fixes in libdw and eu-readelf dealing with bad DWARF5 data. 203Thanks to running the afl fuzzer on eu-readelf and various testcases. 204 205eu-readelf -N is ~15% faster. 206 207Version 0.171 208 209DWARF5 and split dwarf, including GNU DebugFission, are supported now. 210Data can be read from the new DWARF sections .debug_addr, .debug_line_str, 211.debug_loclists, .debug_str_offsets and .debug_rnglists. Plus the new 212DWARF5 and GNU DebugFission encodings of the existing .debug sections. 213Also in split DWARF .dwo (DWARF object) files. This support is mostly 214handled by existing functions (dwarf_getlocation*, dwarf_getsrclines, 215dwarf_ranges, dwarf_form*, etc.) now returning the data from the new 216sections and data formats. But some new functions have been added 217to more easily get information about skeleton and split compile units 218(dwarf_get_units and dwarf_cu_info), handle new attribute data 219(dwarf_getabbrevattr_data) and to keep references to Dwarf_Dies 220that might come from different sections or files (dwarf_die_addr_die). 221 222Not yet supported are .dwp (Dwarf Package) and .sup (Dwarf Supplementary) 223files, the .debug_names index, the .debug_cu_index and .debug_tu_index 224sections. Only a single .debug_info (and .debug_types) section are 225currently handled. 226 227readelf: Handle all new DWARF5 sections. 228 --debug-dump=info+ will show split unit DIEs when found. 229 --dwarf-skeleton can be used when inspecting a .dwo file. 230 Recognizes GNU locviews with --debug-dump=loc. 231 232libdw: New functions dwarf_die_addr_die, dwarf_get_units, 233 dwarf_getabbrevattr_data and dwarf_cu_info. 234 libdw will now try to resolve the alt file on first use of 235 an alt attribute FORM when not set yet with dwarf_set_alt. 236 dwarf_aggregate_size() now works with multi-dimensional arrays. 237 238libdwfl: Use process_vm_readv when available instead of ptrace. 239 240backends: Add a RISC-V backend. 241 242There were various improvements to build on Windows. 243The sha1 and md5 implementations have been removed, they weren't used. 244 245Version 0.170 246 247libdw: Added new DWARF5 attribute, tag, character encoding, language code, 248 calling convention, defaulted member function and macro constants 249 to dwarf.h. 250 New functions dwarf_default_lower_bound and dwarf_line_file. 251 dwarf_peel_type now handles DWARF5 immutable, packed and shared tags. 252 dwarf_getmacros now handles DWARF5 .debug_macro sections. 253 254strip: Add -R, --remove-section=SECTION and --keep-section=SECTION. 255 256backends: The bpf disassembler is now always build on all platforms. 257 258Version 0.169 259 260backends: Add support for EM_PPC64 GNU_ATTRIBUTES. 261 Frame pointer unwinding fallback support for i386, x86_64, aarch64. 262 263translations: Update Polish translation. 264 265Version 0.168 266 267http://elfutils.org/ is now hosted at http://sourceware.org/elfutils/ 268 269libelf: gelf_newehdr and gelf_newehdr now return void *. 270 271libdw: dwarf.h corrected the DW_LANG_PLI constant name (was DW_LANG_PL1). 272 273readelf: Add optional --symbols[=SECTION] argument to select section name. 274 275Version 0.167 276 277libasm: Add eBPF disassembler for EM_BPF files. 278 279backends: Add m68k and BPF backends. 280 281ld: Removed. 282 283dwelf: Add ELF/DWARF string table creation functions. dwelf_strtab_init, 284 dwelf_strtab_add, dwelf_strtab_add_len, dwelf_strtab_finalize, 285 dwelf_strent_off, dwelf_strent_str and dwelf_strtab_free. 286 287Version 0.166 288 289config: The default program prefix for the installed tools is now eu-. 290 Use configure --program-prefix="" to not use a program prefix. 291 292Version 0.165 293 294elfcompress: New utility to compress or decompress ELF sections. 295 296readelf: Add -z,--decompress option. 297 298libelf: Add elf_compress, elf_compress_gnu, elf32_getchdr, elf64_getchdr 299 and gelf_getchdr. 300 301libdwelf: New function dwelf_scn_gnu_compressed_size. 302 303config: Add libelf and libdw pkg-config files. 304 305backends: sparc support for core and live backtraces. 306 307translations: Updated Polish translation. 308 309Version 0.164 310 311strip, unstrip: Handle ELF files with merged strtab/shstrtab tables. 312 Handle missing SHF_INFO_LINK section flags. 313 314libelf: Use int64_t for offsets in libelf.h instead of loff_t. 315 316libdw: dwarf.h Add preliminary DWARF5 DW_LANG_Haskell. 317 318libdwfl: dwfl_standard_find_debuginfo now searches any subdir of the binary 319 path under the debuginfo root when the separate debug file couldn't 320 be found by build-id. 321 dwfl_linux_proc_attach can now be called before any Dwfl_Modules 322 have been reported. 323 324backends: Better sparc and sparc64 support. 325 326translations: Updated Ukrainian translation. 327 328Provide default-yama-scope subpackage. 329 330Version 0.163 331 332Bug fixes only, no new features. 333 334Version 0.162 335 336libdw: Install new header elfutils/known-dwarf.h. 337 dwarf.h Add preliminary DWARF5 constants DW_TAG_atomic_type, 338 DW_LANG_Fortran03, DW_LANG_Fortran08. dwarf_peel_type now also 339 handles DW_TAG_atomic_type. 340 341addr2line: Input addresses are now always interpreted as hexadecimal 342 numbers, never as octal or decimal numbers. 343 New option -a, --addresses to print address before each entry. 344 New option -C, --demangle to show demangled symbols. 345 New option --pretty-print to print all information on one line. 346 347ar: CVE-2014-9447 Directory traversal vulnerability in ar extraction. 348 349backends: x32 support. 350 351Version 0.161 352 353libdw: New function dwarf_peel_type. dwarf_aggregate_size now uses 354 dwarf_peel_type to also provide the sizes of qualified types. 355 dwarf_getmacros will now serve either of .debug_macro and 356 .debug_macinfo transparently. New interfaces 357 dwarf_getmacros_off, dwarf_macro_getsrcfiles, 358 dwarf_macro_getparamcnt, and dwarf_macro_param are available 359 for more generalized inspection of macros and their parameters. 360 dwarf.h: Add DW_AT_GNU_deleted, DW_AT_noreturn, DW_LANG_C11, 361 DW_LANG_C_plus_plus_11 and DW_LANG_C_plus_plus_14. 362 363Version 0.160 364 365libdw: New functions dwarf_cu_getdwarf, dwarf_cu_die. 366 dwarf.h remove non-existing DW_TAG_mutable_type. 367 368libdwfl: Handle LZMA .ko.xz compressed kernel modules. 369 370unstrip: New option -F, --force to combining files even if some ELF headers 371 don't seem to match. 372 373backends: Handle ARM THUMB functions. Add support for ppc64le ELFv2 abi. 374 375Version 0.159 376 377stack: New option -d, --debugname to lookup DWARF debuginfo name for frame. 378 New option -i, --inlines to show inlined frames using DWARF debuginfo. 379 380libdwelf: New libdwelf.h header for libdw.so DWARF ELF Low-level Functions. 381 New function dwelf_elf_gnu_debuglink, dwelf_dwarf_gnu_debugaltlink, 382 and dwelf_elf_gnu_build_id. 383 384libdw: Support for DWZ multifile forms DW_FORM_GNU_ref_alt and 385 DW_FORM_GNU_strp_alt is now enabled by default and no longer 386 experimental. Added new functions dwarf_getalt and dwarf_setalt 387 to get or set the alternative debug file used for the alt FORMs. 388 The dwfl_linux_proc_find_elf callback will now find ELF from 389 process memory for (deleted) files if the Dwfl has process state 390 attached. 391 392libdwfl: The dwfl_build_id_find_debuginfo and dwfl_standard_find_debuginfo 393 functions will now try to resolve and set the alternative debug file. 394 395backends: Add CFI unwinding for arm. Relies on .debug_frame. 396 Add arm process initial register state compatible mode to AARCH64. 397 Add aarch64 native and core unwind support. 398 399other: All separate elfutils-robustify patches have been merged. 400 CVE-2014-0172 Check overflow before calling malloc to uncompress data. 401 402Version 0.158 403 404libdwfl: dwfl_core_file_report has new parameter executable. 405 New functions dwfl_module_getsymtab_first_global, 406 dwfl_module_getsym_info and dwfl_module_addrinfo. 407 Added unwinder with type Dwfl_Thread_Callbacks, opaque types 408 Dwfl_Thread and Dwfl_Frame and functions dwfl_attach_state, 409 dwfl_pid, dwfl_thread_dwfl, dwfl_thread_tid, dwfl_frame_thread, 410 dwfl_thread_state_registers, dwfl_thread_state_register_pc, 411 dwfl_getthread_frames, dwfl_getthreads, dwfl_thread_getframes 412 and dwfl_frame_pc. 413 414addr2line: New option -x to show the section an address was found in. 415 416stack: New utility that uses the new unwinder for processes and cores. 417 418backends: Unwinder support for i386, x86_64, s390, s390x, ppc and ppc64. 419 aarch64 support. 420 421Version 0.157 422 423libdw: Add new functions dwarf_getlocations, dwarf_getlocation_attr 424 and dwarf_getlocation_die. 425 426readelf: Show contents of NT_SIGINFO and NT_FILE core notes. 427 428addr2line: Support -i, --inlines output option. 429 430backends: abi_cfi hook for arm, ppc and s390. 431 432Version 0.156 433 434lib: New macro COMPAT_VERSION_NEWPROTO. 435 436libdw: Handle GNU extension opcodes in dwarf_getlocation. 437 438libdwfl: Fix STB_GLOBAL over STB_WEAK preference in dwfl_module_addrsym. 439 Add minisymtab support. 440 Add parameter add_p_vaddr to dwfl_report_elf. 441 Use DT_DEBUG library search first. 442 443libebl: Handle new core note types in EBL. 444 445backends: Interpret NT_ARM_VFP. 446 Implement core file registers parsing for s390/s390x. 447 448readelf: Add --elf-section input option to inspect an embedded ELF file. 449 Add -U, --unresolved-address-offsets output control. 450 Add --debug-dump=decodedline support. 451 Accept version 8 .gdb_index section format. 452 Adjust output formatting width. 453 When highpc is in constant form print it also as address. 454 Display raw .debug_aranges. Use libdw only for decodedaranges. 455 456elflint: Add __bss_start__ to the list of allowed symbols. 457 458tests: Add configure --enable-valgrind option to run all tests under valgrind. 459 Enable automake parallel-tests for make check. 460 461translations: Updated Polish translation. 462 463Updates for Automake 1.13. 464 465Version 0.155 466 467libelf: elf*_xlatetomd now works for cross-endian ELF note data. 468 elf_getshdr now works consistently on non-mmaped ELF files after 469 calling elf_cntl(ELF_C_FDREAD). 470 Implement support for ar archives with 64-bit symbol table. 471 472libdw: dwarf.h corrected the DW_LANG_ObjC constant name (was DW_LANG_Objc). 473 Any existing sources using the old name will have to be updated. 474 Add DW_MACRO_GNU .debug_macro type encodings constants, DW_ATE_UTF 475 and DW_OP_GNU_parameter_ref to dwarf.h. 476 Experimental support for DWZ multifile forms DW_FORM_GNU_ref_alt 477 and DW_FORM_GNU_strp_alt. Disabled by default. Use configure 478 --enable-dwz to test it. 479 480readelf: Add .debug_macro parsing support. 481 Add .gdb_index version 7 parsing support. 482 Recognize DW_OP_GNU_parameter_ref. 483 484backends: Add support for Tilera TILE-Gx processor. 485 486translations: Updated Ukrainian translation. 487 488Version 0.154 489 490libelf: [g]elf[32|64]_offscn() do not match SHT_NOBITS sections at OFFSET. 491 492libdw: dwarf_highpc function now handles DWARF 4 DW_AT_high_pc constant form. 493 Fix bug using dwarf_next_unit to iterate over .debug_types. 494 495elflint: Now accepts gold linker produced executables. 496 497The license is now GPLv2/LGPLv3+ for the libraries and GPLv3+ for stand-alone 498programs. There is now also a formal CONTRIBUTING document describing how to 499submit patches. 500 501Version 0.153 502 503libdw: Support reading .zdebug_* DWARF sections compressed via zlib. 504 505libdwfl: Speed up dwfl_module_addrsym. 506 507nm: Support C++ demangling. 508 509ar: Support D modifier for "deterministic output" with no uid/gid/mtime info. 510 The U modifier is the inverse. 511 elfutils can be configured with the --enable-deterministic-archives 512 option to make the D behavior the default when U is not specified. 513 514ranlib: Support -D and -U flags with same meaning. 515 516readelf: Improve output of -wline. Add support for printing SDT elf notes. 517 Add printing of .gdb_index section. 518 Support for typed DWARF stack, call_site and entry_value. 519 520strip: Add --reloc-debug-sections option. 521 Improved SHT_GROUP sections handling. 522 523Version 0.152 524 525Various build and warning nits fixed for newest GCC and Autoconf. 526 527libdwfl: Yet another prelink-related fix for another regression. 528 Look for Linux kernel images in files named with compression suffixes. 529 530elfcmp: New flag --ignore-build-id to ignore differing build ID bits. 531 New flag -l/--verbose to print all differences. 532 533Version 0.151 534 535libdwfl: Fix for more prelink cases with separate debug file. 536 537strip: New flag --strip-sections to remove section headers entirely. 538 539Version 0.150 540 541libdw: Fix for handling huge .debug_aranges section. 542 543libdwfl: Fix for handling prelinked DSO with separate debug file. 544 545findtextrel: Fix diagnostics to work with usual section ordering. 546 547libebl: i386 backend fix for multi-register integer return value location. 548 549Version 0.149: 550 551libdw: Decode new DW_OP_GNU_implicit_pointer operation; 552 new function dwarf_getlocation_implicit_pointer. 553 554libdwfl: New function dwfl_dwarf_line. 555 556addr2line: New flag -F/--flags to print more DWARF line information details. 557 558strip: -g recognizes .gdb_index as a debugging section. 559 560Version 0.148: 561 562libdw: Accept DWARF 4 format: new functions dwarf_next_unit, dwarf_offdie_types. 563 New functions dwarf_lineisa, dwarf_linediscriminator, dwarf_lineop_index. 564 565libdwfl: Fixes in core-file handling, support cores from PIEs. 566 When working from build IDs, don't open a named file that mismatches. 567 568readelf: Handle DWARF 4 formats. 569 570Version 0.147: 571 572libdw: Fixes in CFI handling, best possible handling of bogus CFA ops. 573 574libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r bugs. 575 576Version 0.146: 577 578libdwfl: New function dwfl_core_file_report. 579 580Version 0.145: 581 582Fix build with --disable-dependency-tracking. 583 584Fix build with most recent glibc headers. 585 586libelf: More robust to bogus section headers. 587 588libdw: Fix CFI decoding. 589 590libdwfl: Fix address bias returned by CFI accessors. 591 Fix core file module layout identification. 592 593readelf: Fix CFI decoding. 594 595Version 0.144: 596 597libelf: New function elf_getphdrnum. 598 Now support using more than 65536 program headers in a file. 599 600libdw: New function dwarf_aggregate_size for computing (constant) type 601 sizes, including array_type cases with nontrivial calculation. 602 603readelf: Don't give errors for missing info under -a. 604 Handle Linux "VMCOREINFO" notes under -n. 605 606Version 0.143: 607 608libdw: Various convenience functions for individual attributes now use 609 dwarf_attr_integrate to look up indirect inherited attributes. 610 Location expression handling now supports DW_OP_implicit_value. 611 612libdwfl: Support automatic decompression of files in XZ format, 613 and of Linux kernel images made with bzip2 or LZMA (as well as gzip). 614 615Version 0.142: 616 617libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx alias 618 for elf_getshstrndx and deprecate original names. Sun screwed up 619 their implementation and asked for a solution. 620 621libebl: Add support for STB_GNU_UNIQUE. 622 623elflint: Add support for STB_GNU_UNIQUE. 624 625readelf: Add -N option, speeds up DWARF printing without address->name lookups. 626 627libdw: Add support for decoding DWARF CFI into location description form. 628 Handle some new DWARF 3 expression operations previously omitted. 629 Basic handling of some new encodings slated for DWARF 4. 630 631Version 0.141: 632 633libebl: sparc backend fixes; 634 some more arm backend support 635 636libdwfl: fix dwfl_module_build_id for prelinked DSO case; 637 fixes in core file support; 638 dwfl_module_getsym interface improved for non-address symbols 639 640strip: fix infinite loop on strange inputs with -f 641 642addr2line: take -j/--section=NAME option for binutils compatibility 643 (same effect as '(NAME)0x123' syntax already supported) 644 645Version 0.140: 646 647libelf: Fix regression in creation of section header 648 649libdwfl: Less strict behavior if DWARF reader is just used to display data 650 651Version 0.139: 652 653libcpu: Add Intel SSE4 disassembler support 654 655readelf: Implement call frame information and exception handling dumping. 656 Add -e option. Enable it implicitly for -a. 657 658elflint: Check PT_GNU_EH_FRAME program header entry. 659 660libdwfl: Support automatic gzip/bzip2 decompression of ELF files. 661 662Version 0.138: 663 664Install <elfutils/version.h> header file for applications to use in source 665version compatibility checks. 666 667libebl: backend fixes for i386 TLS relocs; backend support for NT_386_IOPERM 668 669libcpu: disassembler fixes 670 671libdwfl: bug fixes 672 673libelf: bug fixes 674 675nm: bug fixes for handling corrupt input files 676 677Version 0.137: 678 679Minor fixes for unreleased 0.136 release. 680 681Version 0.136: 682 683libdwfl: bug fixes; new "segment" interfaces; 684 all the libdwfl-based tools now support --core=COREFILE option 685 686Version 0.135: 687 688libdwfl: bug fixes 689 690strip: changed handling of ET_REL files wrt symbol tables and relocs 691 692Version 0.134: 693 694elflint: backend improvements for sparc, alpha 695 696libdwfl, libelf: bug fixes 697 698Version 0.133: 699 700readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A) 701 702readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV 703 704libdwfl: bug fixes and optimization in relocation handling 705 706elfcmp: bug fix for non-allocated section handling 707 708ld: implement newer features of binutils linker. 709 710Version 0.132: 711 712libcpu: Implement x86 and x86-64 disassembler. 713libasm: Add interface for disassembler. 714 715all programs: add debugging of branch prediction. 716 717libelf: new function elf_scnshndx. 718 719Version 0.131: 720 721libdw: DW_FORM_ref_addr support; dwarf_formref entry point now deprecated; 722 bug fixes for oddly-formatted DWARF 723 724libdwfl: bug fixes in offline archive support, symbol table handling; 725 apply partial relocations for dwfl_module_address_section on ET_REL 726 727libebl: powerpc backend support for Altivec registers 728 729Version 0.130: 730 731readelf: -p option can take an argument like -x for one section, 732 or no argument (as before) for all SHF_STRINGS sections; 733 new option --archive-index (or -c); 734 improved -n output for core files, on many machines 735 736libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk; 737 new functions gelf_getnote, gelf_getauxv, gelf_update_auxv 738 739readelf, elflint: handle SHT_NOTE sections without requiring phdrs 740 741elflint: stricter checks on debug sections 742 743libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debuginfo, 744 dwfl_module_build_id, dwfl_module_report_build_id; 745 support dynamic symbol tables found via phdrs; 746 dwfl_standard_find_debuginfo now uses build IDs when available 747 748unstrip: new option --list (or -n) 749 750libebl: backend improvements for sparc, alpha, powerpc 751 752Version 0.129: 753 754readelf: new options --hex-dump (or -x), --strings (or -p) 755 756addr2line: new option --symbols (or -S) 757 758Version 0.128: 759 760new program: unstrip 761 762elfcmp: new option --hash-inexact 763 764Version 0.127: 765 766libdw: new function dwarf_getsrcdirs 767 768libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add, 769 dwfl_module_address_section 770 771Version 0.126: 772 773new program: ar 774 775Version 0.125: 776 777elflint: Compare DT_GNU_HASH tests. 778 779move archives into -static RPMs 780 781libelf, elflint: better support for core file handling 782 783Version 0.124: 784 785libebl: sparc backend support for return value location 786 787libebl, libdwfl: backend register name support extended with more info 788 789libelf, libdw: bug fixes for unaligned accesses on machines that care 790 791readelf, elflint: trivial bugs fixed 792 793Version 0.123: 794 795libebl: Backend build fixes, thanks to Stepan Kasal. 796 797libebl: ia64 backend support for register names, return value location 798 799libdwfl: Handle truncated linux kernel module section names. 800 801libdwfl: Look for linux kernel "vmlinux" files with ".debug" suffix. 802 803elflint: Fix checks to permit --hash-style=gnu format. 804 805Version 0.122: 806 807libebl: add function to test for relative relocation 808 809elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks 810 811elflint, readelf: add support for DT_GNU_HASH 812libelf: add elf_gnu_hash 813 814elflint, readelf: add support for 64-bit SysV-style hash tables 815 816libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym. 817 818Version 0.121: 819 820libelf: bug fixes for rewriting existing files when using mmap. 821 822make all installed headers usable in C++ code. 823 824readelf: better output format. 825 826elflint: fix tests of dynamic section content. 827 828ld: Implement --as-needed, --execstack, PT_GNU_STACK. Many small patches. 829 830libdw, libdwfl: handle files without aranges info. 831 832Version 0.120: 833 834Bug fixes. 835 836dwarf.h updated for DWARF 3.0 final specification. 837 838libdwfl: New function dwfl_version. 839 840The license is now GPL for most files. The libelf, libebl, libdw, 841and libdwfl libraries have additional exceptions. Add reference to 842OIN. 843 844Version 0.119: 845 846bug fixes 847 848Version 0.118: 849 850elflint: more tests. 851 852libdwfl: New function dwfl_module_register_names. 853 854libebl: New backend hook for register names. 855 856Version 0.117: 857 858libdwfl: New function dwfl_module_return_value_location. 859 860libebl: Backend improvements for several CPUs. 861 862Version 0.116: 863 864libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu, 865 dwarf_entry_breakpoints. Removed Dwarf_Func type and functions 866 dwarf_func_name, dwarf_func_lowpc, dwarf_func_highpc, 867 dwarf_func_entrypc, dwarf_func_die; dwarf_getfuncs callback now uses 868 Dwarf_Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col 869 replaced by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column; 870 dwarf_func_inline, dwarf_func_inline_instances now take Dwarf_Die. 871 Type Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist, 872 dwarf_addrloclists renamed dwarf_getlocation, dwarf_getlocation_addr. 873 874Version 0.115: 875 876libelf: speed-ups of non-mmap reading. 877 878strings: New program. 879 880Implement --enable-gcov option for configure. 881 882libdw: New function dwarf_getscopes_die. 883 884Version 0.114: 885 886libelf: new function elf_getaroff 887 888libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_instances. 889 890libdwfl: New functions dwfl_report_offline, dwfl_offline_section_address, 891 dwfl_linux_kernel_report_offline. 892 893ranlib: new program 894 895Version 0.113: 896 897elflint: relax a bit. Allow version definitions for defined symbols against 898DSO versions also for symbols in nobits sections. Allow .rodata section 899to have STRINGS and MERGE flag set. 900 901strip: add some more compatibility with binutils. 902 903Version 0.112: 904 905elfcmp: some more relaxation. 906 907elflint: many more tests, especially regarding to symbol versioning. 908 909libelf: Add elfXX_offscn and gelf_offscn. 910 911libasm: asm_begin interface changes. 912 913libebl: Add three new interfaces to directly access machine, class, and 914data encoding information. 915 916objdump: New program. Just the beginning. 917 918Version 0.111: 919 920libdw: now contains all of libdwfl. The latter is not installed anymore. 921 922elfcmp: little usability tweak, name and index of differing section is printed. 923 924Version 0.110: 925 926libelf: fix a number of problems with elf_update 927 928elfcmp: fix a few bugs. Compare gaps. 929 930Fix a few PLT problems and mudflap build issues. 931 932libebl: Don't expose Ebl structure definition in libebl.h. It's now private. 933 934Version 0.109: 935 936libebl: Check for matching modules. 937 938elflint: Check that copy relocations only happen for OBJECT or NOTYPE symbols. 939 940elfcmp: New program. 941 942libdwfl: New library. 943 944Version 0.108: 945 946strip: fix bug introduced in last change 947 948libdw: records returned by dwarf_getsrclines are now sorted by address 949 950Version 0.107: 951 952readelf: improve DWARF output format 953 954strip: support Linux kernel modules 955 956Version 0.106: 957 958libdw: Updated dwarf.h from DWARF3 spec 959libdw: add new functions dwarf_func_entrypc, dwarf_func_file, dwarf_func_line, 960dwarf_func_col, dwarf_getsrc_file 961 962Version 0.105: 963 964addr2line: New program 965 966libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs, 967dwarf_func_*. 968 969findtextrel: use dwarf_addrdie 970 971Version 0.104: 972 973findtextrel: New program. 974 975Version 0.103: 976 977libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug. 978 979Version 0.102: 980 981More Makefile and spec file cleanups. 982 983Version 0.101: 984 985Remove most gettext autoconf handling. 986 987Add more warnings 988 989Fix resulting problems. One actual bug found and fixed this way 990 991Version 0.100: 992 993libebl: Fix x86-64 relocations. 994 995Add -Wunused -Wextra warnings. 996 997Some cleanups resulting from those additional warnings. 998 999Lots of Makefile cleanup. 1000 1001Version 0.99: 1002 1003libelf: add gelf_checksum prototype to <libelf.h> 1004 1005libelf: fix elf*_checksum handling of NOBITS sections 1006 1007Finish mudflap support. 1008 1009Fix three bugs found by mudflap. 1010 1011ld: add as_needed support 1012 1013Version 0.98: 1014 1015readelf: in section to segment mapping, indicate read-only sections. 1016 1017elflint: more relaxation for GNU ld 1018 1019Version 0.97: 1020 1021Fix compiling with gcc 4.0. 1022Some tests called elflint without appropriate LD_LIBRARY_PATH. 1023 1024Version 0.96: 1025 1026Fix support for platforms with lib64. 1027 1028Version 0.95: 1029 1030libebl: add ppc and ppc64 support 1031 1032readelf: fix minimal memory leak. 1033 1034Add support to compile with mudflap. 1035 1036Modernize configure.ac. Move scripts in config subdir. 1037 1038Modernize *-po directory infrastructure. 1039 1040libelf: Add gelf_getlib and gelf_update_lib 1041 1042readelf: print liblist sections 1043 1044Version 0.94: 1045 1046Fix some minimal build problems. 1047 1048Version 0.93: 1049 1050ibdw: tons of new functionality and bug fixes. Several interface changes. 1051 1052readelf: use libdw now. 1053 1054libdwarf: removed completely. 1055 1056Version 0.92: 1057 1058configuration changes. 1059 1060Version 0.91: 1061 1062libdw: fix memory handling. Implement source line handling. 1063nm: use libdw instead of libdwarf. 1064libelf: change to GPL from OSL1 for now. 1065 1066Version 0.90: 1067 1068libebl: Recognize a few more section types and dynamic tags and return 1069appropriate strings. 1070 1071Version 0.89: 1072 1073strip: fix overwriting of symbol table in input file. 1074 1075Version 0.88: 1076 1077libebl: Add some ia64 bits. 1078 1079Version 0.87: 1080 1081Bug fixes for big endian and some 64-bit machines. 1082 1083Version 0.86: 1084 1085strip: fix handling of Alpha and s390x which use incorrect hash bucket sizes. 1086 1087ld: tons of changes, moving towards usability. 1088 1089Version 0.85: 1090 1091strip: update section group symbol index if the associated symbol table changed 1092 1093libelf: fix two problems with generating output not via mmap 1094 1095elflint: add probably 10-15 more tests 1096libebl: add support for some of the new tests 1097 1098ld: gazillion changes 1099 1100Version 0.84: 1101 1102elflint: deal with .rel.dyn section. Fix a problem with rela platforms. 1103Handle PT_GNU_STACK. Change to write messages to stdout. 1104 1105readelf: fix a problem with version information in the symbol table output. 1106 1107strip: update all version symbol table entries 1108 1109Version 0.83: 1110 1111size: fix a warning 1112 1113strip: last changed caused problems when the symbol table is before the 1114relocation section. Fixed. This fix also improved the asymptotic 1115behavior if many symbol table sections are present. 1116 1117Version 0.82: 1118 1119Run strip tests with the correct libelf and libebl. 1120 1121libelf: fix bug in verneed byte order changing code. 1122 1123Version 0.81: 1124 1125strip: Remove unused symbol table entries. This might require updating 1126various other sections. 1127 1128Version 0.80: 1129 1130Fix some libelf problems with ET_REL files. 1131 1132Version 0.79: 1133 1134More warning changes, mainly by jbj. 1135 1136libdw: yet more new code. dwarf_child and dwarf_sibling should now actually 1137work. 1138 1139Version 0.78: 1140 1141libdw: 10+ new functions. get-pubnames2 works now fully. Almost all the 1142code needed for nm is in place. 1143 1144Version 0.77: 1145 1146cleanups to compile cleanly with gcc 3.3 and -Werror. 1147 1148libdw: some new code. 1149 1150Version 0.76: 1151 1152libebl: Fix last patch to recognize relocation sections. We must not 1153use the name. 1154 1155Version 0.75: 1156 1157libebl: .debug_ranges is a DWARF 3 debug section 1158libebl: recognize relocation sections for debug section 1159Patches by Jakub Jelinek. 1160 1161Version 0.74: 1162 1163Cleanups and more SPARC support by Tom Callaway <tcallaway@redhat.com>. 1164 1165Version 0.73: 1166 116764-bit cleanups for the programs. 1168 1169Version 0.72: 1170 1171libelf: and yet more fun with endian transformation at output time. 1172 1173Version 0.71: 1174 1175libelf: more fun with endian transformation at output time. Add test for it. 1176 1177Version 0.70: 1178 1179libelf: Two little bugs left from previous patch to handle section output 1180order. 1181 1182libelf: add unlikely in some more places. 1183 1184Version 0.69: 1185 1186libelf: fix output routines to handle case where section indices and 1187ordre in the output file don't match correctly. Patch by Jakub. 1188 1189elflint: fix test of note section content for 64-bit platforms and files 1190with different byte order. 1191 1192Version 0.68: 1193 1194libebl: Fix SH_ENTSIZE_HASH definition (patch by Jakub) 1195 1196Version 0.67: 1197 1198libelf: correct mistake in error string handling. 1199 1200libelf: Implement ELF_F_PERMISSIVE. 1201strip: Implement --permissive option. 1202 1203Version 0.66: 1204 1205strip: Implement -g option. 1206 1207libelf: Handle broken hash table entry sizes. 1208 1209libebl: New function ebl_debugscn_p. Use it where appropriate. 1210 1211Version 0.65: 1212 1213libelf: Use correct file size for NOBITS section with ELF_F_LAYOUT set 1214 1215Version 0.64: 1216 1217libelf: Make error handling more robust. 1218libelf: Use TLS in error handler if configured with --enable-tls 1219 1220tests: input files are now distributed, not uuencoded in the shell scripts 1221 1222libdw: implement error handling, dwarf_get_pubnames 1223 1224Version 0.63: 1225 1226Build (incomplete) libdw. 1227 1228Version 0.62: 1229 1230Get rid of libtool. 1231 1232Version 0.61: 1233 1234Fix URL of OSL. 1235 1236Version 0.60: 1237 1238libebl: Handle .gnu.warning.* sections correctly. 1239 1240size: Implement -t option. 1241 1242libebl: Add IA-64 support. 1243libebl: Update SH relocations. 1244libebl: Add Alpha support. 1245libebl: Add Arm support. 1246libebl: Add support for all currently known architecture to the loader. 1247 1248Version 0.59: 1249 1250nm: Implement -S option. Correct portable output format. Implement -s option. 1251 1252libelf: Take offset of archive into account in elf_rand. 1253 1254Version 0.58: 1255 1256strip: fix handling of ET_REL files. 1257Add tests for strip. 1258 1259Version 0.57: 1260 1261strip: respect layout of input file 1262 1263Version 0.56: 1264 1265strip: handle files with large number of sections. 1266 1267Version 0.55: 1268 1269libelf: quite a few bug fixes by Alex Larsson. 1270 1271strip: implement -f option to place stripped sections into a separate 1272file. By Alex Larsson. 1273 1274Version 0.54: 1275 1276strip: don't let STT_SECTION symbols keeps sections from being removed 1277 1278elflint: local symbols are allowed in .dynsym 1279elflint: special case .rel.dyn a bit 1280 1281Version 0.53: 1282 1283elflint: check types and flags of special sections defined in gABI 1284 1285libebl: add x86-64 support 1286 1287Version 0.52: 1288 1289Start improvement of debug info handling in nm. 1290 1291libasm: implement asm_adduleb128 and asm_addsleb128 and a test for them 1292 1293Version 0.51: 1294 1295Fix build on 64-bit platforms. 1296 1297Version 0.50: 1298 1299nm: print file/line number also for local symbols 1300 1301use versions scripts not libtool's useless -export-symbols option 1302 1303Version 0.49: 1304 1305Update to autoconf 2.54 and automake 1.7. 1306 1307elflint: check note sections 1308 1309libdwarf: a number of bug fixes 1310 1311readelf: print .debug_info section content 1312 1313dwarf.h: Update from draft 7 1314 1315Version 0.48: 1316 1317libcpu: beginning 1318 1319libelf: new function to read parts of the ELF file 1320 1321libebl: support for note section handling 1322 1323readelf: dump note sections 1324 1325Version 0.47: 1326 1327libelf: fix little new section-handling related bugs in elf_getshstrndx 1328and elf_nextscn 1329 1330elflint: tests for mandatory content of dynamic section 1331 1332libasm: better handling of absolute symbols 1333 1334Version 0.46: 1335 1336libasm: rewrite to store Elf_Scn* instead of indices 1337 1338nm: finish many-section support 1339 1340nm: use debug in to print file/line info in sysv format 1341 1342libdwarf: fix a few bugs in DIE handling 1343 1344Version 0.45: 1345 1346libelf: major rewrite to keep Elf_Scn references valid until elf_end 1347 1348Version 0.44: 1349 1350libasm: Add support for bss, ABS, and COM sections. 1351 1352libebl: ebl_section_name takes now two index arguments to distinguish 1353between special sections and extended sections 1354 1355Version 0.43: 1356 1357General: fix a few problem gcc 3.1 had with the code. 1358 1359libelf: implement {gelf,elf32,elf64}_checksum 1360 1361libelf: optimize DSO: fewer relocations, fewer PLTs 1362 1363add msg_tst test 1364 1365ld: use correct section header string table index; write correct index 1366 1367add dependencies for *.sym files 1368 1369Version 0.42: 1370 1371libelf: add elf_getshnum and elf_getshstrndx 1372 1373libebl: update section type name function 1374 1375elflint: tons of fixes wrt large number of sections. New tests in this area. 1376Same amount of other bug fixes. 1377 1378size, strip, nm: better support for large number of sections. Including 1379using correct section header string table 1380 1381libasm: correctly create data structures for large number of sections 1382 1383new tests asm-tst4 and asm-tst5 to check large number of sections 1384 1385libasm: implement section group generation 1386 1387elflint: more tests on section groups. Improve performance on existing 1388section group tests 1389 1390Version 0.41: 1391 1392ld: add undefined symbols to dynamic symbol table if --export-dynamic is 1393not given 1394 1395ld: fix value of e_entry 1396 1397Version 0.40: 1398 1399elflint: print section names in error messages 1400 1401elflint: mustn't warn about multiple DT_NULL 1402 1403ld: don't emit all symbols if --export-dynamic is not given 1404 1405ld: correct compute symbol address in output file (section index was off by 1) 1406 1407ld: generate correct version info in dynsym without --export-dynamic and 1408in symtab 1409 1410Version 0.39: 1411 1412Fix check of various e_*size entries in elflint. 1413 1414Handle text output in asm_newsym. 1415 1416Finish checks in asm-tst3. 1417 1418Version 0.38: 1419 1420Update to autoconf 2.53, automake 1.6, gettext 0.11+. 1421 1422Introduce *.sym files to restrict export from DSOs. 1423 1424Use attribute_hidden and internal_function to optimize DSO code. 1425 1426Add TLS definitions in elf.h and handle them in readelf. 1427 1428Fix bug in verdef section generation in ld. 1429 1430Add initial libasm code. 1431 1432Version 0.37: 1433 1434Implement better hash size optimization heuristic in ld. It uses a formula 1435taking number of tests into account. 1436 1437Lots of small bug fixes. 1438 1439Improve readelf output format. Respect various sh_link/sh_info values. 1440Correctly print versioning information for symbol tables. 1441 1442Version 0.36: 1443 1444Implement preprocessing of linker script. Recognize -z combreloc. 1445 1446Version 0.35: 1447 1448Implement -z ignore|record for ld. 1449 1450Implement creating of .gnu.version_r and .gnu.version sections. The 1451.gnu.version does not yet contain correct info for defined and versioned 1452symbols (means .gnu.version_d is not yet implemented). 1453 1454Implement gelf_update_* functions to create versioning data. 1455 1456Version 0.34: 1457 1458Add DT_RUNPATH/DT_RPATH entries to dynamic section. Create .plt and 1459.rel.plt sections (completely). Add support for all four PLT related 1460dynamic section entries. Add callback function for PLT creation. 1461 1462More tests in elflint. Add support for very strict checking which for 1463now flags level 2 (deprecated features) usage. 1464 1465Version 0.33: 1466 1467Create dynamic symbol table, dynamic string table, and hash table to ld. 1468 1469Add hash table histogram support to readelf. 1470 1471Version 0.32: 1472 1473more work on elflint 1474 1475ld now creates the dynamic section and references it. Start adding entries 1476to dynamic section. 1477 1478Version 0.31: 1479 1480Start implementing elflint. 1481 1482Version 0.30: 1483 1484Fix handling of NOBITS sections in elf_getdata. 1485 1486Start implementing generation of executables and DSOs in ld. 1487Generation of program header mostly done. Address computation done. 1488Extension of linker script syntax. 1489 1490Various cleanups. 1491 1492Implement section group handling in readelf. 1493 1494Version 0.29: 1495 1496Implement section groups. This involved a lot of code moving. The 1497new code is entirely untested since gas/gcc are currently not able to 1498create section groups. ld works fine on files without section groups. 1499 1500Version 0.28: 1501 1502Fix problem with adding more section in elf_newscn. The section pointers 1503for the data buffers wasn't adjusted. 1504 1505Fix elf_getdata with nonzero second parameter. Correctly handle creation 1506of internal data buffer for machines without unaligned access. 1507 1508Version 0.27: 1509 1510Start adding support to selectively add sections. Includes support for 1511section groups. 1512Add --gc-sections/--no-gc-sections options. 1513Add general section merging support. 1514 1515Fix a bug in section group support in strip. 1516 1517Fix some potential problems with hash value in dynamic hash implementation. 1518 1519Version 0.26: 1520 1521section merging works in ld. 1522 1523Version 0.25: 1524 1525Actually create data structures from version map file and use it to hide 1526symbols in ld. 1527 1528Implement -s -s for ld. 1529 1530Version 0.24: 1531 1532Improve relocation table output in readelf. Avoid some crashes. 1533Finish many section handling in readelf. 1534 1535Finish: finish implementation of ld -r. At least some simple tests pass. 1536 1537Version 0.23: 1538 1539Fix a number of errors in ELF_C_WRITE handling. 1540 1541Almost finished implementation of ld -r. The data sections are all copied. 1542Handling of symbol tables is missing. 1543 1544Version 0.22: 1545 1546Handle DSO and archive input files correctly if -r option is given. 1547 1548Gracefully deal with no phdr in new file in libelf. 1549Fix various small error handling problems. 1550Don't mmap file for output unless the command says so. 1551 1552Add code to create ELF section header table to ld finalize routines. 1553 1554Version 0.21: 1555 1556Fix some problems with recursive handling of archives in libelf. 1557 1558Improve messages printed by nm. 1559 1560Add symbol binding name handling to libebl. Fix section name handling in 1561libebl. 1562 1563readelf and nm use more libebl functions. 1564 1565Handle XINDEX correctly in nm and string. 1566 1567Add first machine ld backend library (i386). 1568Use it. Recognize -r and --shared. Avoid using -lxxx parameters for -r. 1569Create ELF header in output file. Change mode of output file according to 1570output file type. Reorganize callback initialization in ld. 1571 1572Version 0.20: 1573 1574Fix some memory leaks in libelf. 1575 1576Version 0.19: 1577 1578Implement reading version script. Both inside linker scripts and via the 1579--version-script command line parameter. Uses the same code. 1580What remains to be done is to implement a data structure which allows 1581efficient matching against the version names to decide which pattern 1582matches. 1583 1584Beginning of output generation and output writing functions. 1585 1586Version 0.18: 1587 1588Finish implementation for DSO input file handling. Implement rpath, runpath, 1589and LD_LIBRARY_PATH handling. 1590 1591Version 0.17: 1592 1593make handling of e_shnum overflow in libelf standard conforming 1594 1595ld now actually can handle DSOs in linker scripts. Handling of DT_RUNPATH, 1596DT_RPATH, -rpath, -rpath-link still remains to be implemented. 1597 1598fix handling of -L parameters. Make actual use of the default_paths element. 1599 1600make re-definition of symbols in and from DSO compatible with existing linker 1601 1602Version 0.16: 1603 1604more work on assigning input sections to output sections. 1605 1606Add gelf_xlatetof and gelf_xlatetom which were accidentally left out. 1607 1608Fix memory handling of section headers. 1609 1610Version 0.15: 1611 1612Add many-section support to ld. Add various new command line parameters. 1613Allow pagesize to be specified in linker script or on the command line. 1614Collect input sections in list for the output section according to the rules 1615specified in the linker script. 1616 1617Version 0.14: 1618 1619Fix some problems in the internal list handling which had the result 1620that we didn't look for some of the unresolved symbols. 1621 1622Free some memory if we know we don't need it anymore. 1623 1624Optimize the list of unresolved symbols. Throw out symbols which are 1625meanwhile resolved. 1626 1627Version 0.13: 1628 1629Got file reading correct now. The files are all read while parsing 1630the parameters. No creating of data structures to describe the linker 1631command line. The symbol table is built up while reading the files. 1632DSOs are handled now. -( -) handling is optimized. 1633 1634Version 0.12: 1635 1636Linker read linker scripts everywhere. Handles --whole-archive. Recognizes 1637--dynamic and --static. Collects defined and undefined symbols. Recognizes 1638conflicts. 1639 1640libebl now defines functions to call the callbacks. Add generic name handling 1641in these new functions. Remove the code from readelf and call the new 1642functions. 1643 1644Version 0.11: 1645 1646Start of linker. Basic argument parsing, finding of input files, 1647linker script reading. 1648 1649Version 0.10: 1650 1651Implement dwarf_get_fde_n(), dwarf_get_abbrev(), dwarf_get_abbrev_tag(), 1652dwarf_get_abbrev_code(), dwarf_get_abbrev_children_flag(), 1653dwarf_get_abbrev_entry(), dwarf_get_fde_at_pc(), and tests for it. 1654 1655Version 0.9: 1656 1657Implement dwarf_get_fde_list_eh(), dwarf_get_cie_of_fde(), 1658dwarf_get_fde_range(), dwarf_get_cie_info(), dwarf_get_fde_instr_bytes(), 1659and tests for them. 1660 1661Version 0.8: 1662 1663Make handling of binaries in other byte order work and add tests for it. 1664 1665Version 0.7: 1666 1667Implement dwarf_get_aranges(), dwarf_get_arange(), dwarf_get_cu_die_offset(), 1668dwarf_get_arange_info(), and tests for them. 1669 1670Version 0.6: 1671 1672Implement dwarf_get_global(), dwarf_globname(), dwarf_global_die_offset(), 1673dwarf_global_cu_offset(), dwarf_global_name_offsets(), and tests for them 1674 1675Version 0.5: 1676 1677Implemented dwarf_srclines(), dwarf_srcfiles(), dwarf_linebeginstatement(), 1678dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineaddr(), dwarf_lineoff(), 1679dwarf_linesrc(), dwarf_lineblock(), dwarf_lineprologueend(), 1680dwarf_lineepiloguebegin(), and tests for them. 1681 1682Version 0.4: 1683 1684Implemented dwarf_loclist(). 1685 1686Version 0.3: 1687 1688Implemented dwarf_dieoffset(), dwarf_die_CU_offset(), dwarf_diename() and 1689tests. 1690 1691Implemented dwarf_attrlist(), dwarf_hasattr(), dwarf_attr(), dwarf_lowpc(), 1692dwarf_highpc(), dwarf_bytesize(), dwarf_bitsize(), dwarf_bitoffset(), 1693dwarf_srclang(), dwarf_arrayorder(), dwarf_hasform(), dwarf_whatform(), 1694dwarf_whatattr(), dwarf_formref(), dwarf_global_formref(), dwarf_formaddr(), 1695dwarf_formflag(), dwarf_formudata(), dwarf_formsdata(), dwarf_formblock, 1696dwarf_formstring() and tests for them. 1697 1698Version 0.2: 1699 1700Implemented dwarf_offdie()), dwarf_tag(), dwarf_dieoffset(), 1701dwarf_die_CU_offset(), dwarf_diename() and tests for them. 1702 1703Version 0.1: 1704 1705First libdwarf functions work. 1706 1707Version 0.0: 1708 1709libelf and parts of libebl are done. 1710