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