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