1 Version 0.138: 2 3 Install <elfutils/version.h> header file for applications to use in source 4 version compatibility checks. 5 6 libebl: backend fixes for i386 TLS relocs; backend support for NT_386_IOPERM 7 8 libcpu: disassembler fixes 9 10 libdwfl: bug fixes 11 12 libelf: bug fixes 13 14 nm: bug fixes for handling corrupt input files 15 16 Version 0.137: 17 18 Minor fixes for unreleased 0.136 release. 19 20 Version 0.136: 21 22 libdwfl: bug fixes; new "segment" interfaces; 23 all the libdwfl-based tools now support --core=COREFILE option 24 25 Version 0.135: 26 27 libdwfl: bug fixes 28 29 strip: changed handling of ET_REL files wrt symbol tables and relocs 30 31 Version 0.134: 32 33 elflint: backend improvements for sparc, alpha 34 35 libdwfl, libelf: bug fixes 36 37 Version 0.133: 38 39 readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A) 40 41 readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV 42 43 libdwfl: bug fixes and optimization in relocation handling 44 45 elfcmp: bug fix for non-allocated section handling 46 47 ld: implement newer features of binutils linker. 48 49 Version 0.132: 50 51 libcpu: Implement x86 and x86-64 disassembler. 52 libasm: Add interface for disassembler. 53 54 all programs: add debugging of branch prediction. 55 56 libelf: new function elf_scnshndx. 57 58 Version 0.131: 59 60 libdw: DW_FORM_ref_addr support; dwarf_formref entry point now deprecated; 61 bug fixes for oddly-formatted DWARF 62 63 libdwfl: bug fixes in offline archive support, symbol table handling; 64 apply partial relocations for dwfl_module_address_section on ET_REL 65 66 libebl: powerpc backend support for Altivec registers 67 68 Version 0.130: 69 70 readelf: -p option can take an argument like -x for one section, 71 or no argument (as before) for all SHF_STRINGS sections; 72 new option --archive-index (or -c); 73 improved -n output for core files, on many machines 74 75 libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk; 76 new functions gelf_getnote, gelf_getauxv, gelf_update_auxv 77 78 readelf, elflint: handle SHT_NOTE sections without requiring phdrs 79 80 elflint: stricter checks on debug sections 81 82 libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debuginfo, 83 dwfl_module_build_id, dwfl_module_report_build_id; 84 support dynamic symbol tables found via phdrs; 85 dwfl_standard_find_debuginfo now uses build IDs when available 86 87 unstrip: new option --list (or -n) 88 89 libebl: backend improvements for sparc, alpha, powerpc 90 91 Version 0.129: 92 93 readelf: new options --hex-dump (or -x), --strings (or -p) 94 95 addr2line: new option --symbols (or -S) 96 97 Version 0.128: 98 99 new program: unstrip 100 101 elfcmp: new option --hash-inexact 102 103 Version 0.127: 104 105 libdw: new function dwarf_getsrcdirs 106 107 libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add, 108 dwfl_module_address_section 109 110 Version 0.126: 111 112 new program: ar 113 114 Version 0.125: 115 116 elflint: Compare DT_GNU_HASH tests. 117 118 move archives into -static RPMs 119 120 libelf, elflint: better support for core file handling 121 122 Version 0.124: 123 124 libebl: sparc backend support for return value location 125 126 libebl, libdwfl: backend register name support extended with more info 127 128 libelf, libdw: bug fixes for unaligned accesses on machines that care 129 130 readelf, elflint: trivial bugs fixed 131 132 Version 0.123: 133 134 libebl: Backend build fixes, thanks to Stepan Kasal. 135 136 libebl: ia64 backend support for register names, return value location 137 138 libdwfl: Handle truncated linux kernel module section names. 139 140 libdwfl: Look for linux kernel "vmlinux" files with ".debug" suffix. 141 142 elflint: Fix checks to permit --hash-style=gnu format. 143 144 Version 0.122: 145 146 libebl: add function to test for relative relocation 147 148 elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks 149 150 elflint, readelf: add support for DT_GNU_HASH 151 libelf: add elf_gnu_hash 152 153 elflint, readelf: add support for 64-bit SysV-style hash tables 154 155 libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym. 156 157 Version 0.121: 158 159 libelf: bug fixes for rewriting existing files when using mmap. 160 161 make all installed headers usable in C++ code. 162 163 readelf: better output format. 164 165 elflint: fix tests of dynamic section content. 166 167 ld: Implement --as-needed, --execstack, PT_GNU_STACK. Many small patches. 168 169 libdw, libdwfl: handle files without aranges info. 170 171 Version 0.120: 172 173 Bug fixes. 174 175 dwarf.h updated for DWARF 3.0 final specification. 176 177 libdwfl: New function dwfl_version. 178 179 The license is now GPL for most files. The libelf, libebl, libdw, 180 and libdwfl libraries have additional exceptions. Add reference to 181 OIN. 182 183 Version 0.119: 184 185 bug fixes 186 187 Version 0.118: 188 189 elflint: more tests. 190 191 libdwfl: New function dwfl_module_register_names. 192 193 libebl: New backend hook for register names. 194 195 Version 0.117: 196 197 libdwfl: New function dwfl_module_return_value_location. 198 199 libebl: Backend improvements for several CPUs. 200 201 Version 0.116: 202 203 libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu, 204 dwarf_entry_breakpoints. Removed Dwarf_Func type and functions 205 dwarf_func_name, dwarf_func_lowpc, dwarf_func_highpc, 206 dwarf_func_entrypc, dwarf_func_die; dwarf_getfuncs callback now uses 207 Dwarf_Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col 208 replaced by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column; 209 dwarf_func_inline, dwarf_func_inline_instances now take Dwarf_Die. 210 Type Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist, 211 dwarf_addrloclists renamed dwarf_getlocation, dwarf_getlocation_addr. 212 213 Version 0.115: 214 215 libelf: speed-ups of non-mmap reading. 216 217 strings: New program. 218 219 Implement --enable-gcov option for configure. 220 221 libdw: New function dwarf_getscopes_die. 222 223 Version 0.114: 224 225 libelf: new function elf_getaroff 226 227 libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_instances. 228 229 libdwfl: New functions dwfl_report_offline, dwfl_offline_section_address, 230 dwfl_linux_kernel_report_offline. 231 232 ranlib: new program 233 234 Version 0.113: 235 236 elflint: relax a bit. Allow version definitions for defined symbols against 237 DSO versions also for symbols in nobits sections. Allow .rodata section 238 to have STRINGS and MERGE flag set. 239 240 strip: add some more compatibility with binutils. 241 242 Version 0.112: 243 244 elfcmp: some more relaxation. 245 246 elflint: many more tests, especially regarding to symbol versioning. 247 248 libelf: Add elfXX_offscn and gelf_offscn. 249 250 libasm: asm_begin interface changes. 251 252 libebl: Add three new interfaces to directly access machine, class, and 253 data encoding information. 254 255 objdump: New program. Just the beginning. 256 257 Version 0.111: 258 259 libdw: now contains all of libdwfl. The latter is not installed anymore. 260 261 elfcmp: little usability tweak, name and index of differing section is printed. 262 263 Version 0.110: 264 265 libelf: fix a number of problems with elf_update 266 267 elfcmp: fix a few bugs. Compare gaps. 268 269 Fix a few PLT problems and mudflap build issues. 270 271 libebl: Don't expose Ebl structure definition in libebl.h. It's now private. 272 273 Version 0.109: 274 275 libebl: Check for matching modules. 276 277 elflint: Check that copy relocations only happen for OBJECT or NOTYPE symbols. 278 279 elfcmp: New program. 280 281 libdwfl: New library. 282 283 Version 0.108: 284 285 strip: fix bug introduced in last change 286 287 libdw: records returned by dwarf_getsrclines are now sorted by address 288 289 Version 0.107: 290 291 readelf: improve DWARF output format 292 293 strip: support Linux kernel modules 294 295 Version 0.106: 296 297 libdw: Updated dwarf.h from DWARF3 spec 298 libdw: add new funtions dwarf_func_entrypc, dwarf_func_file, dwarf_func_line, 299 dwarf_func_col, dwarf_getsrc_file 300 301 Version 0.105: 302 303 addr2line: New program 304 305 libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs, 306 dwarf_func_*. 307 308 findtextrel: use dwarf_addrdie 309 310 Version 0.104: 311 312 findtextrel: New program. 313 314 Version 0.103: 315 316 libdw: Fix using libdw.h with gcc < 4 and C++ code. Compiler bug. 317 318 Version 0.102: 319 320 More Makefile and spec file cleanups. 321 322 Version 0.101: 323 324 Remove most gettext autoconf handling. 325 326 Add more warnings 327 328 Fix resulting problems. One actual bug found and fixed this way 329 330 Version 0.100: 331 332 libebl: Fix x86-64 relocations. 333 334 Add -Wunused -Wextra warnings. 335 336 Some cleanups resulting from those additional warnings. 337 338 Lots of Makefile cleanup. 339 340 Version 0.99: 341 342 libelf: add gelf_checksum prototype to <libelf.h> 343 344 libelf: fix elf*_checksum handling of NOBITS sections 345 346 Finish mudflap support. 347 348 Fix three bugs found by mudflap. 349 350 ld: add as_needed support 351 352 Version 0.98: 353 354 readelf: in section to segment mapping, indicate read-only sections. 355 356 elflint: more relaxation for GNU ld 357 358 Version 0.97: 359 360 Fix compiling with gcc 4.0. 361 Some tests called elflint without appropriate LD_LIBRARY_PATH. 362 363 Version 0.96: 364 365 Fix support for platforms with lib64. 366 367 Version 0.95: 368 369 libebl: add ppc and ppc64 support 370 371 readelf: fix minimal memory leak. 372 373 Add support to compile with mudflap. 374 375 Modernize configure.ac. Move scripts in config subdir. 376 377 Modernize *-po directory infrastructure. 378 379 libelf: Add gelf_getlib and gelf_update_lib 380 381 readelf: print liblist sections 382 383 Version 0.94: 384 385 Fix some minimal build problems. 386 387 Version 0.93: 388 389 ibdw: tons of new functionality and bug fixes. Several interface changes. 390 391 readelf: use libdw now. 392 393 libdwarf: removed completely. 394 395 Version 0.92: 396 397 configuration changes. 398 399 Version 0.91: 400 401 libdw: fix memory handling. Implement source line handling. 402 nm: use libdw instead of libdwarf. 403 libelf: change to GPL from OSL1 for now. 404 405 Version 0.90: 406 407 libebl: Recognize a few more section types and dynamic tags and return 408 approriate strings. 409 410 Version 0.89: 411 412 strip: fix overwriting of symbol table in input file. 413 414 Version 0.88: 415 416 libebl: Add some ia64 bits. 417 418 Version 0.87: 419 420 Bug fixes for big endian and some 64-bit machines. 421 422 Version 0.86: 423 424 strip: fix handling of Alpha and s390x which use incorrect hash bucket sizes. 425 426 ld: tons of changes, moving towards usability. 427 428 Version 0.85: 429 430 strip: update section group symbol index if the associated symbol table changed 431 432 libelf: fix two problems with generating output not via mmap 433 434 elflint: add probably 10-15 more tests 435 libebl: add support for some of the new tests 436 437 ld: gazillion changes 438 439 Version 0.84: 440 441 elflint: deal with .rel.dyn section. Fix a problem with rela platforms. 442 Handle PT_GNU_STACK. Change to write messages to stdout. 443 444 readelf: fix a problem with version information in the symbol table output. 445 446 strip: update all version symbol table entries 447 448 Version 0.83: 449 450 size: fix a warning 451 452 strip: last changed caused problems when the symbol table is before the 453 relocation section. Fixed. This fix also improved the asymptotic 454 behavior if many symbol table sections are present. 455 456 Version 0.82: 457 458 Run strip tests with the correct libelf and libebl. 459 460 libelf: fix bug in verneed byte order changing code. 461 462 Version 0.81: 463 464 strip: Remove unused symbol table entries. This might require updating 465 various other sections. 466 467 Version 0.80: 468 469 Fix some libelf problems with ET_REL files. 470 471 Version 0.79: 472 473 More warning changes, mainly by jbj. 474 475 libdw: yet more new code. dwarf_child and dwarf_sibling should now actually 476 work. 477 478 Version 0.78: 479 480 libdw: 10+ new functions. get-pubnames2 works now fully. Almost all the 481 code needed for nm is in place. 482 483 Version 0.77: 484 485 cleanups to compile cleanly with gcc 3.3 and -Werror. 486 487 libdw: some new code. 488 489 Version 0.76: 490 491 libebl: Fix last patch to recognize relocation sections. We must not 492 use the name. 493 494 Version 0.75: 495 496 libebl: .debug_ranges is a DWARF 3 debug section 497 libebl: recognize relocation sections for debug section 498 Patches by Jakub Jelinek. 499 500 Version 0.74: 501 502 Cleanups and more SPARC support by Tom Callaway <tcallaway (a] redhat.com>. 503 504 Version 0.73: 505 506 64-bit cleanups for the programs. 507 508 Version 0.72: 509 510 libelf: and yet more fun with endian tranformation at output time. 511 512 Version 0.71: 513 514 libelf: more fun with endian tranformation at output time. Add test for it. 515 516 Version 0.70: 517 518 libelf: Two little bugs left from previous patch to handle section output 519 order. 520 521 libelf: add unlikely in some more places. 522 523 Version 0.69: 524 525 libelf: fix output routines to handle case where section indeces and 526 ordre in the output file don't match correctly. Patch by Jakub. 527 528 elflint: fix test of note section content for 64-bit platforms and files 529 with different byte order. 530 531 Version 0.68: 532 533 libebl: Fix SH_ENTSIZE_HASH definition (patch by Jakub) 534 535 Version 0.67: 536 537 libelf: correct mistake in error string handling. 538 539 libelf: Implement ELF_F_PERMISSIVE. 540 strip: Implement --permissive option. 541 542 Version 0.66: 543 544 strip: Implement -g option. 545 546 libelf: Handle broken hash table entry sizes. 547 548 libebl: New function ebl_debugscn_p. Use it where appropriate. 549 550 Version 0.65: 551 552 libelf: Use correct file size for NOBITS section with ELF_F_LAYOUT set 553 554 Version 0.64: 555 556 libelf: Make error handling more robust. 557 libelf: Use TLS in error handler if configured with --enable-tls 558 559 tests: input files are now distributed, not uuencoded in the shell scripts 560 561 libdw: implement error handling, dwarf_get_pubnames 562 563 Version 0.63: 564 565 Build (incomplete) libdw. 566 567 Version 0.62: 568 569 Get rid of libtool. 570 571 Version 0.61: 572 573 Fix URL of OSL. 574 575 Version 0.60: 576 577 libebl: Handle .gnu.warning.* sections correctly. 578 579 size: Implement -t option. 580 581 libebl: Add IA-64 support. 582 libebl: Update SH relocations. 583 libebl: Add Alpha support. 584 libebl: Add Arm support. 585 libebl: Add support for all currently known architecture to the loader. 586 587 Version 0.59: 588 589 nm: Implement -S option. Correct portable output format. Implement -s option. 590 591 libelf: Take offset of archive into account in elf_rand. 592 593 Version 0.58: 594 595 strip: fix handling of ET_REL files. 596 Add tests for strip. 597 598 Version 0.57: 599 600 strip: respect layout of input file 601 602 Version 0.56: 603 604 strip: handle files with large number of sections. 605 606 Version 0.55: 607 608 libelf: quite a few bug fixes by Alex Larsson. 609 610 strip: implement -f option to place stripped sections into a separate 611 file. By Alex Larsson. 612 613 Version 0.54: 614 615 strip: don't let STT_SECTION symbols keeps sections from being removed 616 617 elflint: local symbols are allowed in .dynsym 618 elflint: special case .rel.dyn a bit 619 620 Version 0.53: 621 622 elflint: check types and flags of special sections defined in gABI 623 624 libebl: add x86-64 support 625 626 Version 0.52: 627 628 Start improvement of debug info handling in nm. 629 630 libasm: implement asm_adduleb128 and asm_addsleb128 and a test for them 631 632 Version 0.51: 633 634 Fix build on 64-bit platforms. 635 636 Version 0.50: 637 638 nm: print file/line number also for local symbols 639 640 use versions scripts not libtool's useless -export-symbols option 641 642 Version 0.49: 643 644 Update to autoconf 2.54 and automake 1.7. 645 646 elflint: check note sections 647 648 libdwarf: a number of bug fixes 649 650 readelf: print .debug_info section content 651 652 dwarf.h: Update from draft 7 653 654 Version 0.48: 655 656 libcpu: beginning 657 658 libelf: new function to read parts of the ELF file 659 660 libebl: support for note section handling 661 662 readelf: dump note sections 663 664 Version 0.47: 665 666 libelf: fix little new section-handling related bugs in elf_getshstrndx 667 and elf_nextscn 668 669 elflint: tests for mandatory content of dynamic section 670 671 libasm: better handling of absolute symbols 672 673 Version 0.46: 674 675 libasm: rewrite to store Elf_Scn* instead of indices 676 677 nm: finish many-section support 678 679 nm: use debug in to print file/line info in sysv format 680 681 libdwarf: fix a few bugs in DIE handling 682 683 Version 0.45: 684 685 libelf: major rewrite to keep Elf_Scn references valid until elf_end 686 687 Version 0.44: 688 689 libasm: Add support for bss, ABS, and COM sections. 690 691 libebl: ebl_section_name takes now two index arguments to distinguish 692 between special sections and extended sections 693 694 Version 0.43: 695 696 General: fix a few problem gcc 3.1 had with the code. 697 698 libelf: implement {gelf,elf32,elf64}_checksum 699 700 libelf: optimze DSO: fewer relocations, fewer PLTs 701 702 add msg_tst test 703 704 ld: use correct section header string table index; write correct index 705 706 add dependencies for *.sym files 707 708 Version 0.42: 709 710 libelf: add elf_getshnum and elf_getshstrndx 711 712 libebl: update section type name function 713 714 elflint: tons of fixes wrt large number of sections. New tests in this area. 715 Same amount of other bug fixes. 716 717 size, strip, nm: better support for large number of sections. Including 718 using correct section header string table 719 720 libasm: correctly create data structures for large number of sections 721 722 new tests asm-tst4 and asm-tst5 to check large number of sections 723 724 libasm: implement section group generation 725 726 elflint: more tests on section groups. Improve performance on existing 727 section group tests 728 729 Version 0.41: 730 731 ld: add undefined symbols to dynamic symbol table if --export-dynamic is 732 not given 733 734 ld: fix value of e_entry 735 736 Version 0.40: 737 738 elflint: print section names in error messages 739 740 elflint: mustn't warn about multiple DT_NULL 741 742 ld: don't emit all symbols if --export-dynamic is not given 743 744 ld: correct compute symbol address in output file (section index was off by 1) 745 746 ld: generate correct version info in dynsym without --export-dynamic and 747 in symtab 748 749 Version 0.39: 750 751 Fix check of various e_*size entries in elflint. 752 753 Handle text output in asm_newsym. 754 755 Finish checks in asm-tst3. 756 757 Version 0.38: 758 759 Update to autoconf 2.53, automake 1.6, gettext 0.11+. 760 761 Introduce *.sym files to restrict export from DSOs. 762 763 Use attribute_hidden and internal_function to optimize DSO code. 764 765 Add TLS definitions in elf.h and handle them in readelf. 766 767 Fix bug in verdef section generation in ld. 768 769 Add initial libasm code. 770 771 Version 0.37: 772 773 Implement better hash size optimization heuristic in ld. It uses a formula 774 taking number of tests into account. 775 776 Lots of small bug fixes. 777 778 Improve readelf output format. Respect various sh_link/sh_info values. 779 Correctly print versioning information for symbol tables. 780 781 Version 0.36: 782 783 Implement preprocessing of linker script. Recognize -z combreloc. 784 785 Version 0.35: 786 787 Implement -z ignore|record for ld. 788 789 Implement creating of .gnu.version_r and .gnu.version sections. The 790 .gnu.version does not yet contain correct info for defined and versioned 791 symbols (means .gnu.version_d is not yet implemented). 792 793 Implement gelf_update_* functions to create versioning data. 794 795 Version 0.34: 796 797 Add DT_RUNPATH/DT_RPATH entries to dynamic section. Create .plt and 798 .rel.plt sections (completely). Add support for all four PLT related 799 dynamic section entries. Add callback function for PLT creation. 800 801 More tests in elflint. Add support for very strict checking which for 802 now flags level 2 (deprecated features) usage. 803 804 Version 0.33: 805 806 Create dynamic symbol table, dynamic string table, and hash table to ld. 807 808 Add hash table histogram support to readelf. 809 810 Version 0.32: 811 812 more work on elflint 813 814 ld now creates the dynamic section and references it. Start adding entries 815 to dynamic section. 816 817 Version 0.31: 818 819 Start implementing elflint. 820 821 Version 0.30: 822 823 Fix handling of NOBITS sections in elf_getdata. 824 825 Start implementing generation of executables and DSOs in ld. 826 Generation of program header mostly done. Address computation done. 827 Extension of linker script syntax. 828 829 Various cleanups. 830 831 Implement section group handling in readelf. 832 833 Version 0.29: 834 835 Implement section groups. This involved a lot of code moving. The 836 new code is entirely untested since gas/gcc are currently not able to 837 create section groups. ld works fine on files without section groups. 838 839 Version 0.28: 840 841 Fix problem with adding more section in elf_newscn. The section pointers 842 for the data buffers wasn't adjusted. 843 844 Fix elf_getdata with nonzero second parameter. Correctly handle creation 845 of internal data buffer for machines without unaligned access. 846 847 Version 0.27: 848 849 Start adding support to selectively add sections. Includes support for 850 section groups. 851 Add --gc-sections/--no-gc-sections options. 852 Add general section merging support. 853 854 Fix a bug in section group support in strip. 855 856 Fix some potential problems with hash value in dynamic hash implementation. 857 858 Version 0.26: 859 860 section merging works in ld. 861 862 Version 0.25: 863 864 Actually create data structures from version map file and use it to hide 865 symbols in ld. 866 867 Implement -s -s for ld. 868 869 Version 0.24: 870 871 Improve relocation table output in readelf. Avoid some crashes. 872 Finish many section handling in readelf. 873 874 Finish: finish implementation of ld -r. At least some simple tests pass. 875 876 Version 0.23: 877 878 Fix a number of errors in ELF_C_WRITE handling. 879 880 Almost finished implementation of ld -r. The data sections are all copied. 881 Handling of symbol tables is missing. 882 883 Version 0.22: 884 885 Handle DSO and archive input files correctly if -r option is given. 886 887 Gracefully deal with no phdr in new file in libelf. 888 Fix various small error handling problems. 889 Don't mmap file for output unless the command says so. 890 891 Add code to create ELF section header table to ld finalize routines. 892 893 Version 0.21: 894 895 Fix some problems with recursive handling of archives in libelf. 896 897 Improve messages printed by nm. 898 899 Add symbol binding name handling to libebl. Fix section name handling in 900 libebl. 901 902 readelf and nm use more libebl functions. 903 904 Handle XINDEX correctly in nm and string. 905 906 Add first machine ld backend library (i386). 907 Use it. Recognize -r and --shared. Avoid using -lxxx parameters for -r. 908 Create ELF header in output file. Change mode of output file according to 909 output file type. Reorganize callback initialization in ld. 910 911 Version 0.20: 912 913 Fix some memory leaks in libelf. 914 915 Version 0.19: 916 917 Implement reading version script. Both inside linker scripts and via the 918 --version-script command line parameter. Uses the same code. 919 What remains to be done is to implement a data structure which allows 920 efficient matching against the version names to decide which pattern 921 matches. 922 923 Beginning of output generation and output writing functions. 924 925 Version 0.18: 926 927 Finish implementation for DSO input file handling. Implement rpath, runpath, 928 and LD_LIBRARY_PATH handling. 929 930 Version 0.17: 931 932 make handling of e_shnum overflow in libelf standard conforming 933 934 ld now actually can handle DSOs in linker scripts. Handling of DT_RUNPATH, 935 DT_RPATH, -rpath, -rpath-link still remains to be implemented. 936 937 fix handling of -L parameters. Make actual use of the default_paths element. 938 939 make re-definition of symbols in and from DSO compatible with existing linker 940 941 Version 0.16: 942 943 more work on assigning input sections to output sections. 944 945 Add gelf_xlatetof and gelf_xlatetom which were accidently left out. 946 947 Fix memory handling of section headers. 948 949 Version 0.15: 950 951 Add many-section support to ld. Add various new command line parameters. 952 Allow pagesize to be specified in linker script or on the command line. 953 Collect input sections in list for the output section according to the rules 954 specified in the linker script. 955 956 Version 0.14: 957 958 Fix some problems in the internal list handling which had the result 959 that we didn't look for some of the unresolved symbols. 960 961 Free some memory if we know we don't need it anymore. 962 963 Optimize the list of unresolved symbols. Throw out symbols which are 964 meanwhile resolved. 965 966 Version 0.13: 967 968 Got file reading correct now. The files are all read while parsing 969 the parameters. No creating of data structures to describe the linker 970 command line. The symbol table is built up while reading the files. 971 DSOs are handled now. -( -) handling is optimized. 972 973 Version 0.12: 974 975 Linker read linker scripts everywhere. Handles --whole-archive. Recognizes 976 --dynamic and --static. Collects defined and undefined symbols. Recognizes 977 conflicts. 978 979 libebl now defines functions to call the callbacks. Add generic name handling 980 in these new functions. Remove the code from readelf and call the new 981 functions. 982 983 Version 0.11: 984 985 Start of linker. Basic argument parsing, finding of input files, 986 linker script reading. 987 988 Version 0.10: 989 990 Implement dwarf_get_fde_n(), dwarf_get_abbrev(), dwarf_get_abbrev_tag(), 991 dwarf_get_abbrev_code(), dwarf_get_abbrev_children_flag(), 992 dwarf_get_abbrev_entry(), dwarf_get_fde_at_pc(), and tests for it. 993 994 Version 0.9: 995 996 Implement dwarf_get_fde_list_eh(), dwarf_get_cie_of_fde(), 997 dwarf_get_fde_range(), dwarf_get_cie_info(), dwarf_get_fde_instr_bytes(), 998 and tests for them. 999 1000 Version 0.8: 1001 1002 Make handling of binaries in other byte order work and add tests for it. 1003 1004 Version 0.7: 1005 1006 Implement dwarf_get_aranges(), dwarf_get_arange(), dwarf_get_cu_die_offset(), 1007 dwarf_get_arange_info(), and tests for them. 1008 1009 Version 0.6: 1010 1011 Implement dwarf_get_global(), dwarf_globname(), dwarf_global_die_offset(), 1012 dwarf_global_cu_offset(), dwarf_global_name_offsets(), and tests for them 1013 1014 Version 0.5: 1015 1016 Implemented dwarf_srclines(), dwarf_srcfiles(), dwarf_linebeginstatement(), 1017 dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineaddr(), dwarf_lineoff(), 1018 dwarf_linesrc(), dwarf_lineblock(), dwarf_lineprologueend(), 1019 dwarf_lineepiloguebegin(), and tests for them. 1020 1021 Version 0.4: 1022 1023 Implemented dwarf_loclist(). 1024 1025 Version 0.3: 1026 1027 Implemented dwarf_dieoffset(), dwarf_die_CU_offset(), dwarf_diename() and 1028 tests. 1029 1030 Implemented dwarf_attrlist(), dwarf_hasattr(), dwarf_attr(), dwarf_lowpc(), 1031 dwarf_highpc(), dwarf_bytesize(), dwarf_bitsize(), dwarf_bitoffset(), 1032 dwarf_srclang(), dwarf_arrayorder(), dwarf_hasform(), dwarf_whatform(), 1033 dwarf_whatattr(), dwarf_formref(), dwarf_global_formref(), dwarf_formaddr(), 1034 dwarf_formflag(), dwarf_formudata(), dwarf_formsdata(), dwarf_formblock, 1035 dwarf_formstring() and tests for them. 1036 1037 Version 0.2: 1038 1039 Implemented dwarf_offdie()), dwarf_tag(), dwarf_dieoffset(), 1040 dwarf_die_CU_offset(), dwarf_diename() and tests for them. 1041 1042 Version 0.1: 1043 1044 First libdwarf functions work. 1045 1046 Version 0.0: 1047 1048 libelf and parts of libebl are done. 1049