elf*_xlatetom: do not check ELF_T_NHDR has integer number of records
[libelf-compat.git] / NEWS
blob115261e73507605259e3c1b7f7fa013e9d45c0e1
1 Version 0.152
3 Various build and warning nits fixed for newest GCC and Autoconf.
5 libdwfl: Yet another prelink-related fix for another regression.
6          Look for Linux kernel images in files named with compression suffixes.
8 elfcmp: New flag --ignore-build-id to ignore differing build ID bits.
9         New flag -l/--verbose to print all differences.
11 Version 0.151
13 libdwfl: Fix for more prelink cases with separate debug file.
15 strip: New flag --strip-sections to remove section headers entirely.
17 Version 0.150
19 libdw: Fix for handling huge .debug_aranges section.
21 libdwfl: Fix for handling prelinked DSO with separate debug file.
23 findtextrel: Fix diagnostics to work with usual section ordering.
25 libebl: i386 backend fix for multi-register integer return value location.
27 Version 0.149:
29 libdw: Decode new DW_OP_GNU_implicit_pointer operation;
30        new function dwarf_getlocation_implicit_pointer.
32 libdwfl: New function dwfl_dwarf_line.
34 addr2line: New flag -F/--flags to print more DWARF line information details.
36 strip: -g recognizes .gdb_index as a debugging section.
38 Version 0.148:
40 libdw: Accept DWARF 4 format: new functions dwarf_next_unit, dwarf_offdie_types.
41        New functions dwarf_lineisa, dwarf_linediscriminator, dwarf_lineop_index.
43 libdwfl: Fixes in core-file handling, support cores from PIEs.
44          When working from build IDs, don't open a named file that mismatches.
46 readelf: Handle DWARF 4 formats.
48 Version 0.147:
50 libdw: Fixes in CFI handling, best possible handling of bogus CFA ops.
52 libdwfl: Ignore R_*_NONE relocs, works around old (binutils) ld -r bugs.
54 Version 0.146:
56 libdwfl: New function dwfl_core_file_report.
58 Version 0.145:
60 Fix build with --disable-dependency-tracking.
62 Fix build with most recent glibc headers.
64 libelf: More robust to bogus section headers.
66 libdw: Fix CFI decoding.
68 libdwfl: Fix address bias returned by CFI accessors.
69          Fix core file module layout identification.
71 readelf: Fix CFI decoding.
73 Version 0.144:
75 libelf: New function elf_getphdrnum.
76         Now support using more than 65536 program headers in a file.
78 libdw: New function dwarf_aggregate_size for computing (constant) type
79        sizes, including array_type cases with nontrivial calculation.
81 readelf: Don't give errors for missing info under -a.
82          Handle Linux "VMCOREINFO" notes under -n.
84 Version 0.143:
86 libdw: Various convenience functions for individual attributes now use
87        dwarf_attr_integrate to look up indirect inherited attributes.
88        Location expression handling now supports DW_OP_implicit_value.
90 libdwfl: Support automatic decompression of files in XZ format,
91          and of Linux kernel images made with bzip2 or LZMA (as well as gzip).
93 Version 0.142:
95 libelf: Add elf_getshdrnum alias for elf_getshnum and elf_getshdrstrndx alias
96         for elf_getshstrndx and deprecate original names.  Sun screwed up
97         their implementation and asked for a solution.
99 libebl: Add support for STB_GNU_UNIQUE.
101 elflint: Add support for STB_GNU_UNIQUE.
103 readelf: Add -N option, speeds up DWARF printing without address->name lookups.
105 libdw: Add support for decoding DWARF CFI into location description form.
106        Handle some new DWARF 3 expression operations previously omitted.
107        Basic handling of some new encodings slated for DWARF 4.
109 Version 0.141:
111 libebl: sparc backend fixes;
112         some more arm backend support
114 libdwfl: fix dwfl_module_build_id for prelinked DSO case;
115          fixes in core file support;
116          dwfl_module_getsym interface improved for non-address symbols
118 strip: fix infinite loop on strange inputs with -f
120 addr2line: take -j/--section=NAME option for binutils compatibility
121            (same effect as '(NAME)0x123' syntax already supported)
123 Version 0.140:
125 libelf: Fix regression in creation of section header
127 libdwfl: Less strict behavior if DWARF reader ist just used to display data
129 Version 0.139:
131 libcpu: Add Intel SSE4 disassembler support
133 readelf: Implement call frame information and exception handling dumping.
134          Add -e option.  Enable it implicitly for -a.
136 elflint: Check PT_GNU_EH_FRAME program header entry.
138 libdwfl: Support automatic gzip/bzip2 decompression of ELF files.
140 Version 0.138:
142 Install <elfutils/version.h> header file for applications to use in source
143 version compatibility checks.
145 libebl: backend fixes for i386 TLS relocs; backend support for NT_386_IOPERM
147 libcpu: disassembler fixes
149 libdwfl: bug fixes
151 libelf: bug fixes
153 nm: bug fixes for handling corrupt input files
155 Version 0.137:
157 Minor fixes for unreleased 0.136 release.
159 Version 0.136:
161 libdwfl: bug fixes; new "segment" interfaces;
162          all the libdwfl-based tools now support --core=COREFILE option
164 Version 0.135:
166 libdwfl: bug fixes
168 strip: changed handling of ET_REL files wrt symbol tables and relocs
170 Version 0.134:
172 elflint: backend improvements for sparc, alpha
174 libdwfl, libelf: bug fixes
176 Version 0.133:
178 readelf, elflint, libebl: SHT_GNU_ATTRIBUTE section handling (readelf -A)
180 readelf: core note handling for NT_386_TLS, NT_PPC_SPE, Alpha NT_AUXV
182 libdwfl: bug fixes and optimization in relocation handling
184 elfcmp: bug fix for non-allocated section handling
186 ld: implement newer features of binutils linker.
188 Version 0.132:
190 libcpu: Implement x86 and x86-64 disassembler.
191 libasm: Add interface for disassembler.
193 all programs: add debugging of branch prediction.
195 libelf: new function elf_scnshndx.
197 Version 0.131:
199 libdw: DW_FORM_ref_addr support; dwarf_formref entry point now deprecated;
200        bug fixes for oddly-formatted DWARF
202 libdwfl: bug fixes in offline archive support, symbol table handling;
203          apply partial relocations for dwfl_module_address_section on ET_REL
205 libebl: powerpc backend support for Altivec registers
207 Version 0.130:
209 readelf: -p option can take an argument like -x for one section,
210          or no argument (as before) for all SHF_STRINGS sections;
211          new option --archive-index (or -c);
212          improved -n output for core files, on many machines
214 libelf: new function elf_getdata_rawchunk, replaces gelf_rawchunk;
215         new functions gelf_getnote, gelf_getauxv, gelf_update_auxv
217 readelf, elflint: handle SHT_NOTE sections without requiring phdrs
219 elflint: stricter checks on debug sections
221 libdwfl: new functions dwfl_build_id_find_elf, dwfl_build_id_find_debuginfo,
222          dwfl_module_build_id, dwfl_module_report_build_id;
223          support dynamic symbol tables found via phdrs;
224          dwfl_standard_find_debuginfo now uses build IDs when available
226 unstrip: new option --list (or -n)
228 libebl: backend improvements for sparc, alpha, powerpc
230 Version 0.129:
232 readelf: new options --hex-dump (or -x), --strings (or -p)
234 addr2line: new option --symbols (or -S)
236 Version 0.128:
238 new program: unstrip
240 elfcmp: new option --hash-inexact
242 Version 0.127:
244 libdw: new function dwarf_getsrcdirs
246 libdwfl: new functions dwfl_module_addrsym, dwfl_report_begin_add,
247          dwfl_module_address_section
249 Version 0.126:
251 new program: ar
253 Version 0.125:
255 elflint: Compare DT_GNU_HASH tests.
257 move archives into -static RPMs
259 libelf, elflint: better support for core file handling
261 Version 0.124:
263 libebl: sparc backend support for return value location
265 libebl, libdwfl: backend register name support extended with more info
267 libelf, libdw: bug fixes for unaligned accesses on machines that care
269 readelf, elflint: trivial bugs fixed
271 Version 0.123:
273 libebl: Backend build fixes, thanks to Stepan Kasal.
275 libebl: ia64 backend support for register names, return value location
277 libdwfl: Handle truncated linux kernel module section names.
279 libdwfl: Look for linux kernel "vmlinux" files with ".debug" suffix.
281 elflint: Fix checks to permit --hash-style=gnu format.
283 Version 0.122:
285 libebl: add function to test for relative relocation
287 elflint: fix and extend DT_RELCOUNT/DT_RELACOUNT checks
289 elflint, readelf: add support for DT_GNU_HASH
290 libelf: add elf_gnu_hash
292 elflint, readelf: add support for 64-bit SysV-style hash tables
294 libdwfl: new functions dwfl_module_getsymtab, dwfl_module_getsym.
296 Version 0.121:
298 libelf: bug fixes for rewriting existing files when using mmap.
300 make all installed headers usable in C++ code.
302 readelf: better output format.
304 elflint: fix tests of dynamic section content.
306 ld: Implement --as-needed, --execstack, PT_GNU_STACK.  Many small patches.
308 libdw, libdwfl: handle files without aranges info.
310 Version 0.120:
312 Bug fixes.
314 dwarf.h updated for DWARF 3.0 final specification.
316 libdwfl: New function dwfl_version.
318 The license is now GPL for most files.  The libelf, libebl, libdw,
319 and libdwfl libraries have additional exceptions.  Add reference to
320 OIN.
322 Version 0.119:
324 bug fixes
326 Version 0.118:
328 elflint: more tests.
330 libdwfl: New function dwfl_module_register_names.
332 libebl: New backend hook for register names.
334 Version 0.117:
336 libdwfl: New function dwfl_module_return_value_location.
338 libebl: Backend improvements for several CPUs.
340 Version 0.116:
342 libdw: New functions dwarf_ranges, dwarf_entrypc, dwarf_diecu,
343        dwarf_entry_breakpoints.  Removed Dwarf_Func type and functions
344        dwarf_func_name, dwarf_func_lowpc, dwarf_func_highpc,
345        dwarf_func_entrypc, dwarf_func_die; dwarf_getfuncs callback now uses
346        Dwarf_Die, and dwarf_func_file, dwarf_func_line, dwarf_func_col
347        replaced by dwarf_decl_file, dwarf_decl_line, dwarf_decl_column;
348        dwarf_func_inline, dwarf_func_inline_instances now take Dwarf_Die.
349        Type Dwarf_Loc renamed to Dwarf_Op; dwarf_getloclist,
350        dwarf_addrloclists renamed dwarf_getlocation, dwarf_getlocation_addr.
352 Version 0.115:
354 libelf: speed-ups of non-mmap reading.
356 strings: New program.
358 Implement --enable-gcov option for configure.
360 libdw: New function dwarf_getscopes_die.
362 Version 0.114:
364 libelf: new function elf_getaroff
366 libdw: Added dwarf_func_die, dwarf_func_inline, dwarf_func_inline_instances.
368 libdwfl: New functions dwfl_report_offline, dwfl_offline_section_address,
369          dwfl_linux_kernel_report_offline.
371 ranlib: new program
373 Version 0.113:
375 elflint: relax a bit. Allow version definitions for defined symbols against
376 DSO versions also for symbols in nobits sections.  Allow .rodata section
377 to have STRINGS and MERGE flag set.
379 strip: add some more compatibility with binutils.
381 Version 0.112:
383 elfcmp: some more relaxation.
385 elflint: many more tests, especially regarding to symbol versioning.
387 libelf: Add elfXX_offscn and gelf_offscn.
389 libasm: asm_begin interface changes.
391 libebl: Add three new interfaces to directly access machine, class, and
392 data encoding information.
394 objdump: New program.  Just the beginning.
396 Version 0.111:
398 libdw: now contains all of libdwfl.  The latter is not installed anymore.
400 elfcmp: little usability tweak, name and index of differing section is printed.
402 Version 0.110:
404 libelf: fix a number of problems with elf_update
406 elfcmp: fix a few bugs.  Compare gaps.
408 Fix a few PLT problems and mudflap build issues.
410 libebl: Don't expose Ebl structure definition in libebl.h.  It's now private.
412 Version 0.109:
414 libebl: Check for matching modules.
416 elflint: Check that copy relocations only happen for OBJECT or NOTYPE symbols.
418 elfcmp: New program.
420 libdwfl: New library.
422 Version 0.108:
424 strip: fix bug introduced in last change
426 libdw: records returned by dwarf_getsrclines are now sorted by address
428 Version 0.107:
430 readelf: improve DWARF output format
432 strip: support Linux kernel modules
434 Version 0.106:
436 libdw: Updated dwarf.h from DWARF3 spec
437 libdw: add new funtions dwarf_func_entrypc, dwarf_func_file, dwarf_func_line,
438 dwarf_func_col, dwarf_getsrc_file
440 Version 0.105:
442 addr2line: New program
444 libdw: add new functions: dwarf_addrdie, dwarf_macro_*, dwarf_getfuncs,
445 dwarf_func_*.
447 findtextrel: use dwarf_addrdie
449 Version 0.104:
451 findtextrel: New program.
453 Version 0.103:
455 libdw: Fix using libdw.h with gcc < 4 and C++ code.  Compiler bug.
457 Version 0.102:
459 More Makefile and spec file cleanups.
461 Version 0.101:
463 Remove most gettext autoconf handling.
465 Add more warnings
467 Fix resulting problems.  One actual bug found and fixed this way
469 Version 0.100:
471 libebl: Fix x86-64 relocations.
473 Add -Wunused -Wextra warnings.
475 Some cleanups resulting from those additional warnings.
477 Lots of Makefile cleanup.
479 Version 0.99:
481 libelf: add gelf_checksum prototype to <libelf.h>
483 libelf: fix elf*_checksum handling of NOBITS sections
485 Finish mudflap support.
487 Fix three bugs found by mudflap.
489 ld: add as_needed support
491 Version 0.98:
493 readelf: in section to segment mapping, indicate read-only sections.
495 elflint: more relaxation for GNU ld
497 Version 0.97:
499 Fix compiling with gcc 4.0.
500 Some tests called elflint without appropriate LD_LIBRARY_PATH.
502 Version 0.96:
504 Fix support for platforms with lib64.
506 Version 0.95:
508 libebl: add ppc and ppc64 support
510 readelf: fix minimal memory leak.
512 Add support to compile with mudflap.
514 Modernize configure.ac.  Move scripts in config subdir.
516 Modernize *-po directory infrastructure.
518 libelf: Add gelf_getlib and gelf_update_lib
520 readelf: print liblist sections
522 Version 0.94:
524 Fix some minimal build problems.
526 Version 0.93:
528 ibdw: tons of new functionality and bug fixes.  Several interface changes.
530 readelf: use libdw now.
532 libdwarf: removed completely.
534 Version 0.92:
536 configuration changes.
538 Version 0.91:
540 libdw: fix memory handling.  Implement source line handling.
541 nm: use libdw instead of libdwarf.
542 libelf: change to GPL from OSL1 for now.
544 Version 0.90:
546 libebl: Recognize a few more section types and dynamic tags and return
547 approriate strings.
549 Version 0.89:
551 strip: fix overwriting of symbol table in input file.
553 Version 0.88:
555 libebl: Add some ia64 bits.
557 Version 0.87:
559 Bug fixes for big endian and some 64-bit machines.
561 Version 0.86:
563 strip: fix handling of Alpha and s390x which use incorrect hash bucket sizes.
565 ld: tons of changes, moving towards usability.
567 Version 0.85:
569 strip: update section group symbol index if the associated symbol table changed
571 libelf: fix two problems with generating output not via mmap
573 elflint: add probably 10-15 more tests
574 libebl: add support for some of the new tests
576 ld: gazillion changes
578 Version 0.84:
580 elflint: deal with .rel.dyn section.  Fix a problem with rela platforms.
581 Handle PT_GNU_STACK.  Change to write messages to stdout.
583 readelf: fix a problem with version information in the symbol table output.
585 strip: update all version symbol table entries
587 Version 0.83:
589 size: fix a warning
591 strip: last changed caused problems when the symbol table is before the
592 relocation section.  Fixed.  This fix also improved the asymptotic
593 behavior if many symbol table sections are present.
595 Version 0.82:
597 Run strip tests with the correct libelf and libebl.
599 libelf: fix bug in verneed byte order changing code.
601 Version 0.81:
603 strip: Remove unused symbol table entries.  This might require updating
604 various other sections.
606 Version 0.80:
608 Fix some libelf problems with ET_REL files.
610 Version 0.79:
612 More warning changes, mainly by jbj.
614 libdw: yet more new code.  dwarf_child and dwarf_sibling should now actually
615 work.
617 Version 0.78:
619 libdw: 10+ new functions.  get-pubnames2 works now fully.  Almost all the
620 code needed for nm is in place.
622 Version 0.77:
624 cleanups to compile cleanly with gcc 3.3 and -Werror.
626 libdw: some new code.
628 Version 0.76:
630 libebl: Fix last patch to recognize relocation sections.   We must not
631 use the name.
633 Version 0.75:
635 libebl: .debug_ranges is a DWARF 3 debug section
636 libebl: recognize relocation sections for debug section
637 Patches by Jakub Jelinek.
639 Version 0.74:
641 Cleanups and more SPARC support by Tom Callaway <tcallaway@redhat.com>.
643 Version 0.73:
645 64-bit cleanups for the programs.
647 Version 0.72:
649 libelf: and yet more fun with endian tranformation at output time.
651 Version 0.71:
653 libelf: more fun with endian tranformation at output time.  Add test for it.
655 Version 0.70:
657 libelf: Two little bugs left from previous patch to handle section output
658 order.
660 libelf: add unlikely in some more places.
662 Version 0.69:
664 libelf: fix output routines to handle case where section indeces and
665 ordre in the output file don't match correctly.  Patch by Jakub.
667 elflint: fix test of note section content for 64-bit platforms and files
668 with different byte order.
670 Version 0.68:
672 libebl: Fix SH_ENTSIZE_HASH definition (patch by Jakub)
674 Version 0.67:
676 libelf: correct mistake in error string handling.
678 libelf: Implement ELF_F_PERMISSIVE.
679 strip: Implement --permissive option.
681 Version 0.66:
683 strip: Implement -g option.
685 libelf: Handle broken hash table entry sizes.
687 libebl: New function ebl_debugscn_p.  Use it where appropriate.
689 Version 0.65:
691 libelf: Use correct file size for NOBITS section with ELF_F_LAYOUT set
693 Version 0.64:
695 libelf: Make error handling more robust.
696 libelf: Use TLS in error handler if configured with --enable-tls
698 tests: input files are now distributed, not uuencoded in the shell scripts
700 libdw: implement error handling, dwarf_get_pubnames
702 Version 0.63:
704 Build (incomplete) libdw.
706 Version 0.62:
708 Get rid of libtool.
710 Version 0.61:
712 Fix URL of OSL.
714 Version 0.60:
716 libebl: Handle .gnu.warning.* sections correctly.
718 size: Implement -t option.
720 libebl: Add IA-64 support.
721 libebl: Update SH relocations.
722 libebl: Add Alpha support.
723 libebl: Add Arm support.
724 libebl: Add support for all currently known architecture to the loader.
726 Version 0.59:
728 nm: Implement -S option.  Correct portable output format.  Implement -s option.
730 libelf: Take offset of archive into account in elf_rand.
732 Version 0.58:
734 strip: fix handling of ET_REL files.
735 Add tests for strip.
737 Version 0.57:
739 strip: respect layout of input file
741 Version 0.56:
743 strip: handle files with large number of sections.
745 Version 0.55:
747 libelf: quite a few bug fixes by Alex Larsson.
749 strip: implement -f option to place stripped sections into a separate
750 file.  By Alex Larsson.
752 Version 0.54:
754 strip: don't let STT_SECTION symbols keeps sections from being removed
756 elflint: local symbols are allowed in .dynsym
757 elflint: special case .rel.dyn a bit
759 Version 0.53:
761 elflint: check types and flags of special sections defined in gABI
763 libebl: add x86-64 support
765 Version 0.52:
767 Start improvement of debug info handling in nm.
769 libasm: implement asm_adduleb128 and asm_addsleb128 and a test for them
771 Version 0.51:
773 Fix build on 64-bit platforms.
775 Version 0.50:
777 nm: print file/line number also for local symbols
779 use versions scripts not libtool's useless -export-symbols option
781 Version 0.49:
783 Update to autoconf 2.54 and automake 1.7.
785 elflint: check note sections
787 libdwarf: a number of bug fixes
789 readelf: print .debug_info section content
791 dwarf.h: Update from draft 7
793 Version 0.48:
795 libcpu: beginning
797 libelf: new function to read parts of the ELF file
799 libebl: support for note section handling
801 readelf: dump note sections
803 Version 0.47:
805 libelf: fix little new section-handling related bugs in elf_getshstrndx
806 and elf_nextscn
808 elflint: tests for mandatory content of dynamic section
810 libasm: better handling of absolute symbols
812 Version 0.46:
814 libasm: rewrite to store Elf_Scn* instead of indices
816 nm: finish many-section support
818 nm: use debug in to print file/line info in sysv format
820 libdwarf: fix a few bugs in DIE handling
822 Version 0.45:
824 libelf: major rewrite to keep Elf_Scn references valid until elf_end
826 Version 0.44:
828 libasm: Add support for bss, ABS, and COM sections.
830 libebl: ebl_section_name takes now two index arguments to distinguish
831 between special sections and extended sections
833 Version 0.43:
835 General: fix a few problem gcc 3.1 had with the code.
837 libelf: implement {gelf,elf32,elf64}_checksum
839 libelf: optimze DSO: fewer relocations, fewer PLTs
841 add msg_tst test
843 ld: use correct section header string table index; write correct index
845 add dependencies for *.sym files
847 Version 0.42:
849 libelf: add elf_getshnum and elf_getshstrndx
851 libebl: update section type name function
853 elflint: tons of fixes wrt large number of sections.  New tests in this area.
854 Same amount of other bug fixes.
856 size, strip, nm: better support for large number of sections.  Including
857 using correct section header string table
859 libasm: correctly create data structures for large number of sections
861 new tests asm-tst4 and asm-tst5 to check large number of sections
863 libasm: implement section group generation
865 elflint: more tests on section groups.  Improve performance on existing
866 section group tests
868 Version 0.41:
870 ld: add undefined symbols to dynamic symbol table if --export-dynamic is
871 not given
873 ld: fix value of e_entry
875 Version 0.40:
877 elflint: print section names in error messages
879 elflint: mustn't warn about multiple DT_NULL
881 ld: don't emit all symbols if --export-dynamic is not given
883 ld: correct compute symbol address in output file (section index was off by 1)
885 ld: generate correct version info in dynsym without --export-dynamic and
886 in symtab
888 Version 0.39:
890 Fix check of various e_*size entries in elflint.
892 Handle text output in asm_newsym.
894 Finish checks in asm-tst3.
896 Version 0.38:
898 Update to autoconf 2.53, automake 1.6, gettext 0.11+.
900 Introduce *.sym files to restrict export from DSOs.
902 Use attribute_hidden and internal_function to optimize DSO code.
904 Add TLS definitions in elf.h and handle them in readelf.
906 Fix bug in verdef section generation in ld.
908 Add initial libasm code.
910 Version 0.37:
912 Implement better hash size optimization heuristic in ld.  It uses a formula
913 taking number of tests into account.
915 Lots of small bug fixes.
917 Improve readelf output format.  Respect various sh_link/sh_info values.
918 Correctly print versioning information for symbol tables.
920 Version 0.36:
922 Implement preprocessing of linker script.  Recognize -z combreloc.
924 Version 0.35:
926 Implement -z ignore|record for ld.
928 Implement creating of .gnu.version_r and .gnu.version sections.  The
929 .gnu.version does not yet contain correct info for defined and versioned
930 symbols (means .gnu.version_d is not yet implemented).
932 Implement gelf_update_* functions to create versioning data.
934 Version 0.34:
936 Add DT_RUNPATH/DT_RPATH entries to dynamic section.  Create .plt and
937 .rel.plt sections (completely).  Add support for all four PLT related
938 dynamic section entries.  Add callback function for PLT creation.
940 More tests in elflint.  Add support for very strict checking which for
941 now flags level 2 (deprecated features) usage.
943 Version 0.33:
945 Create dynamic symbol table, dynamic string table, and hash table to ld.
947 Add hash table histogram support to readelf.
949 Version 0.32:
951 more work on elflint
953 ld now creates the dynamic section and references it.  Start adding entries
954 to dynamic section.
956 Version 0.31:
958 Start implementing elflint.
960 Version 0.30:
962 Fix handling of NOBITS sections in elf_getdata.
964 Start implementing generation of executables and DSOs in ld.
965 Generation of program header mostly done.  Address computation done.
966 Extension of linker script syntax.
968 Various cleanups.
970 Implement section group handling in readelf.
972 Version 0.29:
974 Implement section groups.  This involved a lot of code moving.  The
975 new code is entirely untested since gas/gcc are currently not able to
976 create section groups.  ld works fine on files without section groups.
978 Version 0.28:
980 Fix problem with adding more section in elf_newscn.  The section pointers
981 for the data buffers wasn't adjusted.
983 Fix elf_getdata with nonzero second parameter.  Correctly handle creation
984 of internal data buffer for machines without unaligned access.
986 Version 0.27:
988 Start adding support to selectively add sections.  Includes support for
989 section groups.
990 Add --gc-sections/--no-gc-sections options.
991 Add general section merging support.
993 Fix a bug in section group support in strip.
995 Fix some potential problems with hash value in dynamic hash implementation.
997 Version 0.26:
999 section merging works in ld.
1001 Version 0.25:
1003 Actually create data structures from version map file and use it to hide
1004 symbols in ld.
1006 Implement -s -s for ld.
1008 Version 0.24:
1010 Improve relocation table output in readelf.  Avoid some crashes.
1011 Finish many section handling in readelf.
1013 Finish: finish implementation of ld -r.  At least some simple tests pass.
1015 Version 0.23:
1017 Fix a number of errors in ELF_C_WRITE handling.
1019 Almost finished implementation of ld -r.  The data sections are all copied.
1020 Handling of symbol tables is missing.
1022 Version 0.22:
1024 Handle DSO and archive input files correctly if -r option is given.
1026 Gracefully deal with no phdr in new file in libelf.
1027 Fix various small error handling problems.
1028 Don't mmap file for output unless the command says so.
1030 Add code to create ELF section header table to ld finalize routines.
1032 Version 0.21:
1034 Fix some problems with recursive handling of archives in libelf.
1036 Improve messages printed by nm.
1038 Add symbol binding name handling to libebl.  Fix section name handling in
1039 libebl.
1041 readelf and nm use more libebl functions.
1043 Handle XINDEX correctly in nm and string.
1045 Add first machine ld backend library (i386).
1046 Use it.  Recognize -r and --shared.  Avoid using -lxxx parameters for -r.
1047 Create ELF header in output file.  Change mode of output file according to
1048 output file type.  Reorganize callback initialization in ld.
1050 Version 0.20:
1052 Fix some memory leaks in libelf.
1054 Version 0.19:
1056 Implement reading version script.  Both inside linker scripts and via the
1057 --version-script command line parameter.  Uses the same code.
1058 What remains to be done is to implement a data structure which allows
1059 efficient matching against the version names to decide which pattern
1060 matches.
1062 Beginning of output generation and output writing functions.
1064 Version 0.18:
1066 Finish implementation for DSO input file handling.  Implement rpath, runpath,
1067 and LD_LIBRARY_PATH handling.
1069 Version 0.17:
1071 make handling of e_shnum overflow in libelf standard conforming
1073 ld now actually can handle DSOs in linker scripts.  Handling of DT_RUNPATH,
1074 DT_RPATH, -rpath, -rpath-link still remains to be implemented.
1076 fix handling of -L parameters.  Make actual use of the default_paths element.
1078 make re-definition of symbols in and from DSO compatible with existing linker
1080 Version 0.16:
1082 more work on assigning input sections to output sections.
1084 Add gelf_xlatetof and gelf_xlatetom which were accidently left out.
1086 Fix memory handling of section headers.
1088 Version 0.15:
1090 Add many-section support to ld.  Add various new command line parameters.
1091 Allow pagesize to be specified in linker script or on the command line.
1092 Collect input sections in list for the output section according to the rules
1093 specified in the linker script.
1095 Version 0.14:
1097 Fix some problems in the internal list handling which had the result
1098 that we didn't look for some of the unresolved symbols.
1100 Free some memory if we know we don't need it anymore.
1102 Optimize the list of unresolved symbols.  Throw out symbols which are
1103 meanwhile resolved.
1105 Version 0.13:
1107 Got file reading correct now.  The files are all read while parsing
1108 the parameters.  No creating of data structures to describe the linker
1109 command line.  The symbol table is built up while reading the files.
1110 DSOs are handled now.  -( -) handling is optimized.
1112 Version 0.12:
1114 Linker read linker scripts everywhere.  Handles --whole-archive.  Recognizes
1115 --dynamic and --static.  Collects defined and undefined symbols.  Recognizes
1116 conflicts.
1118 libebl now defines functions to call the callbacks.  Add generic name handling
1119 in these new functions.  Remove the code from readelf and call the new
1120 functions.
1122 Version 0.11:
1124 Start of linker.  Basic argument parsing, finding of input files,
1125 linker script reading.
1127 Version 0.10:
1129 Implement dwarf_get_fde_n(), dwarf_get_abbrev(), dwarf_get_abbrev_tag(),
1130 dwarf_get_abbrev_code(), dwarf_get_abbrev_children_flag(),
1131 dwarf_get_abbrev_entry(), dwarf_get_fde_at_pc(), and tests for it.
1133 Version 0.9:
1135 Implement dwarf_get_fde_list_eh(), dwarf_get_cie_of_fde(),
1136 dwarf_get_fde_range(), dwarf_get_cie_info(), dwarf_get_fde_instr_bytes(),
1137 and tests for them.
1139 Version 0.8:
1141 Make handling of binaries in other byte order work and add tests for it.
1143 Version 0.7:
1145 Implement dwarf_get_aranges(), dwarf_get_arange(), dwarf_get_cu_die_offset(),
1146 dwarf_get_arange_info(), and tests for them.
1148 Version 0.6:
1150 Implement dwarf_get_global(), dwarf_globname(), dwarf_global_die_offset(),
1151 dwarf_global_cu_offset(), dwarf_global_name_offsets(), and tests for them
1153 Version 0.5:
1155 Implemented dwarf_srclines(), dwarf_srcfiles(), dwarf_linebeginstatement(),
1156 dwarf_lineendsequence(), dwarf_lineno(), dwarf_lineaddr(), dwarf_lineoff(),
1157 dwarf_linesrc(), dwarf_lineblock(), dwarf_lineprologueend(),
1158 dwarf_lineepiloguebegin(), and tests for them.
1160 Version 0.4:
1162 Implemented dwarf_loclist().
1164 Version 0.3:
1166 Implemented dwarf_dieoffset(), dwarf_die_CU_offset(), dwarf_diename() and
1167 tests.
1169 Implemented dwarf_attrlist(), dwarf_hasattr(), dwarf_attr(), dwarf_lowpc(),
1170 dwarf_highpc(), dwarf_bytesize(), dwarf_bitsize(), dwarf_bitoffset(),
1171 dwarf_srclang(), dwarf_arrayorder(), dwarf_hasform(), dwarf_whatform(),
1172 dwarf_whatattr(), dwarf_formref(), dwarf_global_formref(), dwarf_formaddr(),
1173 dwarf_formflag(), dwarf_formudata(), dwarf_formsdata(), dwarf_formblock,
1174 dwarf_formstring() and tests for them.
1176 Version 0.2:
1178 Implemented dwarf_offdie()), dwarf_tag(), dwarf_dieoffset(),
1179 dwarf_die_CU_offset(), dwarf_diename() and tests for them.
1181 Version 0.1:
1183 First libdwarf functions work.
1185 Version 0.0:
1187 libelf and parts of libebl are done.